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년 전327회 조회
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년 전

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

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

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

관련 콘텐츠