【AWS Aurora】DB作成時に「 Cannot create a publicly accessible DBInstance. The specified VPC does not support DNS resolution, DNS hostnames, or both. Update the VPC and then try again」とエラーになった際の対処法
エラー発生時の状況
パブリックサブネットにパプリックアクセスを許可したAurora PostgreSQLインスタンスを作成しようとした際に、以下のエラーメッセージが表示さインスタンス作成に失敗した。
エラーメッセージ:
「Cannot create a publicly accessible DBInstance. The specified VPC does not support DNS resolution, DNS hostnames, or both. Update the VPC and then try again」
対処法
当該VPCのDNSホスト名の有効化にチェックを入れる。この設定を有効化しないと、インスタンスがパブリックDNSホスト名を取得できない。
参考情報
VPC での DNS の使用
Cannot create a RDS Readreplicaが作成できない。(publicly accessible DBInstance because customer VPC does not support DNS resolution and/or hostnames. )