5
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.

【AWS】年末年始休暇などでRDSを停止しても7日後には自動的に開始してしまう

Posted at

はじめに

今年の年末年始は11連休でした。

発生した事象

  • 12/28に停止した開発環境のRDSが、1/9に出社すると起動していた

!?

原因

なんと公式の仕様だった。

インスタンスは 1 回で最大 7 日まで停止できます。7 日後に、自動的に開始されます。

Amazon RDS でデータベースインスタンスの停止と開始をサポート

根本的な対策

クラスメソッドさんのブログのように、Lambdaで自動起動・自動停止する。

[Amazon RDS]起動停止をスケジュール実行してみた

おわりに

新年早々、頭がぼけたのかと焦りました。

5
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
5
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?