aws_route53_ドメイン作成(料金かかる)
Route53
トップ画面からサービス->Route53
1.ドメイン作成
「Get startd now」
画面左側[Registered domains]をクリック
画面左上[Register Domain ]をクリック
Choose a domain name(ここからは無料枠で利用不可)
[com-$12.00]なら1年で12ドル
テキストボックス欄にドメイン名を入力→[Check]をクリック
StatusがAvailableならOK→[Add to card]をクリック→画面右下[continue]をクリック
Contact Details for Your 1 Domain(個人情報入力する画面)
入力後→画面右下[continue]をクリック
Thank you for registering your domain to Route 53
にて[Go To Domains]をクリック
Statusが[Domain registration in progress]となる
(3日かかる可能性あり。実際は10分程度で完了の場合あり)
トップ画面からサービス->Route53
Statusが[Domain registration successful]となる
Route53トップ画面左側[Hosted zones]
ドメイン名をクリック
→NSレコードとSOAレコードが作成されている
準備
ec2を4つ用意
東京リージョンに2つ
バージニア北部に1つ
サンパウロに1つ
作成時
インスタンスの詳細の設定
高度な詳細設定でテキストボックス欄にwebサーバ構築コマンドを記載
#!/bin/bash
yum update -y
yum install httpd -y
service httpd start
chkconfig httpd on
cd /var/www/html
echo "Hello world" > index.html