Tag: Route53

Route53

新しいドメインの設定 どこかでドメインを取る Route53 の設定は https://qiita.com/Yuki_BB3/items/effdf1bb38263bfef82a を参考にした Route53 開く https://console.aws.amazon.com/route53/home?region=ap-northeast-1#hosted-zones: [ Create Hosted Zone ]->右側の[ Domain Name: ]入力、[ Type: ]は Public Hosted Zone のまま DNS サーバが 4 つ表示されるので、レジストラの管理画面から DNS を登録 CLI でいろいろ ゾーン ID の取得 ZONENAME="example.net." # 最後に「.」ドットをつけるの重要... 30minほど悩んだ... aws route53 list-hosted-zones | jq -r ".HostedZones[] | select(.Name == \"${ZONENAME}\") | .Id" # bashの変数を読むためにダブルコーテーションをクオートする 参考 上の list-hosted-zones の内容 aws route53 list-hosted-zones Read more...