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?

gefragt vor 2 Jahren1602 Aufrufe
1 Antwort
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

beantwortet vor 2 Jahren
  • Indeed, but I'm using Ubuntu, so I believe this line in the documentation shouldn't apply in this scenario.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen