How to Set Up NTP on Ubuntu in AWS
Configure NTP in timesyncd.conf
echo "NTP=169.254.169.123" | sudo tee -a /etc/systemd/timesyncd.conf
cat /etc/systemd/timesyncd.conf
Enable the timesyncd.service
sudo systemctl unmask systemd-timesyncd.service
sudo apt install systemd-timesyncd ...
ujangmumu.com1 min read