Windows Instance cannot keep time correctly.

0

Hello,

I have an application that is timing critical, but for some reason, the Windows Server (t3.small) that I started, is having trouble keeping basic time.

I have synced the OS with internet time multiple times. Immediately after syncing, the time (accurate to the seconds) would be correct. But later on in the day, when I check back, it would always be off again. Most of the time, being 3 to 5 seconds faster than the actual present time (There was one instance it was actually slower by around 3 seconds, but most of the time, it would be faster).

I have re-synced with internet time multiple times now, and it has not solved the problem. I have scheduled tasks that are timing critical, and must resolve this issue.

Thank you.

Xres
질문됨 4년 전558회 조회
4개 답변
0
수락된 답변

AWS recommend that configure your instance to use the Amazon Time Sync Service also according to article,Windows AMIs use the Amazon Time Sync Service by default since 2018.

답변함 4년 전
0

You can use Amazon Time Sync Service. Natively accessible from all ec2 instances.

https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/windows-set-time.html

답변함 4년 전
0

I will look into it, but why is this necessary? Is there something that is preventing it from keeping proper time?

Would this help the system time being kept accurate? Because the scheduled tasks are triggered by window's internal scheduler, which is based on system time.

Xres
답변함 4년 전
0

It has been 2 days since I implemented Amazon Time Sync, and so far, the system is keeping much better time. However, occasionally it would still appear to be off by 1 second, but it this is a major improvement over what it was (3 to 5 seconds).

All new AMIs should already use Amazon Time Sync by default, but my instance was built from a saved image I had from 2 years ago, this is probably the reason why my system does not have it set as default.

I will observe the system for an additional couple of days, and if things stay within parameters, I will mark your response as the correct answer.

Thank you.

Xres
답변함 4년 전

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

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

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

관련 콘텐츠