1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Amazon Lightsail データベースのタイムゾーンを変更

Posted at

はじめに

Amazon Lightsailにて、EC2エクスポート機能が実装されていたので一先ず、軽めのサイトをAmazon Lightsailで構築してみた。
その際に、DBのタイムゾーンの設定を行う必要があり少し戸惑ったのでメモ。

以下のコマンドを使用する。
aws lightsail update-relational-database-parameters

time_zone を "Asia/Tokyo" に変更する場合は以下の設定内容となります。
parameterName=time_zone,parameterValue=Asia/Tokyo

変更コマンド

aws lightsail update-relational-database-parameters --relational-database-name [DB Name] --parameters "parameterName=time_zone,parameterValue=Asia/Tokyo,applyMethod=immediate
参考URL
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?