AWS Transit Gateway Introduction and use cases Wolfgang Bauer| - - PowerPoint PPT Presentation

aws transit gateway introduction and use cases
SMART_READER_LITE
LIVE PREVIEW

AWS Transit Gateway Introduction and use cases Wolfgang Bauer| - - PowerPoint PPT Presentation

AWS Transit Gateway Introduction and use cases Wolfgang Bauer| 09.09.2019 Community Day 2019 Sponsors Agenda Motivation and Introduction Use cases before Transit Gateway and now Interconnecting VPCs Connecting multiple VPCs to


slide-1
SLIDE 1

AWS Transit Gateway Introduction and use cases

Wolfgang Bauer| 09.09.2019

Community Day 2019 Sponsors

slide-2
SLIDE 2

Agenda

  • Motivation and Introduction
  • Use cases before Transit Gateway and now
  • Interconnecting VPCs
  • Connecting multiple VPCs to on-premise / office
  • Transit
  • EMnify‘s use case

2

slide-3
SLIDE 3

About me

  • Wolfgang Bauer

@wo_wue

  • Software Developer at EMnify GmbH

3

slide-4
SLIDE 4

EMnify GmbH

  • Cloud-based virtual mobile network operator (MVNO) focussed on IoT
  • Provide global connectivity for IoT devices
  • Running virtualized, self-developed mobile core on AWS
  • Located in Würzburg & Berlin
  • Technology stack: AWS, Terraform, Java, Akka, Perl, C++, Go

4

slide-5
SLIDE 5

Motivation and Introduction

5

slide-6
SLIDE 6

Why do we need something new?

  • For any VPC traffic we need source or destination address to be in VPC
  • Tunnels or NAT needed to actually have transit traffic
  • Many VPCs need a lot of setup and maintenance effort

6

slide-7
SLIDE 7

Transit Gateway

  • Virtual router

multiple route tables

7

  • Connects VPCs, VPNs

and Direct Connects

  • Associate route tables

to your attachment

  • Propagate your routes or

configure them statically

slide-8
SLIDE 8

8

slide-9
SLIDE 9

Border Gateway Protocol

  • Routers tell their neighbours, which network prefixes they can route
  • Used to find the shortest path between two nodes
  • Used in internet, but also also internal BGP within own infrastructure

9

10.1.0.0/16 AS 12 10.1.0.0/16 AS 890 10.2.0.0/16 10.1.0.0/16 10.2.0.0/16 AS 61234 10.100.0.0/16 10.2.0.0/16 10.100.0.0/16

slide-10
SLIDE 10

Use cases

10

slide-11
SLIDE 11

Interconnecting Virtual Private Clouds

11

slide-12
SLIDE 12

Interconnecting VPCs

12

VPCs Peerings 2 1 3 3 4 6 5 10

VPC Webshop 10.10.0.0/16 VPC Logistics 10.11.0.0/16 VPC Databases/BI 10.12.0.0/16 VPC Manifacturing 10.13.0.0/16

slide-13
SLIDE 13

Interconnecting VPCs

13

Transit Gateway

slide-14
SLIDE 14

14

slide-15
SLIDE 15

15

slide-16
SLIDE 16

Interconnecting VPCs

16

tgw-rtb-a1a1a3b2 Destination CIDR Attachment 10.10.0.0/16 tgw-attach-1 10.11.0.0/16 tgw-attach-2 10.12.0.0/16 tgw-attach-3

VPC Webshop 10.10.0.0/16 VPC Logistics 10.11.0.0/16 tgw-attach-1 tgw-attach-2 VPC Databases 10.11.0.0/16 tgw-attach-3

slide-17
SLIDE 17

Interconnecting VPCs

17

tgw-rtb-a1a1a3b2 Destination CIDR Attachment 10.10.0.0/16 tgw-attach-1 10.11.128.0/15 tgw-attach-2 10.12.0.0/16 tgw-attach-3

VPC Webshop 10.10.0.0/16 VPC Logistics 10.11.0.0/16 tgw-attach-1 tgw-attach-2 VPC Databases 10.11.0.0/16 tgw-attach-3

slide-18
SLIDE 18

18

slide-19
SLIDE 19

Connecting VPCs to on-premise

19

slide-20
SLIDE 20

Connecting VPCs to on premise

20

AWS Cloud

VPC VPC VPC

Private subnet Private subnet Private subnet

VPC 1: tenant 1 VPC 2: tenant 2 VPC 3: tenant 3 VPN VPN VPN Customer Gateway

slide-21
SLIDE 21

Connecting VPCs to on premise

21

AWS Cloud

VPC VPC VPC

Private subnet Private subnet Private subnet

VPC 1: tenant 1 VPC 2: tenant 2 VPC 3: tenant 3

slide-22
SLIDE 22

Connecting VPCs to on premise

22

VPC VPC

Private subnet Private subnet

tgw-rtb-south

Destination CIDR Attachment Resource Type 10.10.0.0/16 tgw-attach-vpc1 VPC 10.11.0.0/16 tgw-attach-vpc2 VPC

tgw-rtb-north

Destination CIDR Attachment Resource Type 192.168.0.0/22 tgw-attach-vpn VPN

VPC 1: 10.10.0.0/16 VPC 2: 10.11.0.0/16 192.168.0.0/22

slide-23
SLIDE 23

23

slide-24
SLIDE 24

Transit VPC

24

slide-25
SLIDE 25

Transit VPC

25

VPC VPC

Private subnet Private subnet

VPC

VPC 1 VPC 2 Transit VPC

slide-26
SLIDE 26

Transit VPC

26

VPC VPC

Private subnet Private subnet

VPC

slide-27
SLIDE 27

Transit VPC

27

VPC VPC

Private subnet Private subnet

VPC

tgw-rtb-in

Destinati

  • n CIDR

Attachment Resource Type Route Type 10.10.0.0 /16 tgw-attach-1 VPC static 10.11.0.0 /16 tgw-attach-2 VPC static

tgw-rtb-out

Destinati

  • n CIDR

Attachment Resource Type Route Type 0.0.0.0/0 tgw-attach- transit1 VPN propagated tgw-attach- transit2 VPN propagated

tgw-attach-1 tgw-attach-2

slide-28
SLIDE 28

Transit VPC for Direct Connect

28

VPC VPC

Private subnet Private subnet

VPC

AWS Direct Connect

slide-29
SLIDE 29

Transit Gateway with Direct Connect

29

VPC VPC

Private subnet Private subnet

AWS Direct Connect

slide-30
SLIDE 30

The EMnify use case: Connect customer to their devices

30

slide-31
SLIDE 31

SGSN

Connect customer to their devices

31

VPC

Private subnet

EMnify VPC EMnify gateway Customer device Mobile network Operator gateway NAT gateway

slide-32
SLIDE 32

Connect customer to their devices

32

VPC

Private subnet

Customer1 VPC

VPC

Private subnet

EMnify VPC EMnify gateway Customer device Mobile network Operator gateway Application server

tgw-rtb-toCustomer

Destination CIDR Attachment Resource Type 10.10.5.0/24 tgw-attach-c1 VPC

tgw-rtb-fromCustomer

Destinatio n CIDR Attachme nt Resource Type 100.64.0. 0/10 tgw- attach-em VPC

10.10.0.0/16 10.123.0.0/16 Customer2 on Azure Application server

10.22.0.0/24 tgw-attach-c2 VPN 10.4.192.0/24 tgw-attach-c3 VPN 10.19.11.0/24 tgw-attach-c4 VPC

slide-33
SLIDE 33

33

slide-34
SLIDE 34

Connect customer to their devices - HA

34

VPC

Private subnet

EMnify VPC EMnify gateway Customer device Mobile network Operator gateway

tgw-rtb-toCustomer

Destination Attachment Route Type 10.10.5.0/24 tgw-attach-vpn1 propagated tgw-attach-vpn2 propagated

tgw-rtb-fromCustomer

Destination Attachment Route Type 100.64.0.0/10 tgw-attach- emvpc static

10.123.0.0/16 BGP

slide-35
SLIDE 35

Connect customer to their devices - HA

35

slide-36
SLIDE 36

Important Limits

  • Routes: 10 000 per route table (VPC route table 50 soft, 1000 hard)
  • Bandwidth:
  • VPC: 50 Gbps
  • VPN: 1.25 Gbps (higher using multiple connections with ECMP)
  • Transit Gateways per region: 5, 5000 attachments per region
  • No inter-region attachments (yet)

36

slide-37
SLIDE 37

Summary

37

slide-38
SLIDE 38

Pricing

eu-west-1 eu-central-1 Attachment 0.05 $ per hour 0.06 $ per hour 36 $ per month 43,20 $ per month Data Traffic 0.02 $ per GB 0.02 $ per GB

38

slide-39
SLIDE 39

Summary

  • Virtual router
  • Flexible routing
  • Control route table association and propagation
  • High Availability by AWS

39