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?
Indeed, but I'm using Ubuntu, so I believe this line in the documentation shouldn't apply in this scenario.