introducing aws transit gateway - aws | contact us

45
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Nick Matthews Principal Solutions Architect AWS @nickpowpow Mohamed Hassan Senior Product Manager EC2 Networking, AWS @mohnader Introducing AWS Transit Gateway

Upload: others

Post on 25-Oct-2021

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Nick MatthewsPrincipal Solutions ArchitectAWS@nickpowpow

Mohamed HassanSenior Product ManagerEC2 Networking, AWS@mohnader

Introducing AWS Transit

Gateway

Page 2: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

What is Transit Gateway ?

Page 3: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Introducing AWS Transit Gateway

A gateway that provides simple, scalable, and secure

connectivity across networks

Page 4: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Before Transit Gateway

Connecting large

number of VPCs in a

mesh is challenging to

manage

Connecting on-premises

networks to each new VPC can

take weeks to months to

implement due to customer's

internal processes

Complex configurations

are prone to human error

Page 5: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

AWS Transit Gateway

Page 6: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Getting Started with Transit

Gateway

Page 7: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Scenario

• Connecting Multiple VPC’s

• Any to any communication

• Sharing a single VPN Connection

On-Premise

AWS Cloud

Page 8: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Four VPC’s

Page 9: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Create a Transit Gateway

Page 10: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Create a Transit Gateway

Page 11: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Create VPC Attachments

Page 12: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Create VPC Attachments

Page 13: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

View VPC Attachments

Page 14: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Transit Gateway Route Table

Page 15: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Update VPC Route Tables

Page 16: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Scenario

• Connecting Multiple VPC’s

• Any to any communication

• Sharing a single VPN Connection

On-Premise

AWS Cloud

Page 17: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Test Connectivity

Page 18: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Scenario

• Connecting Multiple VPC’s

• Any to any communication

• Sharing a single VPN Connection

On-Premise

AWS Cloud

Page 19: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Create a VPN Attachment

Page 20: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Download the Configuration

Page 21: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Complete – VPN UP

Page 22: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Complete – VPC to the CGW via VPN

Page 23: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Complete – view from the CGW

Page 24: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Transit Gateway Basics

Page 25: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

A t t a c h m en t

The connection from a

Amazon VPC and VPN to

a TGW

A s s o c i a t i o n

The route table used to

route packets coming from

an attachment (from an

Amazon VPC and VPN)

P r o p a g a t i o n

The route table where the

attachment’s routes are

installed

Page 26: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Attachments – VPC’s

Page 27: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Attachments – VPC’s

att-red att-blueVPC

10.1

Page 28: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Attachments – ”associated” route table

att-red att-blueVPC

10.1

Page 29: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

att-red att-blueVPC

10.1

Attachments – “propagation” of routes

Page 30: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Attachments – ‘associated & propagated route

table’

att-red att-blue

Page 31: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Attachments – TGW Route Table is complete

att-red att-blueVPC

10.1

Page 32: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Attachments – VPC’s Route Tables

att-red att-blueVPC

10.1

Page 33: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

The Default

On-Premise

AWSVPN

10.99.99.0/24 via BGP

10.1.0.0/16 via BGP10.2.0.0/16 via BGP

att-red att-blueVPC

10.1

Page 34: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Routing Domains

On-Premise

AWSVPN

10.99.99.0/24 via BGP

10.1.0.0/16 via BGP10.2.0.0/16 via BGP

att-red

att-blue

VPC

10.1

Page 35: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Transit Gateway Use Cases

Page 36: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Use Case 1: Shared Services with Transit Gateway

Transit GatewayShared

services + VPN

VPN

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

VPCs attach to a route table with routes to shared resources

Shared resources attach to a route table with routes to all resources

Page 37: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Use Case 2: Outbound Internet with NAT Gateway

100.64.0.0/16

Outbound VPC

SNAT

SNAT

Transit Gateway

VPC route domain

10.1.0.0/16 10.2.0.0/16

Outbound route domain

Spoke route table Outbound VPC route table

VPC B

VPC Attachment route table, per AZ

Route Destination

10.2.0.0/16 Local

0.0.0.0/0 tgw-xxxxxxxxx

Route Destination

100.64.0.0/16 Local

10.0.0.0/8 tgw-xxxxxxxxx

0.0.0.0/0 igw-xxxxxxxxx

Route Destination

0.0.0.0/0 ngw-xxxxxxx

0.0.0.0/0 vpc-att-outbound 10.1.0.0/16 vpc-att-a

10.2.0.0/16 vpc-att-b

Apply SNAT

outbound to the

internet

SNAT

VPC A

Page 38: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Use Case 3: Outbound services VPC

100.64.0.0/16

Outbound VPC

SNAT

SNAT

VPC route domain

10.1.0.0/16 10.2.0.0/16

Outbound route domain

Spoke route table Outbound VPC route table

VPC B

ECMP

VPN

BGP advertisement

Route Destination

10.2.0.0/16 Local

0.0.0.0/0 tgw-xxxxxxxxx

Route Destination

100.64.0.0/16 Local

10.0.0.0/8 tgw-xxxxxxxxx

0.0.0.0/0 igw-xxxxxxxxx

BGP prefix Next hop

0.0.0.0/0 Local IP

0.0.0.0/0 Outbound VPC VPN 10.1.0.0/16 vpc-att-a

10.2.0.0/16 vpc-att-b

Apply SNAT

outbound to the

internet

SNAT

Transit Gateway

VPC A

Page 39: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Use case 4: Edge services VPC: SD-WAN

100.64.0.0/16

Edge VPC

VPC route domain

10.1.0.0/16

Edge route domain

Spoke route table Edge VPC route table

VPC A

ECMP

VPN

Route Destination

10.1.0.0/16 Local

0.0.0.0/0 tgw-xxxxxxxxx

Route Destination

100.64.0.0/16 Local

10.0.0.0/8 tgw-xxxxxxxxx

0.0.0.0/0 igw-xxxxxxxxx

BGP prefix Next hop

Many prefixes Local IP

Many Prefixes Edge VPC VPN 10.1.0.0/16 vpc-att-a

SNAT

SNAT

SNAT

Use cases:

Tunnels

Data Center, Branches,

Clients, etc.

Only stateful

services require

NATCan be a summary or

default route in each VPC

and BGP

Transit Gateway

Page 40: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Future plans and Conclusion

Page 41: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Future Plans

• Direct Connect Gateway Attachments

• Transit Gateway Inter-Region Peering

• Additional advanced routing features

Page 42: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

AWS Transit Gateway

• Easier connectivity

• Better visibility and control

• On-demand bandwidth

• Routing

• Edge connectivity

• Feature interoperability

• Monitoring

• Security

Page 43: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

FAQ

• What is the bandwidth Limit for a VPC attachment?

• How does high availability of Transit Gateway work?

• Does it work with PrivateLink and Network Load Balancers?

• What if I am using SD-WAN, how do I connect Transit Gateway?

• Should I use multiple Transit Gateways or routing domains?

• How does Transit Gateway handle encryption?

Page 44: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Related Material

• Product Page

https://aws.amazon.com/transit-gateway/

• Documentation

https://docs.aws.amazon.com/vpc/latest/tgw/

• NET331 : Introducing AWS Transit Gateway (300 Level Deep

Dive)

https://youtu.be/yQGxPEGt_-w

• NET402 : Transit Gateway : Reference Architectures for Many

VPC’s

https://youtu.be/ar6sLmJ45xs

Page 45: Introducing AWS Transit Gateway - AWS | Contact Us

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Thank you, [email protected]