Is AWS NTP Default in Ubuntu?

0

I was creating some Ubuntu machines in EC2 and saw that some Ubuntu versions have AWS NTP Server set for Network Time Protocol (NTP):

Machine 1:

ubuntu@machine1:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.3 LTS
Release:	20.04
Codename:	focal
ubuntu@machine1:~$ systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
     [...]
     Status: "Initial synchronization to time server 169.254.169.123:123 (169.254.169.123)."

Machine 2:

ubuntu@machine2:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.6 LTS
Release:	18.04
Codename:	bionic
ubuntu@machine2:~$ systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
  [...]
   Status: "Synchronized to time server 169.254.169.123:123 (169.254.169.123)."

But in a Ubuntu 20.04.2 LTS I got the Ubuntu NTP Pool:

Machine 3:

ubuntu@machine3:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.2 LTS
Release:	20.04
Codename:	focal
ubuntu@machine3:~$ systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
     [...]
     Status: "Initial synchronization to time server 91.189.89.198:123 (ntp.ubuntu.com)."

Has AWS made default the usage of AWS NTP server (169.254.169.123) on ubuntu machines in EC2?

asked 2 years ago1586 views
1 Answer
0

In the documentation it says: The latest versions of Amazon Linux 2 and Amazon Linux AMIs synchronize with the Amazon Time Sync Service by default. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html

answered 2 years ago
  • Indeed, but I'm using Ubuntu, so I believe this line in the documentation shouldn't apply in this scenario.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions