AWS Transit Gateway Presentation Slides PDF
AWS Transit Gateway Presentation Slides PDF
A 1 B Destination
B
Target
Local
A PCX-1
C PCX-2
3 D PCX-3
E PCX-4
2 4
C
D E
Full mesh: How many Amazon VPC Peering
connections do I need (full mesh)?
n(n-1)
10 VPC = 45 VPC peering 2 Static routes per Amazon
connections VPC route table
100
100 VPC = 4500 VPC peering Amazon VPC Peering
connections connections per Amazon VPC
125
B e f o r e : T r a n s i t V P C wi t h I P S e c
A B Destination
B
Target
Local
0.0.0.0/0 VGW
D E
I P S e c b e t w e e n V P C s ( l i m i ts a p p l y )
B e f o r e : V P N C o n n e ct io n p e r V P C
B On-Premises
I P S e c b e t w e e n V P C s ( l i m i ts a p p l y )
C
Amazon VPC Peering for Instance based VPN Connection
full mesh connectivity Transit Amazon VPC per Amazon VPC
VPC
VPC
B On-Premises
VPC
IP S ec b e t w e e n V P C s ( li m i t s a p p ly )
C
1.25Gbps per VPN Connection
with ECMP
*With ECMP, you can distribute traffic over multiple tunnels,
e.g.8 tunnels = 10Gbps
A B
1 2
3 TGW 4
On-Premises
C
A tta ch m en t A s s o c ia t io n P ro p a g a t io n
The connection from a The route table used to The route table where the
Amazon VPC and VPN to route packets coming from attachment’s routes are
a TGW an attachment (from an installed
Amazon VPC and VPN)
What are we building?
Cross Account Sharing
DEV
SHARED
T2 instance
T2 instance
CADEV
T2 instance
Transit Gateway
QA
T2 instance
DEV
SHARED
T2 instance
T2 instance
Transit Gateway
QA
T2 instance
Scenario #2: Share Transit Gateway with Cross Account
DEV
SHARED Cross Account Sharing
T2 instance
T2 instance
CADEV
T2 instance
Transit Gateway
QA
T2 instance
AWS Account #1: Stack Simplify AWS Account #2: Stack Next
Share Transit Gateway with Cross Account
• AWS Accounts
• First Account: Stack Simplify
• Second Account: Stack Next
• Step#1: Create Resource Shares
• First Account: Create Resource Share using AWS Resource Access Manager
• Second Account: Accept the Resource Share
• Step#2: Second Account: Create VPC, Subnet, Routes, IGW & EC2 VM
• Step#3: Create VPC Attachment
• Second Account: Create VPC Attachment
• First Account: Accept the VPC Attachment
• First Account: Verify the Association, Propagation & Routes for Cross Account Dev
VPC.
• Step#4: Perform the telnet tests.
Transit Gateway – Custom Route Tables
• AWS Accounts
• First Account: Stack Simplify
• Second Account: Stack Next
• Step#1: Clean up current associations in default route table
• Step#2: Implement Custom Route Table between Dev & QA VPC
• Step#3: Implement Custom Route Table between Dev & shrd VPC
• Step#4: (Cross Account Custom Route) Implement Custom Route Table
between qa & cadev VPC
• Step#5: Perform Negative Tests
• dev to cadev should fail
• qa to shrd should fail
• cadev to dev should fail
• Cadev to shrd
Scenario #3: Transit Gateway – Custom Route Tables Cross Account Sharing
DEV
SHARED
T2 instance
T2 instance
CADEV
T2 instance
Transit Gateway
QA
T2 instance
AWS Account #1: Stack Simplify AWS Account #2: Stack Next
Transit Gateway – Custom Route Tables
• AWS Accounts
• First Account: Stack Simplify
• Second Account: Stack Next
• Step#1: Clean up current associations in default route table
• Step#2: Implement Custom Route Table between Dev & QA VPC
1. Create Route Table – dev-rt
1. Create Association – Dev VPC Attachment
2. Create Propagation – QA VPC Attachment
3. Verify Routes
2. Create Route Table – qa-rt
1. Create Association - QA VPC Attachment
2. Create Propagation - Dev VPC Attachment
3. Verify Routes
3. Test Connectivity between Dev and QA
Transit Gateway – Custom Route Tables
• Step#3: Implement Custom Route Table between Dev & shrd VPC
1. Create Route Table – dev-rt Already exists
1. Create Association – Dev VPC Attachment Already exists
2. Create Propagation – shrd VPC Attachment
3. Verify Routes
2. Create Route Table – shrd-rt
1. Create Association - shrd VPC Attachment
2. Create Propagation - Dev VPC Attachment
3. Verify Routes
3. Test Connectivity between Dev and SHRD
Transit Gateway – Custom Route Tables
• Step#4: (Cross Account Custom Route) Implement Custom Route
Table between qa & cadev VPC
1. Create Route Table – qa-rt Already exists
1. Create Association – QA VPC Attachment Already exists
2. Create Propagation – cadev VPC Attachment
3. Verify Routes
2. Create Route Table – cadev-rt
1. Create Association - cadev VPC Attachment
2. Create Propagation - qa VPC Attachment
3. Verify Routes
3. Test Connectivity between QA and CADEV
Transit Gateway – Custom Route Tables
• Step#5: Perform Negative Tests
• dev to cadev should fail
• qa to shrd should fail
• cadev to dev should fail
• cadev to shrd should fail