Alibaba Cloud ECS の既定の timezone は CST(GMT+8:00)

タイトル通りですが、Alibaba Cloud の Elastic Compute Service の仮想マシンのインスタンス の時刻は中国本土時間の GMT + 8:00 ですので気をつけましょう、と言う話です。  表示上の話ではあるのでシステム動作的には全く問題は無い話ですが。

この記事を一番最初に書いたのは 2019年1月28日です。 2026年9月25日現在、7デプロイ後のTime Zone が7年ぶりに実際に確認してみました。 

Alibaba Cloud で ECS インスタンスをデプロイし、デプロイ直後に date コマンドを実行した結果です。

bash
Welcome to Ubuntu 26.04.1 LTS (GNU/Linux 7.0.0-31-generic x86_64)

 * Documentation:  https://docs.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Fri Sep 25 05:10:30 PM CST 2026

  System load:  1.27              Temperature:           19.9 C
  Usage of /:   6.5% of 39.01GB   Processes:             126
  Memory usage: 8%                Users logged in:       0
  Swap usage:   0%                IPv4 address for eth0: 172.24.203.128


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

1 additional security update can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update


Welcome to Alibaba Cloud Elastic Compute Service !

root@iZ6wehrcw7a6j3o5d82bseZ:~# date
Fri Sep 25 05:10:33 PM CST 2026

“Fri Sep 25 05:10:33 PM CST 2026″と表示されていますが、実行時の日本のの時刻はPM 18:10ですので1時間のズレ=中北本土時間となっていることがわかります。

また、”CST”は馴染みが無い方も多いかもですが、China Standard Time (CST)→中国標準時となります。 

参考までに一部のイメージは既定がUTCになっていることが以下の公式ドキュメントでも紹介されていました。

Public images that use the UTC standard for the RTC

By default, the RTC in Alibaba Cloud public images uses the localtime standard. However, in recent public images, Alibaba Cloud changed the default RTC time standard from localtime to UTC. Future versions of these images will continue to use the UTC standard for the RTC. For more information about the release of these public images, see the following documents:

以上