You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
ECS instance local time synchronization
Time synchronization service overview
Copy page
Download PDF
Time synchronization service overview
If the system time of your ECS instance is incorrect, or if you need to keep the time consistent across multiple instances in different regions, you can configure the time synchronization service for them.​
Applicable scenarios​
  • Troubleshooting​
  • When an ECS instance fails, the timestamp in the log is critical for troubleshooting. If the server time is inaccurate, it will increase the difficulty of fault diagnosis and may even prolong the system downtime caused by the fault.​
  • Transaction processing​
  • For an ECS instance used in payment and transaction scenarios, any time deviation is highly likely to alter the transaction order, trigger transaction disputes, and result in economic losses.​
  • Scheduled tasks​
  • If time synchronization of an ECS instance is exceptional, scheduled tasks deployed on the instance will not be triggered and executed at the preset accurate time. In the case of a time deviation, some tasks may start earlier or later than expected, disrupting the overall business workflow.​
Determine whether the instance time is synchronized​
If you suspect that the instance time is not synchronized with the actual time, you can refer to the following methods for assessment:​
  • Compare system time and authoritative time source​
You can obtain the accurate time from professional time reference channels, such as authoritative websites, TV broadcasts, and mobile devices, and compare it with the system time of the instance. If the system time of the instance is significantly different from the accurate time you obtain, the system time of the instance may not be synchronized.​
  • Monitor scheduled tasks in instances​
You can monitor the execution status of scheduled tasks specified in the instance. If you find that scheduled tasks are not executed at the expected time, the system time of the instance may not be synchronized.​
  • Check Tracking logs​
In distributed systems, Tracking logs are crucial for ensuring the correct execution of transactions and the consistency of data. Tracking logs record the processing order and status changes of transactions across different nodes. When link confusion such as record order reversal or exceptional timestamps occurs, the system time of the instance may not be synchronized.​
Time synchronization service​
Generally, you can use the NTP service or the Chrony tool to implement the time synchronization service for the instance.​
​
Tool​
Description​
Applicable scenario​
Operation guide​
NTP service​
The NTP service is an implementation of NTP. The NTP server retrieves accurate time from an authoritative time source, while the client sends a time synchronization request to the server. The client then calibrates its own clock incrementally to maintain a low error margin. The entire synchronization process is periodic and progressive.​
Applicable to business scenarios where time accuracy is not critical, the network is relatively stable, and compatibility is prioritized.​
Chrony​
Chrony is another implementation of NTP, and its time synchronization algorithm is more advanced. It can quickly estimate the deviation between the local clock and the server clock. By using intelligent filtering technology, it enables the clocks to achieve more accurate synchronization even under unstable network conditions, reducing the number of synchronization rounds required.​
Applicable to business scenarios that require high time accuracy, high stability, and adaptability to changes in the network environment.​
​
List of VolcanoEngine NTP server addresses​
VolcanoEngine provides Network Time Protocol (NTP) servers, and its ECS instances can synchronize time with these servers over the VolcanoEngine private network.​
tip​
The NTP servers provided by VolcanoEngine source their time from NTP service clusters located in multiple data centers. The time across different clusters in data centers is synchronized using a range of advanced technologies, while the overall stability of the NTP service is guaranteed by a monitoring feature. Therefore, time jump issues usually do not occur when you use the VolcanoEngine NTP service.​
​
NTP server address​
ntp0.ivolces.com​
ntp1.ivolces.com​
ntp2.ivolces.com​
ntp3.ivolces.com​
​
​
Last updated: 2026.06.17 19:32:52