0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

RDSで「サブネットグループ」と「パラメータグループ」が必要な理由

0
Last updated at Posted at 2025-12-12

インフラエンジニア歴2年の夕凪といいます。
AWSについて勉強中で自分が学んだことをアウトプットするために
投稿していますので、暖かい目で見ていただけると幸いです。
早速ですが、今回はRDSの構築をした際に気になったことについてです。

前提

動画教材にてRDSを作成する際にサブネットグループとパラメータグループを作成しました。
しかし、VPCの設定で既にサブネットを作成していたし、パラメータグループもデータベースの作成とは別で作成するものであったことから、なぜ直接指定しないのだろうかと疑問に思い調べてみました。

結論

・サブネットグループが必要なのは、VPCの中でどのサブネットを使っていいか範囲を決める必要があるから

参照:https://docs.aws.amazon.com/ja_jp/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html?utm_source=chatgpt.com

・パラメータグループはカスタムしたい場合は必要で、デフォルトパラメータでいい場合は不要。
現場では、必須で必要になりそう。

参照:https://docs.aws.amazon.com/ja_jp/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html?utm_source=chatgpt.com

まとめ

RDSを使うときは基本的に「どこに配置するか(サブネットグループ)」と「どう動かすか(パラメータグループ)」をあらかじめ設定しておく必要がある。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?