AWS ElasticBeanstalk Windows Instance Time Sync in a private VPC

0

Hi we are deploying a Dotnet windows web application on the ElasticBeanstalk in a private VPC without internet. Recently we noticed that the time is not correct on the EBS windows instance and it caused our software bugs.

We understand that we can "Keeping Time With Amazon Time Sync Service" without internet by run some windows powershell scripts.

Reference is here: https://aws.amazon.com/blogs/aws/keeping-time-with-amazon-time-sync-service

My question is that how to run this script when we deploy the application to the ElasticBeanstalk? Could someone please provide a sample configuration file or steps to achieve this?

By the way, I have raised the same AWS support ticket 5 days ago but nobody is assigned to the ticket so I have to ask here.

Thank you.

已提问 2 年前331 查看次数
1 回答
0

Hello,

Apologies for delay with response on the support ticket

From August 2018 release, All Amazon Windows AMIs uses the Amazon Time Sync Service by default.

This time service is accessible from any EC2 Region at the 169.254.169.123 endpoint.Your instance does not require access to the internet, and you do not have to configure your security group rules or your network ACL rules to allow access. Please refer to documentation[1] to know more.

If your creating the Elastic Beanstalk environments with the latest AMIs please note that there is no need of adding config file as listed in the document [2]because the latest AMIs use Amazon Time Sync Service by default.

Resources: [1] https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/windows-set-time.html#default-ntp-settings [2] https://aws.amazon.com/blogs/aws/keeping-time-with-amazon-time-sync-service

AWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则