SlideShare une entreprise Scribd logo
1  sur  82
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS 公式 Webinar
https://amzn.to/JPWebinar
過去資料
https://amzn.to/JPArchive
Sr.Solutions Architect
Network Specialist 菊池 之裕
2019/11/13
AWS Transit Gateway
サービスカットシリーズ
[AWS Black Belt Online Seminar]
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Black Belt Online Seminar とは
「サービス別」「ソリューション別」「業種別」のそれぞれのテーマに分かれて、アマゾ
ン ウェブ サービス ジャパン株式会社が主催するオンラインセミナーシリーズです。
質問を投げることができます!
• 書き込んだ質問は、主催者にしか見えません
• 今後のロードマップに関するご質問は
お答えできませんのでご了承下さい
Twitter ハッシュタグは以下をご利用ください
#awsblackbelt
① 吹き出しをクリック
② 質問を入力
③ Sendをクリック
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
内容についての注意点
• 本資料では2019年11月13日時点のサービス内容および価格についてご説明しています。最新の
情報はAWS公式ウェブサイト(http://aws.amazon.com)にてご確認ください。
• 資料作成には十分注意しておりますが、資料内の価格とAWS公式ウェブサイト記載の価格に相
違があった場合、AWS公式ウェブサイトの価格を優先とさせていただきます。
• 価格は税抜表記となっています。日本居住者のお客様が東京リージョンを使用する場合、別途消
費税をご請求させていただきます。
• AWS does not offer binding price quotes. AWS pricing is publicly available and is subject to
change in accordance with the AWS Customer Agreement available at
http://aws.amazon.com/agreement/. Any pricing information included in this document is provided
only as an estimate of usage charges for AWS services based on certain information that you
have provided. Monthly charges will be based on your actual use of AWS services, and may vary
from the estimates provided.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
自己紹介
名前:菊池 之裕(きくち ゆきひろ)
所属:技術統括本部 レディネス&テックソリューション本部
シニアソリューションアーキテクト ネットワークスペシャリスト
ロール:Network系サービスについてのご支援
経歴:ISP,IXP,VPN運用、開発を経てネットワーク機器、仮想
ルータ販売会社のプリセールス、プロダクトSEからAWSへ
好きな AWS サービス:AWS Transit Gateway,
AWS Direct Connect, AWS Marketplace
4
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
今回のBlackbeltで説明しないこと
• Transit Gateway用語
• アタッチメント
• アソシエート
• プロパゲート
• ルーティングテーブル
•VPC/Routingテーブルについての基礎知識
こちらの資料をご参照ください
AWS Summit Tokyo
・Transit Gateway Deep Dive アーキテクチャガイド
資料 https://pages.awscloud.com/rs/112-TZM-766/images/B1-05.pdf
動画 https://youtu.be/Y-t7Fzlr_x8
Transit Gateway 公式ドキュメント
・Amazon Virtual Private Cloud > Transit Gateways
https://docs.aws.amazon.com/ja_jp/vpc/latest/tgw/tgw-vpn-attachments.html
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
今回もってかえって頂きたいこと
• Transit Gatewayに関する深い理解
• Transit Gatewayのユースケースを理解する
• Transit Gatewayの注意点を理解する
• 必ずしもTransit Gatewayが必要ではないケースがある
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
• Transit Gatewayとは
• ユースケース
• 注意する点
• 必ずしもTransit Gatewayを使わなくてもいいケース
• まとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
• Transit Gatewayとは
• ユースケース
• 注意する点
• 必ずしもTransit Gatewayを使わなくてもいいケース
• まとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gatewayとは
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Transit Gateway
AWS Transit Gatewayは徹底的に進化することにより、クラウドネットワーキングを簡素
化しました。 Transit Gatewayを使用して、一貫した信頼性の高いネットワークパフォーマ
ンスを実現しながら、新しいVPCとオンプレミスネットワークを相互接続する時間を数週間
から数分に短縮しています!
Khoder Shamy, Director, Cloud Platform and Infrastructure, Fuze
“
”
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPN connectionCustomer gateway Amazon VPC Amazon VPC
AWS Direct Connect Gateway
VPC peering
VPC peering VPC peering
Amazon VPC Amazon VPCVPC peering
VPN connection
VPN connection
VPC peering
Transit Gateway以前のネットワーク …
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gatewayを使用すると …
Transit
Gateway
Amazon VPCAmazon VPC
Amazon VPCAmazon VPC
Customer
gateway
VPN
connection
AWS Direct
Connect Gateway
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Reference Network
Architecture
AWS
VPN
AWS Direct
Connect
Account Account Account Account IAM, cross-account roles
Route
tables
Route
tables
Transit Gateway
* 収録時点で以下のリージョンに対応
アジアパシフィック(東京、ソウル、シンガポール、
ムンバイ、シドニー)、米国(バージニア北部、オ
ハイオ、北カリフォルニア、オレゴン)、カナダ (中
部)、南アメリカ(サンパウロ)欧州 (アイルランド、
ロンドン、フランクフルト、パリ) 、 AWS
GovCloud (米国東部/西部)
Account Account
Account Account
Account Account
Account Account
Account Account
Account Account
Interne
t
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
共通リソースをAWS上に集約
管理・連携するVPCの数が増え、VPC Peeringのメッシュ化によりAWS上の構成が複雑化
多くのオンプレミス拠点がVPCへ接続
→Transit Gatewayを中心に配置し、リージョナルルーターとして経路を集中管理
オンプレミス、VPC間
のシームレスな連携、インター
ネット接続環境をAWS上のセキュ
リティアプライアンスに集約
Transit Gateway、
Private Link、マーケットプレイ
スのパートナーアプライアンス
(セキュリティ関連)
VPC
VPC
他社本社
Direct Connect
Gateway
Transit
Gateway
Endpoint
VPC
Internet
Gateway
3rd Party
Security
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
より深く: Transit GatewayとHyperPlane
VPC A VPC B VPC A VPC B VPC A VPC B
ENIENIENIENIENIENI
AWS HyperPlane
• 水平方向に拡張可能なステートマネジメント
• Tbpsを超えるマルチテナンシーのサポート
• NLB,NAT Gateway,Amazon EFSのサポート、
さらにTransit Gatewayをサポート
アタッチメント
• AZごとに1つのENI(Elastic Network Interface)
• つまりAZ内の1つのサブネットにのみアタッチ
可能
• AZごとの高信頼性
• ネットワーク容量のシャーディングによる確保
• 数十マイクロ秒の低レイテンシー
リージョン
ap-northeast-1a ap-northeast-1c ap-northeast-1d
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit GatewayのAZ間通信(VPC内オブジェクト)
Region
ap-northeast-1a
VPC subnet subnet VPC subnet subnet
ap-northeast-1c
subnet subnet subnet subnet
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit GatewayのAZ間通信(VPC内オブジェクト)
Region
ap-northeast-1a
VPC subnet subnet VPC subnet subnet
ap-northeast-1c
subnet subnet subnet subnet
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit GatewayのAZ間通信(VPC内オブジェクト)
Region
ap-northeast-1a
VPC subnet subnet VPC subnet subnet
ap-northeast-1c
subnet subnet subnet subnet
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit GatewayのAZ間通信(VPC内オブジェクト)
Region
ap-northeast-1a
VPC subnet subnet VPC subnet subnet
ap-northeast-1c
subnet subnet subnet subnet
VPC間の通信は同一AZのENIを経由して通信が行われる
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit GatewayのAZ間通信(VPC内オブジェクト)
Region
ap-northeast-1a
VPC subnet subnet
VPC subnet subnet
ap-northeast-1c
subnet subnet
ap-northeast-1d
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit GatewayのAZ間通信(VPC内オブジェクト)
Region
ap-northeast-1a
VPC subnet subnet
VPC subnet subnet
ap-northeast-1c
subnet subnet
ap-northeast-1d
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit GatewayのAZ間通信(VPC内オブジェクト)
Region
ap-northeast-1a
VPC subnet subnet
VPC subnet subnet
ap-northeast-1c
subnet subnet
ap-northeast-1d
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit GatewayのAZ間通信(VPC内オブジェクト)
Region
ap-northeast-1a
VPC subnet subnet
VPC subnet subnet
ap-northeast-1c
subnet subnet
送信先に同一AZが存在しない場合は、存在するAZのENIのいずれかに
出力され、通信ができる
ap-northeast-1d
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
• Transit Gatewayとは
• ユースケース
• 注意する点
• 必ずしもTransit Gatewayを使わなくてもいいケース
• まとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ユースケース
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ユースケース
• 自由に通信できるRoute Domain
• VPC間の通信を制限するRoute Domain
• インターネットに自由に通信できるOutbound Route Domain
• VPC間のトラフィックをインライン監査するRoute Domains
• Transit Gateway + Direct Connect/VPN
• 多拠点を収容するVPN Hub
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gateway
Route Destination
10.1.0.0/16 vpc-att-1xxxxxxx
10.2.0.0/16 vpc-att-2xxxxxxx
10.3.0.0/16 vpc-att-3xxxxxxx
10.0.0.0/8 VPN
Default
routing domain
ルートテーブルは1つ
VPC VPC VPC
Transit Gatewayで自由に通信させる Route Domain
(デフォルト動作)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gatewayで自由に通信させる Route Domain
(デフォルト動作)
Transit Gateway
Route Destination
10.1.0.0/16 vpc-att-1xxxxxxx
10.2.0.0/16 vpc-att-2xxxxxxx
10.3.0.0/16 vpc-att-3xxxxxxx
10.0.0.0/8 VPN
Default
routing domain
ルートテーブルは1つ
VPC VPC VPC
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
自由に通信させるRoute Domainのポイント
• メリット
• Transit Gatewayのルーティングテーブルを扱わなくて良い
• プラグアンドプレイで相互接続可能
•デメリット
• 相互接続を制限したいときにTGWのみでは難しい
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
自由に通信させるRoute Domainのポイント
• メリット
• Transit Gatewayのルーティングテーブルを扱わなくて良い
• プラグアンドプレイで相互接続可能
•デメリット
• 相互接続を制限したいときにTGWのみでは難しい
VPC内でNACL,Security Groupで制限すれば良い
ルーティングになれていない人にはおススメ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gatewayで通信制限する Route Domain
Transit Gateway
Shared
services
VP
N
VPC
Route Destination
10.1.0.0/16 vpc-att-1xxxx
10.2.0.0/16 vpc-att-2xxxx
Route Destination
10.3.0.0/16 vpc-att-3xxxx
10.4.0.0/16 vpc-att-4xxxx
Route Destination
10.0.0.0/8 VPN
10.4.0.0/16 vpc-att-4xxxx
VPCは共有リソースへのルートを
持つルートテーブルにアタッチ
共有リソースはすべてのリソース
へのルートを持つルートテーブル
にアタッチ
Shared serviceと
VPN向けのみの経路
それぞれのVPC向け
の経路
VPC間相互通信不可
VPC1 VPC3 VPC
4
VPC2
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gatewayで通信制限する Route Domainのポイント
• メリット
• Transit GatewayですべてのVPC/DX/VPN間の通信を制御
• マルチアカウントでVPC内を制御できないときに最適
•デメリット
• ルーティングテーブルが複数必要になるため、ルーティングの知識
がある程度必要。
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gatewayで通信制限する Route Domainのポイント
• メリット
• Transit GatewayですべてのVPC/DX/VPN間の通信を制御
• マルチアカウントでVPC内を制御できないときに最適
•デメリット
• ルーティングテーブルが複数必要になるため、ルーティングの知識
がある程度必要。
Transit Gatewayをインフラ部隊、VPCを各開発部隊で
自由に扱ってもらいたい場合におススメ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
インターネットに抜けるOutbound Route Domain
Transit Gateway
VP
N
Route Destination
10.1.0.0/16 vpc-att-1xxxxxxx
10.2.0.0/16 vpc-att-2xxxxxxx
10.3.0.0/16 vpc-att-3xxxxxxx
10.0.0.0/8 VPN
0.0.0.0/0 vpc-att-4xxxxxx
Default
routing domain
インターネットVPC
向けの経路
VPC1 VPC3 VPC
4
VPC2
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
インターネットに抜けるOutbound Route Domain
Transit Gateway
VP
N
Route Destination
10.1.0.0/16 vpc-att-1xxxxxxx
10.2.0.0/16 vpc-att-2xxxxxxx
10.3.0.0/16 vpc-att-3xxxxxxx
10.0.0.0/8 VPN
0.0.0.0/0 vpc-att-4xxxxxx
Default
routing domain
インターネットVPC
向けの経路
VPC1 VPC3 VPC
4
VPC2
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Outbound Services VPC詳細
戻りの経路を書く
VPC – 10.1.0.0/16
SubnetSubnet
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC間のトラフィックをインライン監査するRoute
Domains
Transit Gateway
VPC
To MiddleBox
Route Destination
10.1.0.0/16 vpc-att-1xxxx
10.2.0.0/16 vpc-att-2xxxx
Route Destination
10.3.0.0/16 vpc-att-3xxxx
10.4.0.0/16 vpc-att-4xxxx
Route Destination
0.0.0.0/0 vpc-att-4xxxx
インライン監査向け
の経路
それぞれのVPC向け
の経路
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
インスタンスの冗長
• 監査用のインスタンスを監視する仕組みが必要
• NATインスタンスの時と同様にルーティングテーブルをいじるLambdaなど
を作って監視する
VPC – 10.1.0.0/16
SubnetSubnet
M
Subnet Subnet
M
監査を行うインスタンスに対する
監視が必要
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gateway 接続概要(1/5)
Direct Connect GatewayとVPCの間に入る構成、VGWは不要
Transit仮想インターフェイス(VIF)を利用する点に注意
オフィス
データセンター
東京リージョン
VPC:Account X
VPC:Account Y
VPC:Account Z
Direct
Connect
Gateway
Attach
Direct Connect 接続
Transit
Gateway
AWS
ルーター
Attach
Attach
Attach
Transit VIF
VIF/DXGW:
Account A
TGW:
Account B
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gateway 接続概要(2/5)
Direct Connect GatewayとVPCの間に入る構成、VGWは不要
Transit仮想インターフェイス(VIF)を利用する点に注意
オフィス
データセンター
東京リージョン
Transit VIF
VPC:Account X
VPC:Account Y
VPC:Account Z
Direct
Connect
Gateway
Attach
Direct Connect 接続
Transit
Gateway
AWS
ルーター
Attach
Attach
Attach
VIF/DXGW:
Account A
TGW:
Account B
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gateway 接続概要(3/5)
Direct connect GatewayとTransit Gatewayは別アカウントでもアタッチ可能
(2019/10/4 制限削除※1)
オフィス
データセンター
東京リージョン
Transit VIF
VPC:Account X
VPC:Account Y
VPC:Account Z
Direct
Connect
Gateway
Attach
Direct Connect 接続
Transit
Gateway
AWS
ルーター
Attach
Attach
Attach
VIF/DXGW:
Account A
TGW:
Account B
※1 https://aws.amazon.com/jp/about-aws/whats-new/2019/10/aws-direct-connect-aws-direct-connect-announces-the-support-for-granular-cost-allocation-
and-removal-of-payer-id-restriction-for-direct-connect-gateway-association/
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gateway 接続概要(4/5)
Transit GatewayにアタッチするVPCは他のAWSアカウントで管理されていてもよ
い
オフィス
データセンター
東京リージョン
Transit VIF
VPC:Account X
VPC:Account Y
VPC:Account Z
Direct
Connect
Gateway
Attach
Direct Connect 接続
Transit
Gateway
AWS
ルーター
Attach
Attach
Attach
VIF/DXGW:
Account A
TGW:
Account B
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gateway 接続概要(5/5)
Transit GatewayにアタッチするVPCは他のAWSアカウントで管理されていてもよ
い
オフィス
データセンター
東京リージョン
Transit VIF
VPC:Account X
VPC:Account Y
VPC:Account Z
DXGW-A
Attach
Direct Connect 接続
Transit
Gateway
AWS
ルーター
Attach
Attach
Attach
VIF/DXGW:
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TY2経由
Transit Gateway 冗長化: Transit VIF x 2
回線冗長化の考え方は、Direct Connect Gatewayと同じ
東京リージョン
10.1.0.0/16
10.2.0.0/16
10.3.0.0/16
Direct
Connec
t
Gatewa
y
Direct Connect 接続1
Transit
VIF 1
Transit
GatewayDirect Connect 接続2 Transit
VIF 2CC1経由
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gateway 冗長化: AWS VPN
AWS VPNをバックアップとして利用する事も可能
Site-to-Site VPNでTransit Gatewayへ直接接続
東京リージョン
10.1.0.0/16
10.2.0.0/16
10.3.0.0/16
Direct
Connect
Gateway
Direct Connect 接続
Transit
VIF
Transit
Gateway
通信を複数のVPNに
分散可能(ECMP)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS VPNではデフォルトで10VPN接続まで(上限緩和可能)
従来の接続モデル
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
従来の接続モデル(2)
AWS Cloud
VPC
VPN Connection
多数のVPNサーバインスタンスと
独自管理の必要性
Direct Connectは別管理
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
つまり・・・多拠点でのアーキテクチャ
AWS Cloud
VPC
AWS Transit Gateway
最大5000VPN拠点(VPC,Direct Connectを拠点数
に含む)まで接続可能
Direct Connectも集約可能
Direct Connect
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
多拠点だと・・・
Route
tables
Route
tables
Transit Gateway
VPC VPC VPC
Outbound
VPC
Internet
VP
N
Direct Connect
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
多拠点だと・・・
Route
tables
Route
tables
Transit Gateway
VPC VPC VPC
Outbound
VPC
Internet
VP
N
Direct Connect
多拠点接続を
フルマネージドで
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
• Transit Gatewayとは
• ユースケース
• 注意する点
• 必ずしもTransit Gatewayを使わなくてもいいケース
• まとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
注意する点
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TIPS:Transit Gateway アタッチメントの設計
Region
ap-northeast-1a
VPC subnet subnet VPC subnet subnet
ap-northeast-1c
subnet subnet subnet subnet
Public
subne
t
Public
subne
t
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TIPS:Transit Gateway アタッチメントの設計
Region
ap-northeast-1a
VPC subnet subnet VPC subnet subnet
ap-northeast-1c
subnet subnet subnet subnet
Public
subne
t
Public
subne
t
TGWのアタッチメントENIに専用サブネットを作るのをオススメ
インスタンス等と同居するとTGWからの経路の影響を受ける
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gatewayの制限
制限 デフォルト
AWS Transit Gateway アタッチメントの数
5,000
VPN 接続ごとの最大帯域幅* 1.25 Gbps
VPC 接続ごとの最大帯域幅 (バースト) 50 Gbps
アカウントあたりの AWS Transit Gateway の数
5
VPC あたりの AWS Transit Gateway アタッチメントの数
5
ルートの数 10,000
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Direct ConnectのTransit Gatewayに関する制限
制限 デフォルト
AWS Direct Connect 専用接続あたりのトランジット仮想インターフェイス
数
1
AWS Direct Connect ホスト接続あたりのプライベート、
パブリック、またはトランジット仮想インターフェイス数
1 1
AWS Direct Connect ゲートウェイあたりのトランジットゲートウェイ数 3
AWS からトランジット仮想インターフェイスの AWS への AWS Transit
Gateway ごとのプレフィックス数 20
1: キャパシティーが 1 Gbps 未満のホスト接続で、トランジット仮想インターフェイスを作成する
ことはできません。(つまり、Sub10Gが必須)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit GatewayにおけるDNSクエリ
VPC
10.0.1.3
ip-192.168.1.3.ap-northeast-1.compute.internal
のIPアドレスは?
192.168.1.3です
VPC
ip-192.168.1.3.ap-northeast-1.compute.internal
Transit
Gateway
ENI ENI
Amazon
Route 53
Resolver
Route 53
Resolver
Endpoint
【クロスアカウントやVPN接続の場合】
Route 53 Resolver Endpoint が必要
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
再掲:Transit GatewayのAZ間通信(VPC内オブジェクト)
Region
ap-northeast-1a
VPC subnet subnet VPC subnet subnet
ap-northeast-1c
subnet subnet subnet subnet
VPC間の通信は同一AZのENIを経由して通信が行われる
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
わざとTGWのアタッチメントから特定Subnetを抜く
Region
ap-northeast-1a
VPC subnet subnet VPC subnet subnet
ap-northeast-1c
subnet subnet subnet subnet
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Pingを飛ばしてみる
Region
ap-northeast-1a
VPC subnet subnet VPC subnet subnet
ap-northeast-1c
subnet subnet subnet subnet
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Ping…
Region
ap-northeast-1a
VPC subnet subnet VPC subnet subnet
ap-northeast-1c
VPC subnet subnet subnet subnet
VPC
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
パケットが通らないのは、、
ap-northeast-1a
VPC subnet subnet VPC subnet subnet
ap-northeast-1c
subnet subnet subnet subnet
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
パケットが通らないのは、、
ap-northeast-1a
VPC subnet subnet VPC subnet subnet
ap-northeast-1c
subnet subnet subnet subnet
戻りのENIが存在しないのでパケットが戻れない>不通になる
アタッチメント時、すべてのAZにTGWのENIをつけること(必須)
https://docs.aws.amazon.com/ja_jp/vpc/latest/tgw/tgw-vpc-attachments.html
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
• Transit Gatewayとは
• ユースケース
• 注意する点
• 必ずしもTransit Gatewayを使わなくてもいいケース
• まとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
必ずしもTransit Gatewayを使わなく
てもいいケース
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gatewayで通信制限する Route Domain(Direct Connect)
Transit Gateway
Shared
services
Direct
Connect
VPC
Route Destination
10.1.0.0/16 vpc-att-1xxxx
10.2.0.0/16 vpc-att-2xxxx
Route Destination
10.3.0.0/16 vpc-att-3xxxx
10.4.0.0/16 vpc-att-4xxxx
Route Destination
10.0.0.0/8 VPN
VPCは共有リソースへのルートを
持つルートテーブルにアタッチ
共有リソースはすべてのリソース
へのルートを持つルートテーブル
にアタッチ
Direct Connect
向けのみの経路
それぞれのVPC向け
の経路
VPC間相互通信不可
VPC1 VPC3 VPC
4
VPC2
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC Peering/DXGWで通信制限する Route Domain(Direct Connect)
Direct
Connect
VPCは共有リソースへのルートを
持つVPC Peeringを利用
オンプレミス - VPC間はDXGWで
接続(VPC間は通信できない)
VPC間相互通信不可
VPC1 VPC3 VPC
4
VPC2
Direct
Connect
Gateway
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC Peering/DXGWで通信制限する Route Domain(Direct Connect)
Direct
Connect
VPCは共有リソースへのルートを
持つVPC Peeringを利用
オンプレミス - VPC間はDXGWで
接続(VPC間は通信できない)
VPC間相互通信不可
VPC1 VPC3 VPC
4
VPC2
Direct
Connect
Gateway
Transit Gatewayを使わずともVPC PeeringとDXGWで通信制限は可能
TGWに比べてコスト削減になる
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
[参考] Transit Gatewayの料金について
英語の表記となりますが、以下にて詳細を説明しております。
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
[参考] Transit Gatewayの料金について(続き)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
本日のアジェンダ
• Transit Gatewayとは
• ユースケース
• 注意する点
• 必ずしもTransit Gatewayを使わなくてもいいケース
• まとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
まとめ
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
まとめ
• Transit Gatewayに関する深い理解
• Transit Gatewayのユースケースを理解する
• Transit Gatewayの注意点を理解する
• 必ずしもTransit Gatewayが必要ではないケースがある
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Q&A
お答えできなかったご質問については
AWS Japan Blog 「https://aws.amazon.com/jp/blogs/news/」にて
後日掲載します。
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS の日本語資料の場所「AWS 資料」で検索
https://amzn.to/JPArchive
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
毎週” 個別技術相談会”を実施中
• のソリューションアーキテクト に
対策などを相談することも可能
• 申込みはイベント告知サイトから
(https://aws.amazon.com/jp/about-aws/events/)
AWS Well-Architected 個別技術相談会
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS 公式 Webinar
https://amzn.to/JPWebinar
過去資料
https://amzn.to/JPArchive
ご視聴ありがとうございました

Contenu connexe

Plus de Amazon Web Services Japan

202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用Amazon Web Services Japan
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdfAmazon Web Services Japan
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介Amazon Web Services Japan
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon Web Services Japan
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことAmazon Web Services Japan
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチAmazon Web Services Japan
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介Amazon Web Services Japan
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer ProfilesAmazon Web Services Japan
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Web Services Japan
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨Amazon Web Services Japan
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介Amazon Web Services Japan
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介Amazon Web Services Japan
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...Amazon Web Services Japan
 
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピAmazon Web Services Japan
 
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operationsAmazon Web Services Japan
 
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報Amazon Web Services Japan
 
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをなAmazon Web Services Japan
 
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPNAmazon Web Services Japan
 

Plus de Amazon Web Services Japan (20)

202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDD
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのこと
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
 
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
 
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
 
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
 
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
 
20211109 JAWS-UG SRE keynotes
20211109 JAWS-UG SRE keynotes20211109 JAWS-UG SRE keynotes
20211109 JAWS-UG SRE keynotes
 
20211109 bleaの使い方(基本編)
20211109 bleaの使い方(基本編)20211109 bleaの使い方(基本編)
20211109 bleaの使い方(基本編)
 
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
 

Dernier

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 

Dernier (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

20191113 AWS Black Belt Online Seminar AWS Transit Gateway

  • 1. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS 公式 Webinar https://amzn.to/JPWebinar 過去資料 https://amzn.to/JPArchive Sr.Solutions Architect Network Specialist 菊池 之裕 2019/11/13 AWS Transit Gateway サービスカットシリーズ [AWS Black Belt Online Seminar]
  • 2. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Black Belt Online Seminar とは 「サービス別」「ソリューション別」「業種別」のそれぞれのテーマに分かれて、アマゾ ン ウェブ サービス ジャパン株式会社が主催するオンラインセミナーシリーズです。 質問を投げることができます! • 書き込んだ質問は、主催者にしか見えません • 今後のロードマップに関するご質問は お答えできませんのでご了承下さい Twitter ハッシュタグは以下をご利用ください #awsblackbelt ① 吹き出しをクリック ② 質問を入力 ③ Sendをクリック
  • 3. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 内容についての注意点 • 本資料では2019年11月13日時点のサービス内容および価格についてご説明しています。最新の 情報はAWS公式ウェブサイト(http://aws.amazon.com)にてご確認ください。 • 資料作成には十分注意しておりますが、資料内の価格とAWS公式ウェブサイト記載の価格に相 違があった場合、AWS公式ウェブサイトの価格を優先とさせていただきます。 • 価格は税抜表記となっています。日本居住者のお客様が東京リージョンを使用する場合、別途消 費税をご請求させていただきます。 • AWS does not offer binding price quotes. AWS pricing is publicly available and is subject to change in accordance with the AWS Customer Agreement available at http://aws.amazon.com/agreement/. Any pricing information included in this document is provided only as an estimate of usage charges for AWS services based on certain information that you have provided. Monthly charges will be based on your actual use of AWS services, and may vary from the estimates provided.
  • 4. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 自己紹介 名前:菊池 之裕(きくち ゆきひろ) 所属:技術統括本部 レディネス&テックソリューション本部 シニアソリューションアーキテクト ネットワークスペシャリスト ロール:Network系サービスについてのご支援 経歴:ISP,IXP,VPN運用、開発を経てネットワーク機器、仮想 ルータ販売会社のプリセールス、プロダクトSEからAWSへ 好きな AWS サービス:AWS Transit Gateway, AWS Direct Connect, AWS Marketplace 4
  • 5. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 今回のBlackbeltで説明しないこと • Transit Gateway用語 • アタッチメント • アソシエート • プロパゲート • ルーティングテーブル •VPC/Routingテーブルについての基礎知識 こちらの資料をご参照ください AWS Summit Tokyo ・Transit Gateway Deep Dive アーキテクチャガイド 資料 https://pages.awscloud.com/rs/112-TZM-766/images/B1-05.pdf 動画 https://youtu.be/Y-t7Fzlr_x8 Transit Gateway 公式ドキュメント ・Amazon Virtual Private Cloud > Transit Gateways https://docs.aws.amazon.com/ja_jp/vpc/latest/tgw/tgw-vpn-attachments.html
  • 6. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 今回もってかえって頂きたいこと • Transit Gatewayに関する深い理解 • Transit Gatewayのユースケースを理解する • Transit Gatewayの注意点を理解する • 必ずしもTransit Gatewayが必要ではないケースがある
  • 7. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ • Transit Gatewayとは • ユースケース • 注意する点 • 必ずしもTransit Gatewayを使わなくてもいいケース • まとめ
  • 8. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ • Transit Gatewayとは • ユースケース • 注意する点 • 必ずしもTransit Gatewayを使わなくてもいいケース • まとめ
  • 9. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gatewayとは
  • 10. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Transit Gateway AWS Transit Gatewayは徹底的に進化することにより、クラウドネットワーキングを簡素 化しました。 Transit Gatewayを使用して、一貫した信頼性の高いネットワークパフォーマ ンスを実現しながら、新しいVPCとオンプレミスネットワークを相互接続する時間を数週間 から数分に短縮しています! Khoder Shamy, Director, Cloud Platform and Infrastructure, Fuze “ ”
  • 11. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPN connectionCustomer gateway Amazon VPC Amazon VPC AWS Direct Connect Gateway VPC peering VPC peering VPC peering Amazon VPC Amazon VPCVPC peering VPN connection VPN connection VPC peering Transit Gateway以前のネットワーク …
  • 12. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gatewayを使用すると … Transit Gateway Amazon VPCAmazon VPC Amazon VPCAmazon VPC Customer gateway VPN connection AWS Direct Connect Gateway
  • 13. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Reference Network Architecture AWS VPN AWS Direct Connect Account Account Account Account IAM, cross-account roles Route tables Route tables Transit Gateway * 収録時点で以下のリージョンに対応 アジアパシフィック(東京、ソウル、シンガポール、 ムンバイ、シドニー)、米国(バージニア北部、オ ハイオ、北カリフォルニア、オレゴン)、カナダ (中 部)、南アメリカ(サンパウロ)欧州 (アイルランド、 ロンドン、フランクフルト、パリ) 、 AWS GovCloud (米国東部/西部) Account Account Account Account Account Account Account Account Account Account Account Account Interne t
  • 14. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 共通リソースをAWS上に集約 管理・連携するVPCの数が増え、VPC Peeringのメッシュ化によりAWS上の構成が複雑化 多くのオンプレミス拠点がVPCへ接続 →Transit Gatewayを中心に配置し、リージョナルルーターとして経路を集中管理 オンプレミス、VPC間 のシームレスな連携、インター ネット接続環境をAWS上のセキュ リティアプライアンスに集約 Transit Gateway、 Private Link、マーケットプレイ スのパートナーアプライアンス (セキュリティ関連) VPC VPC 他社本社 Direct Connect Gateway Transit Gateway Endpoint VPC Internet Gateway 3rd Party Security
  • 15. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. より深く: Transit GatewayとHyperPlane VPC A VPC B VPC A VPC B VPC A VPC B ENIENIENIENIENIENI AWS HyperPlane • 水平方向に拡張可能なステートマネジメント • Tbpsを超えるマルチテナンシーのサポート • NLB,NAT Gateway,Amazon EFSのサポート、 さらにTransit Gatewayをサポート アタッチメント • AZごとに1つのENI(Elastic Network Interface) • つまりAZ内の1つのサブネットにのみアタッチ 可能 • AZごとの高信頼性 • ネットワーク容量のシャーディングによる確保 • 数十マイクロ秒の低レイテンシー リージョン ap-northeast-1a ap-northeast-1c ap-northeast-1d
  • 16. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit GatewayのAZ間通信(VPC内オブジェクト) Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet subnet subnet
  • 17. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit GatewayのAZ間通信(VPC内オブジェクト) Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet subnet subnet
  • 18. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit GatewayのAZ間通信(VPC内オブジェクト) Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet subnet subnet
  • 19. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit GatewayのAZ間通信(VPC内オブジェクト) Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet subnet subnet VPC間の通信は同一AZのENIを経由して通信が行われる
  • 20. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit GatewayのAZ間通信(VPC内オブジェクト) Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet ap-northeast-1d
  • 21. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit GatewayのAZ間通信(VPC内オブジェクト) Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet ap-northeast-1d
  • 22. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit GatewayのAZ間通信(VPC内オブジェクト) Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet ap-northeast-1d
  • 23. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit GatewayのAZ間通信(VPC内オブジェクト) Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet 送信先に同一AZが存在しない場合は、存在するAZのENIのいずれかに 出力され、通信ができる ap-northeast-1d
  • 24. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ • Transit Gatewayとは • ユースケース • 注意する点 • 必ずしもTransit Gatewayを使わなくてもいいケース • まとめ
  • 25. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ユースケース
  • 26. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ユースケース • 自由に通信できるRoute Domain • VPC間の通信を制限するRoute Domain • インターネットに自由に通信できるOutbound Route Domain • VPC間のトラフィックをインライン監査するRoute Domains • Transit Gateway + Direct Connect/VPN • 多拠点を収容するVPN Hub
  • 27. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 28. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gateway Route Destination 10.1.0.0/16 vpc-att-1xxxxxxx 10.2.0.0/16 vpc-att-2xxxxxxx 10.3.0.0/16 vpc-att-3xxxxxxx 10.0.0.0/8 VPN Default routing domain ルートテーブルは1つ VPC VPC VPC Transit Gatewayで自由に通信させる Route Domain (デフォルト動作)
  • 29. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gatewayで自由に通信させる Route Domain (デフォルト動作) Transit Gateway Route Destination 10.1.0.0/16 vpc-att-1xxxxxxx 10.2.0.0/16 vpc-att-2xxxxxxx 10.3.0.0/16 vpc-att-3xxxxxxx 10.0.0.0/8 VPN Default routing domain ルートテーブルは1つ VPC VPC VPC
  • 30. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 自由に通信させるRoute Domainのポイント • メリット • Transit Gatewayのルーティングテーブルを扱わなくて良い • プラグアンドプレイで相互接続可能 •デメリット • 相互接続を制限したいときにTGWのみでは難しい
  • 31. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 自由に通信させるRoute Domainのポイント • メリット • Transit Gatewayのルーティングテーブルを扱わなくて良い • プラグアンドプレイで相互接続可能 •デメリット • 相互接続を制限したいときにTGWのみでは難しい VPC内でNACL,Security Groupで制限すれば良い ルーティングになれていない人にはおススメ
  • 32. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 33. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gatewayで通信制限する Route Domain Transit Gateway Shared services VP N VPC Route Destination 10.1.0.0/16 vpc-att-1xxxx 10.2.0.0/16 vpc-att-2xxxx Route Destination 10.3.0.0/16 vpc-att-3xxxx 10.4.0.0/16 vpc-att-4xxxx Route Destination 10.0.0.0/8 VPN 10.4.0.0/16 vpc-att-4xxxx VPCは共有リソースへのルートを 持つルートテーブルにアタッチ 共有リソースはすべてのリソース へのルートを持つルートテーブル にアタッチ Shared serviceと VPN向けのみの経路 それぞれのVPC向け の経路 VPC間相互通信不可 VPC1 VPC3 VPC 4 VPC2
  • 34. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gatewayで通信制限する Route Domainのポイント • メリット • Transit GatewayですべてのVPC/DX/VPN間の通信を制御 • マルチアカウントでVPC内を制御できないときに最適 •デメリット • ルーティングテーブルが複数必要になるため、ルーティングの知識 がある程度必要。
  • 35. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gatewayで通信制限する Route Domainのポイント • メリット • Transit GatewayですべてのVPC/DX/VPN間の通信を制御 • マルチアカウントでVPC内を制御できないときに最適 •デメリット • ルーティングテーブルが複数必要になるため、ルーティングの知識 がある程度必要。 Transit Gatewayをインフラ部隊、VPCを各開発部隊で 自由に扱ってもらいたい場合におススメ
  • 36. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 37. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. インターネットに抜けるOutbound Route Domain Transit Gateway VP N Route Destination 10.1.0.0/16 vpc-att-1xxxxxxx 10.2.0.0/16 vpc-att-2xxxxxxx 10.3.0.0/16 vpc-att-3xxxxxxx 10.0.0.0/8 VPN 0.0.0.0/0 vpc-att-4xxxxxx Default routing domain インターネットVPC 向けの経路 VPC1 VPC3 VPC 4 VPC2
  • 38. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. インターネットに抜けるOutbound Route Domain Transit Gateway VP N Route Destination 10.1.0.0/16 vpc-att-1xxxxxxx 10.2.0.0/16 vpc-att-2xxxxxxx 10.3.0.0/16 vpc-att-3xxxxxxx 10.0.0.0/8 VPN 0.0.0.0/0 vpc-att-4xxxxxx Default routing domain インターネットVPC 向けの経路 VPC1 VPC3 VPC 4 VPC2
  • 39. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Outbound Services VPC詳細 戻りの経路を書く VPC – 10.1.0.0/16 SubnetSubnet
  • 40. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC間のトラフィックをインライン監査するRoute Domains Transit Gateway VPC To MiddleBox Route Destination 10.1.0.0/16 vpc-att-1xxxx 10.2.0.0/16 vpc-att-2xxxx Route Destination 10.3.0.0/16 vpc-att-3xxxx 10.4.0.0/16 vpc-att-4xxxx Route Destination 0.0.0.0/0 vpc-att-4xxxx インライン監査向け の経路 それぞれのVPC向け の経路
  • 41. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. インスタンスの冗長 • 監査用のインスタンスを監視する仕組みが必要 • NATインスタンスの時と同様にルーティングテーブルをいじるLambdaなど を作って監視する VPC – 10.1.0.0/16 SubnetSubnet M Subnet Subnet M 監査を行うインスタンスに対する 監視が必要
  • 42. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 43. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gateway 接続概要(1/5) Direct Connect GatewayとVPCの間に入る構成、VGWは不要 Transit仮想インターフェイス(VIF)を利用する点に注意 オフィス データセンター 東京リージョン VPC:Account X VPC:Account Y VPC:Account Z Direct Connect Gateway Attach Direct Connect 接続 Transit Gateway AWS ルーター Attach Attach Attach Transit VIF VIF/DXGW: Account A TGW: Account B
  • 44. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gateway 接続概要(2/5) Direct Connect GatewayとVPCの間に入る構成、VGWは不要 Transit仮想インターフェイス(VIF)を利用する点に注意 オフィス データセンター 東京リージョン Transit VIF VPC:Account X VPC:Account Y VPC:Account Z Direct Connect Gateway Attach Direct Connect 接続 Transit Gateway AWS ルーター Attach Attach Attach VIF/DXGW: Account A TGW: Account B
  • 45. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gateway 接続概要(3/5) Direct connect GatewayとTransit Gatewayは別アカウントでもアタッチ可能 (2019/10/4 制限削除※1) オフィス データセンター 東京リージョン Transit VIF VPC:Account X VPC:Account Y VPC:Account Z Direct Connect Gateway Attach Direct Connect 接続 Transit Gateway AWS ルーター Attach Attach Attach VIF/DXGW: Account A TGW: Account B ※1 https://aws.amazon.com/jp/about-aws/whats-new/2019/10/aws-direct-connect-aws-direct-connect-announces-the-support-for-granular-cost-allocation- and-removal-of-payer-id-restriction-for-direct-connect-gateway-association/
  • 46. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gateway 接続概要(4/5) Transit GatewayにアタッチするVPCは他のAWSアカウントで管理されていてもよ い オフィス データセンター 東京リージョン Transit VIF VPC:Account X VPC:Account Y VPC:Account Z Direct Connect Gateway Attach Direct Connect 接続 Transit Gateway AWS ルーター Attach Attach Attach VIF/DXGW: Account A TGW: Account B
  • 47. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gateway 接続概要(5/5) Transit GatewayにアタッチするVPCは他のAWSアカウントで管理されていてもよ い オフィス データセンター 東京リージョン Transit VIF VPC:Account X VPC:Account Y VPC:Account Z DXGW-A Attach Direct Connect 接続 Transit Gateway AWS ルーター Attach Attach Attach VIF/DXGW:
  • 48. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TY2経由 Transit Gateway 冗長化: Transit VIF x 2 回線冗長化の考え方は、Direct Connect Gatewayと同じ 東京リージョン 10.1.0.0/16 10.2.0.0/16 10.3.0.0/16 Direct Connec t Gatewa y Direct Connect 接続1 Transit VIF 1 Transit GatewayDirect Connect 接続2 Transit VIF 2CC1経由
  • 49. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gateway 冗長化: AWS VPN AWS VPNをバックアップとして利用する事も可能 Site-to-Site VPNでTransit Gatewayへ直接接続 東京リージョン 10.1.0.0/16 10.2.0.0/16 10.3.0.0/16 Direct Connect Gateway Direct Connect 接続 Transit VIF Transit Gateway 通信を複数のVPNに 分散可能(ECMP)
  • 50. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 51. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS VPNではデフォルトで10VPN接続まで(上限緩和可能) 従来の接続モデル
  • 52. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 従来の接続モデル(2) AWS Cloud VPC VPN Connection 多数のVPNサーバインスタンスと 独自管理の必要性 Direct Connectは別管理
  • 53. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. つまり・・・多拠点でのアーキテクチャ AWS Cloud VPC AWS Transit Gateway 最大5000VPN拠点(VPC,Direct Connectを拠点数 に含む)まで接続可能 Direct Connectも集約可能 Direct Connect
  • 54. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 多拠点だと・・・ Route tables Route tables Transit Gateway VPC VPC VPC Outbound VPC Internet VP N Direct Connect
  • 55. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 多拠点だと・・・ Route tables Route tables Transit Gateway VPC VPC VPC Outbound VPC Internet VP N Direct Connect 多拠点接続を フルマネージドで
  • 56. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ • Transit Gatewayとは • ユースケース • 注意する点 • 必ずしもTransit Gatewayを使わなくてもいいケース • まとめ
  • 57. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 注意する点
  • 58. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TIPS:Transit Gateway アタッチメントの設計 Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet subnet subnet Public subne t Public subne t
  • 59. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TIPS:Transit Gateway アタッチメントの設計 Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet subnet subnet Public subne t Public subne t TGWのアタッチメントENIに専用サブネットを作るのをオススメ インスタンス等と同居するとTGWからの経路の影響を受ける
  • 60. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gatewayの制限 制限 デフォルト AWS Transit Gateway アタッチメントの数 5,000 VPN 接続ごとの最大帯域幅* 1.25 Gbps VPC 接続ごとの最大帯域幅 (バースト) 50 Gbps アカウントあたりの AWS Transit Gateway の数 5 VPC あたりの AWS Transit Gateway アタッチメントの数 5 ルートの数 10,000
  • 61. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Direct ConnectのTransit Gatewayに関する制限 制限 デフォルト AWS Direct Connect 専用接続あたりのトランジット仮想インターフェイス 数 1 AWS Direct Connect ホスト接続あたりのプライベート、 パブリック、またはトランジット仮想インターフェイス数 1 1 AWS Direct Connect ゲートウェイあたりのトランジットゲートウェイ数 3 AWS からトランジット仮想インターフェイスの AWS への AWS Transit Gateway ごとのプレフィックス数 20 1: キャパシティーが 1 Gbps 未満のホスト接続で、トランジット仮想インターフェイスを作成する ことはできません。(つまり、Sub10Gが必須)
  • 62. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit GatewayにおけるDNSクエリ VPC 10.0.1.3 ip-192.168.1.3.ap-northeast-1.compute.internal のIPアドレスは? 192.168.1.3です VPC ip-192.168.1.3.ap-northeast-1.compute.internal Transit Gateway ENI ENI Amazon Route 53 Resolver Route 53 Resolver Endpoint 【クロスアカウントやVPN接続の場合】 Route 53 Resolver Endpoint が必要
  • 63. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 再掲:Transit GatewayのAZ間通信(VPC内オブジェクト) Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet subnet subnet VPC間の通信は同一AZのENIを経由して通信が行われる
  • 64. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. わざとTGWのアタッチメントから特定Subnetを抜く Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet subnet subnet
  • 65. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Pingを飛ばしてみる Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet subnet subnet
  • 66. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Ping… Region ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c VPC subnet subnet subnet subnet VPC
  • 67. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. パケットが通らないのは、、 ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet subnet subnet
  • 68. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. パケットが通らないのは、、 ap-northeast-1a VPC subnet subnet VPC subnet subnet ap-northeast-1c subnet subnet subnet subnet 戻りのENIが存在しないのでパケットが戻れない>不通になる アタッチメント時、すべてのAZにTGWのENIをつけること(必須) https://docs.aws.amazon.com/ja_jp/vpc/latest/tgw/tgw-vpc-attachments.html
  • 69. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ • Transit Gatewayとは • ユースケース • 注意する点 • 必ずしもTransit Gatewayを使わなくてもいいケース • まとめ
  • 70. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 必ずしもTransit Gatewayを使わなく てもいいケース
  • 71. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gatewayで通信制限する Route Domain(Direct Connect) Transit Gateway Shared services Direct Connect VPC Route Destination 10.1.0.0/16 vpc-att-1xxxx 10.2.0.0/16 vpc-att-2xxxx Route Destination 10.3.0.0/16 vpc-att-3xxxx 10.4.0.0/16 vpc-att-4xxxx Route Destination 10.0.0.0/8 VPN VPCは共有リソースへのルートを 持つルートテーブルにアタッチ 共有リソースはすべてのリソース へのルートを持つルートテーブル にアタッチ Direct Connect 向けのみの経路 それぞれのVPC向け の経路 VPC間相互通信不可 VPC1 VPC3 VPC 4 VPC2
  • 72. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC Peering/DXGWで通信制限する Route Domain(Direct Connect) Direct Connect VPCは共有リソースへのルートを 持つVPC Peeringを利用 オンプレミス - VPC間はDXGWで 接続(VPC間は通信できない) VPC間相互通信不可 VPC1 VPC3 VPC 4 VPC2 Direct Connect Gateway
  • 73. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC Peering/DXGWで通信制限する Route Domain(Direct Connect) Direct Connect VPCは共有リソースへのルートを 持つVPC Peeringを利用 オンプレミス - VPC間はDXGWで 接続(VPC間は通信できない) VPC間相互通信不可 VPC1 VPC3 VPC 4 VPC2 Direct Connect Gateway Transit Gatewayを使わずともVPC PeeringとDXGWで通信制限は可能 TGWに比べてコスト削減になる
  • 74. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. [参考] Transit Gatewayの料金について 英語の表記となりますが、以下にて詳細を説明しております。
  • 75. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. [参考] Transit Gatewayの料金について(続き)
  • 76. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 本日のアジェンダ • Transit Gatewayとは • ユースケース • 注意する点 • 必ずしもTransit Gatewayを使わなくてもいいケース • まとめ
  • 77. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. まとめ
  • 78. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. まとめ • Transit Gatewayに関する深い理解 • Transit Gatewayのユースケースを理解する • Transit Gatewayの注意点を理解する • 必ずしもTransit Gatewayが必要ではないケースがある
  • 79. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Q&A お答えできなかったご質問については AWS Japan Blog 「https://aws.amazon.com/jp/blogs/news/」にて 後日掲載します。
  • 80. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS の日本語資料の場所「AWS 資料」で検索 https://amzn.to/JPArchive
  • 81. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 毎週” 個別技術相談会”を実施中 • のソリューションアーキテクト に 対策などを相談することも可能 • 申込みはイベント告知サイトから (https://aws.amazon.com/jp/about-aws/events/) AWS Well-Architected 個別技術相談会
  • 82. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS 公式 Webinar https://amzn.to/JPWebinar 過去資料 https://amzn.to/JPArchive ご視聴ありがとうございました