0
0

More than 1 year has passed since last update.

#7 RDSのマルチAZ配置

Last updated at Posted at 2023-07-21

はじめに

AWS CLIで、以下の構成図のようなRDSのマルチAZ配置を作成します。
8_all.png

手順

  • aws rds modify-db-instanceを実行します。
  • --multi-az --no-multi-azで可用性の変更を指定します。
  • aply-immediatelyで変更をすぐに適用するようにします。

シングルAZ→マルチAZの場合

aws rds modify-db-instance \
--db-instance-identifier xxxx \
--multi-az \
--apply-immediately

マルチAZ→シングルAZの場合

aws rds modify-db-instance \
--db-instance-identifier xxxx \
--no-multi-az \
--apply-immediately

マネジメントコンソール画面でも、設定が反映されていることを確認します。

参考ドキュメント

関連

0
0
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
0
0