What is Amazon Time Sync public NTP?
Tags: aws, beginners, tutorial, productivity
Published: 2022-11-22 14:15:57

---
title: What is Amazon Time Sync public NTP?
published: true
date: 2022-11-12 15:29:54 UTC
tags: aws,beginners,tutorial,productivity
canonical_url: https://dev.to/aws-builders/what-is-amazon-time-sync-public-ntp-1omc
---

# Introduction

![djim-loic-ft0-Xu4nTvA-unsplash.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1668265299625/J92h1P_Iy.jpg)_Photo by [Djim Loic](https://unsplash.com/@loic?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/time?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)_

A consistent and accurate time reference is critical to many server operations and processes. Most system logs contain timestamps that can be used to determine when the problem occurred and the order in which the events occurred.

# What will happen if time is not set correctly?

![luke-chesser-rCOWMC8qf8A-unsplash (1).jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1668265386604/UQEqExf_E.jpg)_Photo by [Luke Chesser](https://unsplash.com/@lukechesser?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/time?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)_

When your organization makes a request using the AWS CLI or AWS SDKs, these tools sign the request on your behalf. If the instance date and time are not set correctly, the signature date may not match the request date, and AWS will reject the request.

# What does Amazon offer?

![maja-petric-vGQ49l9I4EE-unsplash.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1668265513355/uIbDgJSmW.jpg)

> Amazon offers **Amazon Time Sync** , which can be accessed from any EC2 instance and can also be used by other AWS services.

The service provides accurate measurements of the current time according to the global Universal Coordinated Time standard, coordinated via the Network Time Protocol using a set of satellite links and atomic reference clocks in each AWS region. Amazon Time Sync automatically relaxes the leap seconds added to UTC.

# What is Amazon Time Sync?

Amazon Time Sync is available via NTP at the IPv4 address `169.254.169.123` or `fd00:ec2::123` IPv6 for all instances running in the VPC.

# Amazon Time Sync Features

- Your instance does not require Internet access, and you do not need to configure security group rules or network ACLs to allow access. 
- Amazon Linux 2, newer versions of Amazon Linux AMIs, and AWS Windows AMIs sync with Amazon Time Sync by default.

# What if Amazon Time Sync link-local service have an issue?

You can use the Amazon Time Sync public NTP pool at `time.aws.com` to back up the local Amazon Time Sync link service and connect resources outside of Amazon EC2 to the Amazon Time Sync service.

# What is Amazon Time Sync public NTP?

1. The Amazon Time Sync public NTP automatically mitigates leap seconds added to the UTC service, just like the Amazon Time Sync service. 
2. The public NTP Amazon Time Sync Service is supported by satellites in AWS and a set of atomic reference clocks around the world connected to each AWS region.

# New Update from AWS!!

> Amazon Time Sync is now available online. Built on Amazon's network infrastructure, Amazon Time Sync uses a global set of redundant atomic and satellite-linked reference clocks in AWS regions to provide current time measurements according to the Global Coordinated Universal Time standard.

- Amazon Time Sync was previously available through EC2 instances.
- In addition to connecting directly to EC2 instances, you can now access Amazon Time Sync from time.aws.com as a public NTP service. 
- This means that devices and infrastructure outside of AWS, such as IoT devices and on-premises infrastructure, can synchronize with the same high-availability time resources previously only available in AWS data centers.

# Availability

Amazon Time Sync NTP pools are available globally in all public AWS regions, AWS GovCloud (US) regions, and over the Internet.

# How to configure Amazon Time Sync Public NTP for Microsoft Windows

- Open Control Panel. 

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1668262962115/jpVHxvyNM.png)

- Select the Date and Time icon.

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1668263045093/8ppQ0yMHM.png)

- Select the Internet Time.

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1668263089425/DoO4aHNoh.png)

- Choose Change settings.

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1668263140910/-9Wj1FNFZ.png)

- Select the check box to synchronize with an Internet time server. Next to Server, enter time.aws.com.

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1668263212917/0hKBMUfPS.png)

- Select Update Now.

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1668263248842/QfSjCktNj.png)

**NOTE**

Cannot be used if the computer is part of a domain. In this case, it synchronizes the time with the domain controller. Controllers can be configured to use Amazon Time Sync Public NTP.

Kindly watch the below video to know about the Amazon Time Sync public NTP.

<iframe width="760" height="415" src="https://www.youtube.com/embed/0nzykuTni-g"></iframe>
# Conclusion

Successfully configured the Amazon Time Sync Public NTP for Microsoft Windows.

# Reference

1. [Amazon Time Sync is now available over the internet as a public NTP service](https://aws.amazon.com/about-aws/whats-new/2022/11/amazon-time-sync-internet-public-ntp-service/) 
2. [Set the time for a Windows instance](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/windows-set-time.html)
3. [Set the time for your Linux instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html#configure-time-sync)