SlideShare a Scribd company logo
AWS Black Belt Tech Webinar 2014 
(旧マイスターシリーズ) 
 
Amazon Route53 
2014.09.24 
アマゾンデータサービスジャパン株式会社  
ソリューションアーキテクト 荒⽊木靖宏 
 
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc.
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
2 
Amazon Route 53
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
3 
What is Amazon Route 53? 
3 
! AWSの提供するDNS権威サービス 
! DNSはドメイン名をIPアドレスに変換す 
るインターネット上の「電話帳」 
! DNSはTier-‐‑‒0サービスともよばれる 
• 可⽤用性が最重要 
! ⾼高い拡張性 
! “Route 53” はDNSサーバがポート53番 
で動作することに由来 
! AWSでの柔軟、⾼高性能、⾼高可⽤用性を持つ 
アーキテクチャを可能にするツール 
 
Route 
53
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
4 
動作 
4 
UsersDNS 
Resolver 
Route 53 
www.example.com 
はどこ? 
知らないので権威 
サーバに尋ねます 
1.2.3.41.2.3.4 
53
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
5 
Amazon Route 53の機能追加 
! 2013年年2⽉月:DNSフェイルオーバー 
! 2013年年5⽉月:DNSフェイルオーバー、ELBのエンドポイント 
のサポートを追加 
! 2013年年6⽉月:Amazon CloudFront経由で配信されるウェブ 
サイトに対するzone apexのサポート 
! 2013年年6⽉月:ヘルスチェックのCloudWatchメトリックス 
! 2013年年8⽉月:ヘルスチェックグラフ、ゾーンファイルのイン 
ポート 
! 2014年年2⽉月:HTTPSでのヘルスチェックサポート 
! 2014年年3⽉月:CloudTrailサポート 
! 2014年年5⽉月:ドメイン名でのヘルスチェックサポート 
! 2014年年8⽉月:ドメイン登録サポート、GeoIPルーティング 
http://aws.typepad.com/aws_̲japan/amazon-‐‑‒route53/
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
6 
Route 53 の設計原則 
6 
信頼性 
⾼高速 
AWS 
サービスとの 
統合 
使いやすさ 
経済性 
柔軟性 
• 冗⻑⾧長化されたロケー 
ション 
• SLA設定 
• 全世界で動作する 
Anycastネットワーク 
• 変更更の⾼高速伝播 
• IAM 
• エイリアス 
• レイテンシベース 
ルーティング 
• DNSフェイルオーバー 
• コンソール 
• プログラムできるAPI 
• 安価 
• つかった分だけの課⾦金金 
• 重みづけ 
ラウンドロビン
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
7 
Route 53の特⻑⾧長的な機能 
7 
⾼高可⽤用性 
DNS 
エイリアス 
レコード 
DNS 
フェイル 
オーバー 
重みづけ 
ラウンド 
ロビン 
レイテンシ 
ベース 
ルーティング 
CloudWatch 
メトリックス 
• 可⽤用性、スケーラビリ 
ティの⾼高いDNSサービ 
ス 
• ELB(Elastic Load 
Balancer)、S3、 
CloudFrontでのゾー 
ン名の利利⽤用 
• 訪問者のトラフィック 
を⾃自動的に別の場所に 
ルーティング 
• 異異なったレスポンスを 
それぞれ頻度度を定義し 
て利利⽤用可能 
• ユーザから、複数の 
AWSリージョンで動 
作しているアプリケー 
ションのうち、最も近 
いところに誘導 
• ヘルスチェックの結果 
をCloudWatchにパブ 
リッシュ 
• グラフで表⽰示
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
8 
Route53を使⽤用しない時の動作 
 
DNSサーバ
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
9 
Route53使⽤用時の動作 
 
Anycast IPアドレスが 
使⽤用され,同じIPアドレスで 
も近いサーバにつながる
AS3 
AS2AS1 
3 
2 
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
10 
Route53 
DNS(Route 53) 
1. クライアントは使⽤用しているDNS解決⽤用サーバ(local DNS)に、h.example.comのアドレ 
スを問いあわせる⇒ root DNSを案内 
2. root DNSにh.example.comを問いあわせる。⇒ .com DNSを案内 
3. .com DNSにh.example.comを問いあわせる。⇒ .example.com DNSを案内 
(通常4つのIPアドレスが登録され、IP anycastが割り当てられている) 
4. local DNSから3で得たIPアドレスにh.example.comを問いあわせると、⼀一番近いどこか 
のASにあるRoute53に接続。⇒ IPアドレスを得る。 
 
ユーザー 
local DNS  
1 
4 
example.com DNS  
.com DNS  
root DNS  
AS1 
IP1 IP2  
IP3 IP4
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
11 
ホストゾーンとレコード 
! 「ホストゾーン」とは管理理可能なレコードの集合 
• ユーザーあたり100ゾーンまで 
• レコードは10,000個まで 
• 上限緩和可能 
! レコードセットの4つのルーティングポリシー 
• Simpleシンプル 
• Weighted重みづけ 
• Latencyレイテンシーベースルーティング 
• Failoverフェイルオーバー
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
12 
サポートするレコードタイプ 
Record Types: 
 
! A (address record) 
! AAAA (IPv6 address record) 
! CNAME (canonical name record) 
! MX (mail exchange record) 
! NS (name server record) 
 
 
! PTR (pointer record) 
! SOA (start of authority 
record) 
! SPF (sender policy 
framework) 
! SRV (service locator) 
! TXT (text record)
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
13 
始め⽅方 
! サインアップする 
! ドメインの購⼊入(New!) 
! ホストゾーンを作成する  
! DNSレコードを作成する 
! ドメインレジストラにRoute 53ネームサーバーを 
登録する
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
14 
ゾーンファイルのインポート⼿手順 
1. ゾーンファイル全体をインポートしてリソースレコー 
ドを作成 
2. まずマネジメントコンソールでホストゾーンを作成 
• インポート先のゾーンは、⾃自動的に作成されるSOA、NS以外、 
空でなければならない 
3. 次にゾーンファイルをインポート 
• インポート元のゾーンファイルは、RFC1034、RFC1035に準 
拠した形式
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
15 
ゾーンファイル詳細 
! ホストゾーン名とレコードに含まれるドメイン名は⼀一致 
! インポート元のゾーンファイルの$ORIGIN、$TTLキー 
ワードをサポート。 $GENERATE、$INCLUDEキー 
ワードがあれば、インポートはエラー 
! インポート元のゾーンファイルのSOAレコードは無視 
! ホストゾーンと同じドメイン名のNSレコードは無視 
! 最⼤大1000レコード 
• 1000レコードを超える場合は、”BIND to Amazon Route 53 
Conversion Tool”を使⽤用 
• http://aws.amazon.com/developertools/Amazon-‐‑‒ 
Route-‐‑‒53/4495891528591897
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
16 
ドメイン名のみの扱い 
! “エイリアス”タイプ 
• AWS独⾃自のレコード。 
• ELB、S3のウェブサイトバケット、CloudFrontのディストリ 
ビューションのDNS名をドメインだけの形にして割り当てでき 
る。 
• ルートドメインでWebサイトをホストできる。 
(例例. http://mysite.com) 
• ELB、S3のウェブサイトバケット、CloudFrontのディストリ 
ビューションにマッピングされるエイリアスレコードに対する 
クエリは無料料。
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
17 
重みづけラウンドロビン 
! レコードセットに重みを設定 
! 0から255の間で設定可能 
! 以下の式の値に⽐比例例し、同じ名前・種類 
のレコードセットからクエリーに返すレ 
コードセットを選択 
• 例例)重み3 : 重み1の場合、75%:25%の時 
間割合 
 
レコードセットの重み 
同じ名前・種類のレコードセットの重みの合計
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
18 
レイテンシベースルーティング (LBR) 
! 複数のリージョンでアプリケーションを動作 
させる 
! LBRレコードを作成 
• どのリージョンでエンドポイントを動作 
させているかを記述 
! エンドポイントは、EC2インスタンス, 
Elastic IP、またはElastic Load Balancer 
(ELB)を指定する 
! Route 53 はエンドユーザからのアクセスを 
レイテンシ最⼩小のエンドポイントへ誘導する
! 単⼀一のリージョンでのみ動作させてい 
る場合よりも良良好なパフォーマンスを 
提供 
! 信頼性の向上 
! DNSサーバでも実現可能だが。。 
• Route 53を使えば⾃自⼒力力で⾏行行うより 
も楽 
• ⾮非常に安価 
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
19 
レイテンシベースルーティングを使うメリット 
19
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
20 
レイテンシベースルーティングの舞台裏裏 
! インターネット上のホスト間のレイテンシは、時間と共に変 
化 
! 舞台裏裏では、継続的にレイテンシの計測データを収集しRDS 
に蓄積 
! この計測データも⽤用いて、AWS各リージョンからインター 
ネット上のネットワークへの相対的なネットワークレイテン 
シのテーブルを作成 
! Route 53のレイテンシベースルーティングはこのテーブルに 
基づき⾏行行われる 
! 例例えば、⽶米国⻄西海岸リージョンと⽶米国東海岸リージョンに 
サーバーがある場合に、ある週は、⻄西海岸にルーティングさ 
れていても、翌週は、東海岸とのレイテンシが改善され、東 
海岸にルーティングされるような場合もある
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
21 
DNSフェイルオーバーとは? 
! ヘルスチェック 
• アプリケーションのエンド 
ポイントがアップまたはダ 
ウンしているかを判断 
• 世界中の複数の場所からア 
プリケーションのエンドポ 
イントに向かって、定期的 
にインターネット経由のリ 
クエストを送る形で実⾏行行 
! フェイルオーバー 
• 稼働し到達できるリソース 
だけをクエリーに返答 
• ウェブサイトが停⽌止したこ 
とを検出した場合、サイト 
にアクセスしたユーザーを 
ダウンしているエンドポイ 
ントからリダイレクト
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
22 
DNSフェイルオーバー : ⽤用語解説 
! エンドポイント 
• インターネット上のロケーション 
• IPアドレス、URL、またはELB名で指定 
• 正常な応答が返るかどうか定期的にチェックされる 
! ヘルスチェック 
• Route 53コンソールまたはAPIで作成 
• エンドポイントのチェック結果によりHealthy、または 
Unhealthyというステータスを持つ 
• ヘルスチェックと⼀一つ、または、複数のDNSレコードを関連付 
けできる
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
23 
DNSフェイルオーバーの動き 
! AWS各リージョン内からヘルスチェックを実施。 
! ヘルスチェックに際してRoute 53は指定したIPアドレ 
ス、URL、ELBに対して要求送信。成功応答を受けると 
ヘルスチェック合格、さもなければヘルスチェック失敗。 
! ヘルスチェックが失敗したら、関連づけられたDNSレ 
コード全てがInactiveになり、バックアップとして構成 
されたレコードがActiveに。 
! ヘルスチェック対象のエンドポイントがフェイルしてか 
らDNSフェイルオーバーまで3分程度度
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
24 
ヘルスチェックの内容 
! 最初は「Healthy」と推定 
! 各データセンターのヘルスチェッカーが30秒毎にエンド 
ポイントにリクエストを送信 
! 三回連続してヘルスチェックがフェイルすると 
「Unhealthy」に変更更 
! 三回連続してヘルスチェックが成功すると 
「Unhealthy」から「Healthy」に変更更 
• 「Healthy」「Unhealthy」に関わらずヘルスチェックの頻度度は 
⼀一定 
! 各々のヘルスチェッカーは全世界のRoute 53 DNSサー 
バに結果を伝播
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
25 
ヘルスチェックの内容 
! TCPヘルスチェック 
• エンドポイントと4秒以内にTCPコネクションを確⽴立立できたかど 
うか 
! HTTPヘルスチェック 
• エンドポイントと4秒以内にTCPコネクションを確⽴立立できたかど 
うか 
• かつ、エンドポイントから200以上400未満のHTTPステータス 
コードの応答を接続後、 2秒以内に受け取るか 
• 加えてレスポンス内容に期待する⽂文字列列が含まれるかどうか
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
26 
フェイルオーバーの注意点 
! 連鎖的障害の回避 
• 全てのレコードセットが「Unhealthy」と判断された場合、Route 53は逆に全てのリソー 
スレコードセットは「Healthy」とみなす 
• 例例えば、3つのエンドポイントの1つが過負荷で停⽌止すると、Route 53 DNSサーバは、 残 
りの2つから応答。万⼀一、残りの2つも過負荷でフェイルした場合には、3つのエンドポイン 
トすべてにリクエストを割り振る状態に復復帰 
! インターネットの切切断への対応 
• インターネットの⼤大規模な分断が発⽣生した場合、Route 53の各ロケーションはエンドポイ 
ントのヘルスチェックについて異異なるステータスを持つ可能性。  
• 例例えば⾄至近のリージョンからのヘルスチェック結果のみアクセス可能な場合があり。 
• 例例)南⽶米への接続に影響を与えるようなインターネットの分断の場合、 
• サンパウロのヘルスチェッカー: 
⇒ サンパウロ・リージョン内のエンドポイントは「Healthy」と判断 
• サンパウロのRoute 53 DNSサーバ: 
⇒ サンパウロ・リージョン内のエンドポイントのレコードを応答 
• ⽶米国東海岸のヘルスチェッカー: 
⇒ サンパウロ・リージョン内のエンドポイントは「Unhealthy」と判断 
• ⽶米国東海岸のRoute 53 DNSサーバ: 
⇒ サンパウロ・リージョン以外のエンドポイントのレコードを応答 
• 結果として各地域からのアクセス可能性に応じたエンドポイントのレコードを応答
Primary 
(Active) 
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
27 
単純フェイルオーバー 
AWS Region 
Secondary 
(Inactive) 
Health Check 
= Healthy
Primary 
(Inactive) 
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
28 
単純フェイルオーバー 
AWS Region 
Secondary 
(Active) 
Health Check 
= Unhealthy
LBR 
(Active) 
Health Check 
= Healthy 
LBR 
(Active) 
Health Check 
= Healthy 
ELBELB 
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
29 
マルチリージョンフェイルオーバー 
AWS Region 1AWS Region 2
LBR 
(Active) 
Health Check 
= Healthy 
LBR 
(Inactive) 
Health Check 
= Unhealthy 
ELBELB 
Region 2への 
ルーティングを停⽌止 
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
30 
マルチリージョンフェイルオーバー 
AWS Region 1AWS Region 2
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
31 
ヘルスチェックグラフ 
! Route 53が Amazon CloudWatchにヘルスチェックの 
結果をパブリッシュ。 
! AWS Management ConsoleのRoute 53 タブ内でグラ 
フ表⽰示、さらに簡単にアクセス。
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
GeoRouting
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
33 
GeoRoutingの設定 
Routing Policy 
”Geolocation”を選択 
⼤大陸陸名、国名、アメリカの州、カ 
ナダの州から選択
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
34 
GeoRouting設定Tips 
! defaultを指定しないと、Locationに設定していない場 
合にはクエリが返らない 
! レコードタイプは全て⼀一致させる必要あり 
• AレコードやCNAMEに合わせるのがよい 
! Aliasを使うと余計なクエリが必要ない
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
ドメイン取得
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
36 
ドメインの選択 
ドメイン候補を⼊入⼒力力 
取得可能なドメイ 
ン候補が価格と共 
に提⽰示される
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
37 
登録者の情報⼊入⼒力力 
連絡先⼊入⼒力力は必須 
 
プライバシー保護機能あ 
り
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
ドメインの移管
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
39 
ドメイン移管はドメイン名をいれるだけ
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
40 
Amazon Route 53の料料⾦金金 
! 料料⾦金金の案内URL 
• http://aws.amazon.com/jp/route53/pricing/ 
! ホストゾーンあたり 
• 最初の25ホストゾーン$0.50 USD(ホストゾーン・⽉月ごと) 
• それを超えるホストゾーン$0.10 USD(ホストゾーン・⽉月ご 
と) 
! 標準的クエリ 
• 最初の10億クエリ$0.40 USD(100万クエリ・⽉月ごと) 
• 10億クエリを超える分 $0.20 USD(100万クエリ・⽉月ごと)
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
41 
Amazon Route 53の料料⾦金金(2) 
! レイテンシーベースルーティングクエリ 
• 最初の10億クエリ$0.60 USD(100万クエリ・⽉月ごと) 
• 10億クエリを超える分 $0.3 USD(100万クエリ・⽉月ごと) 
! Geo DNS クエリ 
• 最初の10億クエリ$0.70 USD(100万クエリ・⽉月ごと) 
• 10億クエリを超える分 $0.35 USD(100万クエリ・⽉月ごと)
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
42 
Amazon Route 53の料料⾦金金(3) 
! DNS フェイルオーバーの標準ヘルスチェック 
• AWS内部のエンドポイントに対するヘルスチェック  
$0.50 USD(1件・⽉月ごと) 
• AWS外部のエンドポイントに対するヘルスチェック 
$0.75 USD(1件・⽉月ごと) 
! DNS フェイルオーバーの詳細ヘルスチェック(HTTPS, レス 
ポンス照合、⾼高頻度度オプション) 
• AWS内部のエンドポイントに対するヘルスチェック  
$1.00 USD(1件・⽉月ごと) 
• AWS外部のエンドポイントに対するヘルスチェック 
$2.00 USD(1件・⽉月ごと) 
! ドメイン登録年年間費⽤用 
• ドメインごとに異異なる。.jp $100 USD、.com $12 USD、.be $9 
USD、.de $9 USDなど
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
43 
Amazon Route 53の特⻑⾧長まとめ 
! ⾼高可⽤用性および⾼高信頼性 
• インフラ 
• SLA 
! スケーラブル 
• ⾃自動的に規模を拡⼤大して⼤大量量の 
クエリを処理理 
! 他のアマゾン ウェブ サービス 
と併⽤用が可能 
• ELB、S3、CloudFrontの 
zone apexサポート 
• ELBと連携したDNSフェイル 
オーバー 
! シンプル 
• セルフサービスでサインアップ 
• 数分で開始 
! 迅速 
• 全世界のグローバルエニーキャ 
ストネットワーク 
! 経済的 
• Pay as you go 
• サービスは低コスト 
• 最低利利⽤用料料⾦金金や前払⾦金金は不不要 
! セキュア 
• Route 53 とIAMの統合 
! ⾼高い柔軟性 
• 重みづけラウンドロビン 
• DNSフェイルオーバー
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
44 
Route 53利利⽤用のFAQ 
! IPv6対応 
• AAAA, PTRレコードはIPv6に対応していますが、Route 53に 
対してIPv6で問いあわせても返答しません 
! プライベートIPアドレス⽬目的の利利⽤用 
• 可能ですが、誰からも参照可能です 
! デフォルトのTTL 
• 全てのレコードに対して設定する必要あり
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
45 
Appendix 
! 参考資料料 
• Amazon Route 53 Developer Guide 
http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/ 
Welcome.html 
 
• Amazon Route 53 FAQ 
http://aws.amazon.com/jp/route53/faqs/ 
• Amazon Route 53 料料⾦金金 
http://aws.amazon.com/jp/route53/pricing/ 
• Amazon Route 53 SLA 
http://aws.amazon.com/jp/route53/sla/
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
46 
24時間・365⽇日での⽇日本語サポートの提供 
! ⽇日本語でのサポートをご提供しております 
http://aws.amazon.com/jp/premiumsupport/  
ベーシックデベロッパービジネスエンタープライズ 
受付時間24時間 / 365⽇日(年年中無休) 
初回応答時間セルフサービス12時間 
(営業時間内)1時間15分 
サポート連絡先N/A1⼈人5⼈人無制限 
チャット不不可不不可可能可能 
TEL不不可不不可可能可能 
専任スタッフなしなしなしあり 
料料⾦金金(⽉月額)無料料(AWSの利利⽤用料料に 
含まれる)$49/⽉月 
AWS利利⽤用総額の 
10%〜~ 
 
※最低料料⾦金金:$100/⽉月 
AWS利利⽤用総額の 
10%〜~ 
 
※最低$15,000/⽉月
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of 
Amazon.com, Inc. 
47 
QA

More Related Content

PDF
20200811 AWS Black Belt Online Seminar CloudEndure
PDF
20191105 AWS Black Belt Online Seminar Amazon Route 53 Hosted Zone
PDF
20210316 AWS Black Belt Online Seminar AWS DataSync
PDF
AWS Black Belt Online Seminar 2018 AWS Certificate Manager
PDF
20190730 AWS Black Belt Online Seminar Amazon CloudFrontの概要
PDF
AWS Black Belt Online Seminar 2017 AWS Shield
PDF
AWSで実現するバックアップとディザスタリカバリ
PDF
20190911 AWS Black Belt Online Seminar AWS Batch
20200811 AWS Black Belt Online Seminar CloudEndure
20191105 AWS Black Belt Online Seminar Amazon Route 53 Hosted Zone
20210316 AWS Black Belt Online Seminar AWS DataSync
AWS Black Belt Online Seminar 2018 AWS Certificate Manager
20190730 AWS Black Belt Online Seminar Amazon CloudFrontの概要
AWS Black Belt Online Seminar 2017 AWS Shield
AWSで実現するバックアップとディザスタリカバリ
20190911 AWS Black Belt Online Seminar AWS Batch

What's hot (20)

PDF
20190326 AWS Black Belt Online Seminar Amazon CloudWatch
PDF
20190919 よくご相談いただくセキュリティの質問と考え方
PDF
[AKIBA.AWS] VGWのルーティング仕様
PDF
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
PDF
20180509 AWS Black Belt Online Seminar Amazon GuardDuty
PDF
AWS Black Belt Online Seminar AWS Direct Connect
PDF
20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver
PDF
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
PDF
AWS Black Belt Online Seminar 2017 AWS WAF
PDF
20200219 AWS Black Belt Online Seminar オンプレミスとAWS間の冗長化接続
PDF
[最新バージョンの情報がDescription欄にございます]AWS Black Belt Online Seminar 2018 Amazon Connect
PDF
AWSのログ管理ベストプラクティス
PDF
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
PDF
AWSではじめるDNSSEC
PDF
20191126 AWS Black Belt Online Seminar Amazon AppStream 2.0
PDF
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
PDF
AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介
PDF
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
PDF
AWS Black Belt Online Seminar 2017 Auto Scaling
PDF
AWS EC2 Eメール制限解除 - 逆引き(rDNS)設定 申請手順
20190326 AWS Black Belt Online Seminar Amazon CloudWatch
20190919 よくご相談いただくセキュリティの質問と考え方
[AKIBA.AWS] VGWのルーティング仕様
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20180509 AWS Black Belt Online Seminar Amazon GuardDuty
AWS Black Belt Online Seminar AWS Direct Connect
20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
AWS Black Belt Online Seminar 2017 AWS WAF
20200219 AWS Black Belt Online Seminar オンプレミスとAWS間の冗長化接続
[最新バージョンの情報がDescription欄にございます]AWS Black Belt Online Seminar 2018 Amazon Connect
AWSのログ管理ベストプラクティス
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
AWSではじめるDNSSEC
20191126 AWS Black Belt Online Seminar Amazon AppStream 2.0
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
AWS Black Belt Online Seminar 2017 Auto Scaling
AWS EC2 Eメール制限解除 - 逆引き(rDNS)設定 申請手順
Ad

Viewers also liked (20)

PDF
はじめてのAmazon Web Services
PPTX
はじめてのAWS Lambda
PDF
AWS Black Belt Techシリーズ AWS IAM
PDF
はじめてのAWS - ビギナー編 -
PDF
Amazon VPCトレーニング-VPCの説明
PDF
AWS Black Belt Techシリーズ Amazon Elastic Compute Cloud (Amazon EC2)
PDF
[AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス
PDF
AWS Black Belt Techシリーズ Amazon Simple Storage Service (Amazon S3)
PDF
[AWSマイスターシリーズ] Amazon Route53
PDF
[AWSマイスターシリーズ] AWS Billingについて
PDF
初心者向けWebinar 貴重なデータを守るクラウドバックアップの実現
PDF
AWS Black Belt Techシリーズ Amazon CloudWatch & Auto Scaling
PDF
AWS Black Belt Techシリーズ Amazon SNS / Amazon SQS
PDF
[AWSマイスターシリーズ] Instance Store & Elastic Block Store
PDF
AWS Black Belt Online Seminar 2016 クラウドのためのアーキテクチャ設計 -ベストプラクティス-
PDF
AWS Black Belt Techシリーズ Elastic Load Balancing (ELB)
PDF
Black Belt Online Seminar AWS上の暗号化ソリューション
PDF
AWS Black Belt Techシリーズ AWS Direct Connect
PDF
AWS ベーシックトレーニング-トレーニング資料
PDF
AWS Black Belt Techシリーズ Amazon VPC
はじめてのAmazon Web Services
はじめてのAWS Lambda
AWS Black Belt Techシリーズ AWS IAM
はじめてのAWS - ビギナー編 -
Amazon VPCトレーニング-VPCの説明
AWS Black Belt Techシリーズ Amazon Elastic Compute Cloud (Amazon EC2)
[AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス
AWS Black Belt Techシリーズ Amazon Simple Storage Service (Amazon S3)
[AWSマイスターシリーズ] Amazon Route53
[AWSマイスターシリーズ] AWS Billingについて
初心者向けWebinar 貴重なデータを守るクラウドバックアップの実現
AWS Black Belt Techシリーズ Amazon CloudWatch & Auto Scaling
AWS Black Belt Techシリーズ Amazon SNS / Amazon SQS
[AWSマイスターシリーズ] Instance Store & Elastic Block Store
AWS Black Belt Online Seminar 2016 クラウドのためのアーキテクチャ設計 -ベストプラクティス-
AWS Black Belt Techシリーズ Elastic Load Balancing (ELB)
Black Belt Online Seminar AWS上の暗号化ソリューション
AWS Black Belt Techシリーズ AWS Direct Connect
AWS ベーシックトレーニング-トレーニング資料
AWS Black Belt Techシリーズ Amazon VPC
Ad

Similar to AWS Black Belt Techシリーズ Amazon Route53 (20)

PDF
AWS Black Belt Techシリーズ Amazon Relational Database Service (RDS)
PDF
[よくわかるクラウドデータベース] CassandraからAmazon DynamoDBへの移行事例
PDF
20210127 AWS Black Belt Online Seminar Amazon Redshift 運用管理
PDF
AWS BlackBelt Online Seminar 2017 Amazon CloudFront + AWS Lambda@Edge
PDF
20201028 AWS Black Belt Online Seminar Amazon CloudFront deep dive
PDF
20120303 jaws summit-meister-05_cloud_front-r53
PDF
[AWSマイスターシリーズ] Amazon Redshift
PDF
[AWSマイスターシリーズ] Amazon CloudFront / Amazon Elastic Transcoderによるコンテンツ配信
PDF
20180704 AWS Black Belt Online Seminar Amazon Elastic File System (Amazon EFS...
PDF
20150207 jawsug kansai
PDF
AWS Black Belt - AWS Glue
PDF
20180704(20190520 Renewed) AWS Black Belt Online Seminar Amazon Elastic File ...
PDF
20180508 AWS Black Belt Online Seminar AWS Greengrassで実現するエッジコンピューティング
PDF
【IVS CTO Night & Day】AWS Cloud Security
PDF
初心者向けWebinar AWSでDRを構築しよう
PDF
20190122 AWS Black Belt Online Seminar Amazon Redshift Update
PDF
20190828 AWS Black Belt Online Seminar Amazon Aurora with PostgreSQL Compatib...
PPTX
AmazonのDNSサービス Amazon Route 53の使いかたと裏側
PDF
20120611 aws meister-reloaded-cloud-front-public
PDF
AWS Black Belt Online Seminar 2017 Amazon ElastiCache
AWS Black Belt Techシリーズ Amazon Relational Database Service (RDS)
[よくわかるクラウドデータベース] CassandraからAmazon DynamoDBへの移行事例
20210127 AWS Black Belt Online Seminar Amazon Redshift 運用管理
AWS BlackBelt Online Seminar 2017 Amazon CloudFront + AWS Lambda@Edge
20201028 AWS Black Belt Online Seminar Amazon CloudFront deep dive
20120303 jaws summit-meister-05_cloud_front-r53
[AWSマイスターシリーズ] Amazon Redshift
[AWSマイスターシリーズ] Amazon CloudFront / Amazon Elastic Transcoderによるコンテンツ配信
20180704 AWS Black Belt Online Seminar Amazon Elastic File System (Amazon EFS...
20150207 jawsug kansai
AWS Black Belt - AWS Glue
20180704(20190520 Renewed) AWS Black Belt Online Seminar Amazon Elastic File ...
20180508 AWS Black Belt Online Seminar AWS Greengrassで実現するエッジコンピューティング
【IVS CTO Night & Day】AWS Cloud Security
初心者向けWebinar AWSでDRを構築しよう
20190122 AWS Black Belt Online Seminar Amazon Redshift Update
20190828 AWS Black Belt Online Seminar Amazon Aurora with PostgreSQL Compatib...
AmazonのDNSサービス Amazon Route 53の使いかたと裏側
20120611 aws meister-reloaded-cloud-front-public
AWS Black Belt Online Seminar 2017 Amazon ElastiCache

More from Amazon Web Services Japan (20)

PDF
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
PDF
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
PDF
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
PDF
Infrastructure as Code (IaC) 談義 2022
PDF
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
PDF
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
PDF
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
PPTX
20220409 AWS BLEA 開発にあたって検討したこと
PDF
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
PDF
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
PDF
Amazon QuickSight の組み込み方法をちょっぴりDD
PDF
マルチテナント化で知っておきたいデータベースのこと
PDF
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
PDF
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
PDF
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
PDF
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
PPTX
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
PDF
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
PDF
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
PDF
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
Infrastructure as Code (IaC) 談義 2022
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
20220409 AWS BLEA 開発にあたって検討したこと
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
Amazon QuickSight の組み込み方法をちょっぴりDD
マルチテナント化で知っておきたいデータベースのこと
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ

AWS Black Belt Techシリーズ Amazon Route53

  • 1. AWS Black Belt Tech Webinar 2014 (旧マイスターシリーズ) Amazon Route53 2014.09.24 アマゾンデータサービスジャパン株式会社 ソリューションアーキテクト 荒⽊木靖宏 © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 2. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 2 Amazon Route 53
  • 3. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 3 What is Amazon Route 53? 3 ! AWSの提供するDNS権威サービス ! DNSはドメイン名をIPアドレスに変換す るインターネット上の「電話帳」 ! DNSはTier-‐‑‒0サービスともよばれる • 可⽤用性が最重要 ! ⾼高い拡張性 ! “Route 53” はDNSサーバがポート53番 で動作することに由来 ! AWSでの柔軟、⾼高性能、⾼高可⽤用性を持つ アーキテクチャを可能にするツール Route 53
  • 4. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 4 動作 4 UsersDNS Resolver Route 53 www.example.com はどこ? 知らないので権威 サーバに尋ねます 1.2.3.41.2.3.4 53
  • 5. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 5 Amazon Route 53の機能追加 ! 2013年年2⽉月:DNSフェイルオーバー ! 2013年年5⽉月:DNSフェイルオーバー、ELBのエンドポイント のサポートを追加 ! 2013年年6⽉月:Amazon CloudFront経由で配信されるウェブ サイトに対するzone apexのサポート ! 2013年年6⽉月:ヘルスチェックのCloudWatchメトリックス ! 2013年年8⽉月:ヘルスチェックグラフ、ゾーンファイルのイン ポート ! 2014年年2⽉月:HTTPSでのヘルスチェックサポート ! 2014年年3⽉月:CloudTrailサポート ! 2014年年5⽉月:ドメイン名でのヘルスチェックサポート ! 2014年年8⽉月:ドメイン登録サポート、GeoIPルーティング http://aws.typepad.com/aws_̲japan/amazon-‐‑‒route53/
  • 6. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 6 Route 53 の設計原則 6 信頼性 ⾼高速 AWS サービスとの 統合 使いやすさ 経済性 柔軟性 • 冗⻑⾧長化されたロケー ション • SLA設定 • 全世界で動作する Anycastネットワーク • 変更更の⾼高速伝播 • IAM • エイリアス • レイテンシベース ルーティング • DNSフェイルオーバー • コンソール • プログラムできるAPI • 安価 • つかった分だけの課⾦金金 • 重みづけ ラウンドロビン
  • 7. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 7 Route 53の特⻑⾧長的な機能 7 ⾼高可⽤用性 DNS エイリアス レコード DNS フェイル オーバー 重みづけ ラウンド ロビン レイテンシ ベース ルーティング CloudWatch メトリックス • 可⽤用性、スケーラビリ ティの⾼高いDNSサービ ス • ELB(Elastic Load Balancer)、S3、 CloudFrontでのゾー ン名の利利⽤用 • 訪問者のトラフィック を⾃自動的に別の場所に ルーティング • 異異なったレスポンスを それぞれ頻度度を定義し て利利⽤用可能 • ユーザから、複数の AWSリージョンで動 作しているアプリケー ションのうち、最も近 いところに誘導 • ヘルスチェックの結果 をCloudWatchにパブ リッシュ • グラフで表⽰示
  • 8. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 8 Route53を使⽤用しない時の動作 DNSサーバ
  • 9. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 9 Route53使⽤用時の動作 Anycast IPアドレスが 使⽤用され,同じIPアドレスで も近いサーバにつながる
  • 10. AS3 AS2AS1 3 2 © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 10 Route53 DNS(Route 53) 1. クライアントは使⽤用しているDNS解決⽤用サーバ(local DNS)に、h.example.comのアドレ スを問いあわせる⇒ root DNSを案内 2. root DNSにh.example.comを問いあわせる。⇒ .com DNSを案内 3. .com DNSにh.example.comを問いあわせる。⇒ .example.com DNSを案内 (通常4つのIPアドレスが登録され、IP anycastが割り当てられている) 4. local DNSから3で得たIPアドレスにh.example.comを問いあわせると、⼀一番近いどこか のASにあるRoute53に接続。⇒ IPアドレスを得る。 ユーザー local DNS 1 4 example.com DNS .com DNS root DNS AS1 IP1 IP2 IP3 IP4
  • 11. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 11 ホストゾーンとレコード ! 「ホストゾーン」とは管理理可能なレコードの集合 • ユーザーあたり100ゾーンまで • レコードは10,000個まで • 上限緩和可能 ! レコードセットの4つのルーティングポリシー • Simpleシンプル • Weighted重みづけ • Latencyレイテンシーベースルーティング • Failoverフェイルオーバー
  • 12. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 12 サポートするレコードタイプ Record Types: ! A (address record) ! AAAA (IPv6 address record) ! CNAME (canonical name record) ! MX (mail exchange record) ! NS (name server record) ! PTR (pointer record) ! SOA (start of authority record) ! SPF (sender policy framework) ! SRV (service locator) ! TXT (text record)
  • 13. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 13 始め⽅方 ! サインアップする ! ドメインの購⼊入(New!) ! ホストゾーンを作成する ! DNSレコードを作成する ! ドメインレジストラにRoute 53ネームサーバーを 登録する
  • 14. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 14 ゾーンファイルのインポート⼿手順 1. ゾーンファイル全体をインポートしてリソースレコー ドを作成 2. まずマネジメントコンソールでホストゾーンを作成 • インポート先のゾーンは、⾃自動的に作成されるSOA、NS以外、 空でなければならない 3. 次にゾーンファイルをインポート • インポート元のゾーンファイルは、RFC1034、RFC1035に準 拠した形式
  • 15. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 15 ゾーンファイル詳細 ! ホストゾーン名とレコードに含まれるドメイン名は⼀一致 ! インポート元のゾーンファイルの$ORIGIN、$TTLキー ワードをサポート。 $GENERATE、$INCLUDEキー ワードがあれば、インポートはエラー ! インポート元のゾーンファイルのSOAレコードは無視 ! ホストゾーンと同じドメイン名のNSレコードは無視 ! 最⼤大1000レコード • 1000レコードを超える場合は、”BIND to Amazon Route 53 Conversion Tool”を使⽤用 • http://aws.amazon.com/developertools/Amazon-‐‑‒ Route-‐‑‒53/4495891528591897
  • 16. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 16 ドメイン名のみの扱い ! “エイリアス”タイプ • AWS独⾃自のレコード。 • ELB、S3のウェブサイトバケット、CloudFrontのディストリ ビューションのDNS名をドメインだけの形にして割り当てでき る。 • ルートドメインでWebサイトをホストできる。 (例例. http://mysite.com) • ELB、S3のウェブサイトバケット、CloudFrontのディストリ ビューションにマッピングされるエイリアスレコードに対する クエリは無料料。
  • 17. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 17 重みづけラウンドロビン ! レコードセットに重みを設定 ! 0から255の間で設定可能 ! 以下の式の値に⽐比例例し、同じ名前・種類 のレコードセットからクエリーに返すレ コードセットを選択 • 例例)重み3 : 重み1の場合、75%:25%の時 間割合 レコードセットの重み 同じ名前・種類のレコードセットの重みの合計
  • 18. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 18 レイテンシベースルーティング (LBR) ! 複数のリージョンでアプリケーションを動作 させる ! LBRレコードを作成 • どのリージョンでエンドポイントを動作 させているかを記述 ! エンドポイントは、EC2インスタンス, Elastic IP、またはElastic Load Balancer (ELB)を指定する ! Route 53 はエンドユーザからのアクセスを レイテンシ最⼩小のエンドポイントへ誘導する
  • 19. ! 単⼀一のリージョンでのみ動作させてい る場合よりも良良好なパフォーマンスを 提供 ! 信頼性の向上 ! DNSサーバでも実現可能だが。。 • Route 53を使えば⾃自⼒力力で⾏行行うより も楽 • ⾮非常に安価 © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 19 レイテンシベースルーティングを使うメリット 19
  • 20. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 20 レイテンシベースルーティングの舞台裏裏 ! インターネット上のホスト間のレイテンシは、時間と共に変 化 ! 舞台裏裏では、継続的にレイテンシの計測データを収集しRDS に蓄積 ! この計測データも⽤用いて、AWS各リージョンからインター ネット上のネットワークへの相対的なネットワークレイテン シのテーブルを作成 ! Route 53のレイテンシベースルーティングはこのテーブルに 基づき⾏行行われる ! 例例えば、⽶米国⻄西海岸リージョンと⽶米国東海岸リージョンに サーバーがある場合に、ある週は、⻄西海岸にルーティングさ れていても、翌週は、東海岸とのレイテンシが改善され、東 海岸にルーティングされるような場合もある
  • 21. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 21 DNSフェイルオーバーとは? ! ヘルスチェック • アプリケーションのエンド ポイントがアップまたはダ ウンしているかを判断 • 世界中の複数の場所からア プリケーションのエンドポ イントに向かって、定期的 にインターネット経由のリ クエストを送る形で実⾏行行 ! フェイルオーバー • 稼働し到達できるリソース だけをクエリーに返答 • ウェブサイトが停⽌止したこ とを検出した場合、サイト にアクセスしたユーザーを ダウンしているエンドポイ ントからリダイレクト
  • 22. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 22 DNSフェイルオーバー : ⽤用語解説 ! エンドポイント • インターネット上のロケーション • IPアドレス、URL、またはELB名で指定 • 正常な応答が返るかどうか定期的にチェックされる ! ヘルスチェック • Route 53コンソールまたはAPIで作成 • エンドポイントのチェック結果によりHealthy、または Unhealthyというステータスを持つ • ヘルスチェックと⼀一つ、または、複数のDNSレコードを関連付 けできる
  • 23. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 23 DNSフェイルオーバーの動き ! AWS各リージョン内からヘルスチェックを実施。 ! ヘルスチェックに際してRoute 53は指定したIPアドレ ス、URL、ELBに対して要求送信。成功応答を受けると ヘルスチェック合格、さもなければヘルスチェック失敗。 ! ヘルスチェックが失敗したら、関連づけられたDNSレ コード全てがInactiveになり、バックアップとして構成 されたレコードがActiveに。 ! ヘルスチェック対象のエンドポイントがフェイルしてか らDNSフェイルオーバーまで3分程度度
  • 24. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 24 ヘルスチェックの内容 ! 最初は「Healthy」と推定 ! 各データセンターのヘルスチェッカーが30秒毎にエンド ポイントにリクエストを送信 ! 三回連続してヘルスチェックがフェイルすると 「Unhealthy」に変更更 ! 三回連続してヘルスチェックが成功すると 「Unhealthy」から「Healthy」に変更更 • 「Healthy」「Unhealthy」に関わらずヘルスチェックの頻度度は ⼀一定 ! 各々のヘルスチェッカーは全世界のRoute 53 DNSサー バに結果を伝播
  • 25. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 25 ヘルスチェックの内容 ! TCPヘルスチェック • エンドポイントと4秒以内にTCPコネクションを確⽴立立できたかど うか ! HTTPヘルスチェック • エンドポイントと4秒以内にTCPコネクションを確⽴立立できたかど うか • かつ、エンドポイントから200以上400未満のHTTPステータス コードの応答を接続後、 2秒以内に受け取るか • 加えてレスポンス内容に期待する⽂文字列列が含まれるかどうか
  • 26. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 26 フェイルオーバーの注意点 ! 連鎖的障害の回避 • 全てのレコードセットが「Unhealthy」と判断された場合、Route 53は逆に全てのリソー スレコードセットは「Healthy」とみなす • 例例えば、3つのエンドポイントの1つが過負荷で停⽌止すると、Route 53 DNSサーバは、 残 りの2つから応答。万⼀一、残りの2つも過負荷でフェイルした場合には、3つのエンドポイン トすべてにリクエストを割り振る状態に復復帰 ! インターネットの切切断への対応 • インターネットの⼤大規模な分断が発⽣生した場合、Route 53の各ロケーションはエンドポイ ントのヘルスチェックについて異異なるステータスを持つ可能性。 • 例例えば⾄至近のリージョンからのヘルスチェック結果のみアクセス可能な場合があり。 • 例例)南⽶米への接続に影響を与えるようなインターネットの分断の場合、 • サンパウロのヘルスチェッカー: ⇒ サンパウロ・リージョン内のエンドポイントは「Healthy」と判断 • サンパウロのRoute 53 DNSサーバ: ⇒ サンパウロ・リージョン内のエンドポイントのレコードを応答 • ⽶米国東海岸のヘルスチェッカー: ⇒ サンパウロ・リージョン内のエンドポイントは「Unhealthy」と判断 • ⽶米国東海岸のRoute 53 DNSサーバ: ⇒ サンパウロ・リージョン以外のエンドポイントのレコードを応答 • 結果として各地域からのアクセス可能性に応じたエンドポイントのレコードを応答
  • 27. Primary (Active) © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 27 単純フェイルオーバー AWS Region Secondary (Inactive) Health Check = Healthy
  • 28. Primary (Inactive) © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 28 単純フェイルオーバー AWS Region Secondary (Active) Health Check = Unhealthy
  • 29. LBR (Active) Health Check = Healthy LBR (Active) Health Check = Healthy ELBELB © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 29 マルチリージョンフェイルオーバー AWS Region 1AWS Region 2
  • 30. LBR (Active) Health Check = Healthy LBR (Inactive) Health Check = Unhealthy ELBELB Region 2への ルーティングを停⽌止 © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 30 マルチリージョンフェイルオーバー AWS Region 1AWS Region 2
  • 31. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 31 ヘルスチェックグラフ ! Route 53が Amazon CloudWatchにヘルスチェックの 結果をパブリッシュ。 ! AWS Management ConsoleのRoute 53 タブ内でグラ フ表⽰示、さらに簡単にアクセス。
  • 32. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. GeoRouting
  • 33. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 33 GeoRoutingの設定 Routing Policy ”Geolocation”を選択 ⼤大陸陸名、国名、アメリカの州、カ ナダの州から選択
  • 34. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 34 GeoRouting設定Tips ! defaultを指定しないと、Locationに設定していない場 合にはクエリが返らない ! レコードタイプは全て⼀一致させる必要あり • AレコードやCNAMEに合わせるのがよい ! Aliasを使うと余計なクエリが必要ない
  • 35. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. ドメイン取得
  • 36. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 36 ドメインの選択 ドメイン候補を⼊入⼒力力 取得可能なドメイ ン候補が価格と共 に提⽰示される
  • 37. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 37 登録者の情報⼊入⼒力力 連絡先⼊入⼒力力は必須 プライバシー保護機能あ り
  • 38. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. ドメインの移管
  • 39. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 39 ドメイン移管はドメイン名をいれるだけ
  • 40. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 40 Amazon Route 53の料料⾦金金 ! 料料⾦金金の案内URL • http://aws.amazon.com/jp/route53/pricing/ ! ホストゾーンあたり • 最初の25ホストゾーン$0.50 USD(ホストゾーン・⽉月ごと) • それを超えるホストゾーン$0.10 USD(ホストゾーン・⽉月ご と) ! 標準的クエリ • 最初の10億クエリ$0.40 USD(100万クエリ・⽉月ごと) • 10億クエリを超える分 $0.20 USD(100万クエリ・⽉月ごと)
  • 41. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 41 Amazon Route 53の料料⾦金金(2) ! レイテンシーベースルーティングクエリ • 最初の10億クエリ$0.60 USD(100万クエリ・⽉月ごと) • 10億クエリを超える分 $0.3 USD(100万クエリ・⽉月ごと) ! Geo DNS クエリ • 最初の10億クエリ$0.70 USD(100万クエリ・⽉月ごと) • 10億クエリを超える分 $0.35 USD(100万クエリ・⽉月ごと)
  • 42. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 42 Amazon Route 53の料料⾦金金(3) ! DNS フェイルオーバーの標準ヘルスチェック • AWS内部のエンドポイントに対するヘルスチェック $0.50 USD(1件・⽉月ごと) • AWS外部のエンドポイントに対するヘルスチェック $0.75 USD(1件・⽉月ごと) ! DNS フェイルオーバーの詳細ヘルスチェック(HTTPS, レス ポンス照合、⾼高頻度度オプション) • AWS内部のエンドポイントに対するヘルスチェック $1.00 USD(1件・⽉月ごと) • AWS外部のエンドポイントに対するヘルスチェック $2.00 USD(1件・⽉月ごと) ! ドメイン登録年年間費⽤用 • ドメインごとに異異なる。.jp $100 USD、.com $12 USD、.be $9 USD、.de $9 USDなど
  • 43. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 43 Amazon Route 53の特⻑⾧長まとめ ! ⾼高可⽤用性および⾼高信頼性 • インフラ • SLA ! スケーラブル • ⾃自動的に規模を拡⼤大して⼤大量量の クエリを処理理 ! 他のアマゾン ウェブ サービス と併⽤用が可能 • ELB、S3、CloudFrontの zone apexサポート • ELBと連携したDNSフェイル オーバー ! シンプル • セルフサービスでサインアップ • 数分で開始 ! 迅速 • 全世界のグローバルエニーキャ ストネットワーク ! 経済的 • Pay as you go • サービスは低コスト • 最低利利⽤用料料⾦金金や前払⾦金金は不不要 ! セキュア • Route 53 とIAMの統合 ! ⾼高い柔軟性 • 重みづけラウンドロビン • DNSフェイルオーバー
  • 44. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 44 Route 53利利⽤用のFAQ ! IPv6対応 • AAAA, PTRレコードはIPv6に対応していますが、Route 53に 対してIPv6で問いあわせても返答しません ! プライベートIPアドレス⽬目的の利利⽤用 • 可能ですが、誰からも参照可能です ! デフォルトのTTL • 全てのレコードに対して設定する必要あり
  • 45. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 45 Appendix ! 参考資料料 • Amazon Route 53 Developer Guide http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/ Welcome.html • Amazon Route 53 FAQ http://aws.amazon.com/jp/route53/faqs/ • Amazon Route 53 料料⾦金金 http://aws.amazon.com/jp/route53/pricing/ • Amazon Route 53 SLA http://aws.amazon.com/jp/route53/sla/
  • 46. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 46 24時間・365⽇日での⽇日本語サポートの提供 ! ⽇日本語でのサポートをご提供しております http://aws.amazon.com/jp/premiumsupport/ ベーシックデベロッパービジネスエンタープライズ 受付時間24時間 / 365⽇日(年年中無休) 初回応答時間セルフサービス12時間 (営業時間内)1時間15分 サポート連絡先N/A1⼈人5⼈人無制限 チャット不不可不不可可能可能 TEL不不可不不可可能可能 専任スタッフなしなしなしあり 料料⾦金金(⽉月額)無料料(AWSの利利⽤用料料に 含まれる)$49/⽉月 AWS利利⽤用総額の 10%〜~ ※最低料料⾦金金:$100/⽉月 AWS利利⽤用総額の 10%〜~ ※最低$15,000/⽉月
  • 47. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 47 QA