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?

질문됨 2년 전1605회 조회
1개 답변
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

답변함 2년 전
  • Indeed, but I'm using Ubuntu, so I believe this line in the documentation shouldn't apply in this scenario.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠