LoginSignup
1
1

More than 5 years have passed since last update.

AWS Route53でAWSアカウントをまたいだPrivate Host Zoneの共有方法

Posted at

Route53を使うと,VPC内だけで名前解決ができるPrivate Host Zoneが利用できる.
このPrivate Host ZoneはVPCを追加した場合には,VPCの紐付けを一々やる必要がある.
同一AWSアカウント内であれば,マネジメントコンソールからできる.

AWSアカウントをまたいだPrivate Host Zoneの共有

AWSアカウントをまたいだ場合,同一AWSアカウントのようにマネジメントコンソールから登録ができない.
公式ドキュメントのここにやり方が書いてある.

以下のようなawsコマンドで設定する.

aws route53 create-vpc-association-authorization --vpc VPCRegion=ap-northeast-1,VPCId=vpc-xxxxxx --hosted-zone-id YOURHOSTEDZONE
aws route53 associate-vpc-with-hosted-zone --vpc VPCRegion=ap-northeast-1,VPCId=vpc-xxxxxx --hosted-zone-id YOURHOSTEDZONE
1
1
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
1