Exploring The Fundamentals of AWS Networking SVC205

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 94

SVC205

Exploring the fundamentals of AWS


networking
Neeraj Verma
Principal Solutions Architect
Amazon Web Services

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Introductory - 200
“These sessions provide an overview of AWS services and features,
and they assume that attendees are new to the topic. These
sessions highlight basic use cases, features, functions, and
benefits."

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Global Accelerator

AWS Region
Internet

Amazon S3 Amazon AWS Lambda Amazon SQS Amazon SNS


AWS IoT
NLB DynamoDB Amazon S3

AWS PrivateLink VPC


service provider VPC Flow Logs Amazon
EIP – 10.1.0.11 : 54.23.12.43 CloudWatch
EIP – 10.1.1.11 : 54.19.12.23
AWS PrivateLink-
enabled services AWS VPCE Internet gateway On premises
PrivateLink Availability Zone 1 Availability Zone 2

Destination Target Transit GW


10.1.0.0/16 Local
Public subnet Public subnet
0.0.0.0/0 Internet gateway
S3.prefix.list VPCE-123 Intra or
On premises VGW
Instance A Instance
NAT-GW B inter VPC-B
10.1.0.11/24
NAT 10.1.1.11/24
VPC-B PCX-123 Region
Other routes TGW VPC
AWS Direct
Private subnet Private subnet
peering Connect
Destination Target DXGW
10.1.0.0/16 Local Instance C Instance D
0.0.0.0/0 NAT-GWB
Instance 10.1.2.11/24 10.1.3.11/24 On premises
S3.prefix.list VPCE-123
On premises VGW
VPC-B PCX-123
VGW
Other routes TGW
VPC CIDR 10.1.0.0/16 + Expand + IPv6 VPN
SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
That was the agenda
for this session

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is a VPC?

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC concepts and fundamentals

IP addressing Creating Routing in DNS in-VPC Security


subnets a VPC with Amazon
Route 53

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Choosing an
IP address range

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Choosing an IP address range for your VPC

Avoid ranges that overlap with


other networks to which you might
connect

172.31.0.0/16
Recommended: RFC1918
range

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Creating subnets in a VPC

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC subnets and Availability Zones

172.31.0.0/16

eu-west-1a eu-west-1b eu-west-1c

172.31.0.0/24 172.31.1.0/24 172.31.2.0/24

VPC subnet VPC subnet VPC subnet

Availability Zone Availability Zone Availability Zone

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
IPv6 in your VPC
• Can have a dual-stack VPC by adding an IPv6 CIDR
• Fixed sizes for VPC and subnets
• /56 VPC (4,722,366,482,869,645,213,696 addresses)

• /64 subnets (18,446,744,073,709,551,616 addresses)

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC subnets and Availability Zones

172.31.0.0/16 + Expand
2600:1f16:14d:6300::/56

eu-west-1a eu-west-1b eu-west-1c

172.31.0.0/24 172.31.1.0/24 172.31.2.0/24


2600:1f16:14d:6300::/64 2600:1f16:14d:6301::/64 2600:1f16:14d:6302::/64

VPC subnet VPC subnet VPC subnet

Availability Zone Availability Zone Availability Zone

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Routing in a VPC

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Route tables

172.31.0.0/16

172.31.0.0/24 172.31.1.0/24 172.31.2.0/24

VPC subnet VPC subnet VPC subnet

Availability Zone Availability Zone Availability Zone

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Traffic destined for my VPC
stays in my VPC

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
DNS in a VPC

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC DNS options

Have EC2 auto-assign DNS


host names to instances Use Amazon DNS server

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Route 53 private hosted zones

example.demohostedzone.org →Hosted
Private Zone
172.31.0.99

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Route 53 Resolver for hybrid clouds

Conditional forwarding
rules

Route 53 Resolver
endpoints

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security groups Network access Flow logs
control list

Network security

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security groups follow application structure

Internet gateway

Web Web Web Web

“MyWebServers” security group

Allow only “MyWebServers”

App App App

“MyBackends” security group

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security groups example: Web servers

Allow HTTP traffic


from anywhere

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security groups example: Backends

Allow application traffic


from web servers only

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security groups Network access Flow logs
control list

Network security

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security groups vs. NACLs
Security group Network ACL
Operates at instance level Operates at subnet level
Supports allow rules only Supports allow and deny rules
Is stateful: Return traffic is automatically allowed Is stateless: Return traffic must be explicitly allowed
regardless of any rules by rules
All rules evaluated before deciding whether to allow Rules evaluated in order when deciding whether to
traffic allow traffic
Applies only to instances explicitly associated with the Automatically applies to all instances launched into
security group associated subnets
Doesn’t filter traffic to or from link-local addresses (169.254.0.0/16) or AWS-reserved IPv4 addresses; these
are first four IPv4 addresses of the subnet (including the Amazon VPC DNS server)

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security groups Network access Flow logs
control list

Network security

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC Flow Logs
• Visibility

• Troubleshooting

• Analyze traffic

AZ 1 AZ 2

VPC Flow Logs

SUMMIT Amazon S3 Amazon CloudWatch Logs


© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC Flow Logs: Setup

VPC traffic metadata


captured in Amazon S3

or Amazon CloudWatch Logs

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC Flow Logs format

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Connecting your VPC

Internet Connecting to your


connectivity Connecting to other
VPCs on-premises network
or not

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Internet connectivity or not

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Let’s take a closer look
AWS Region Internet

Amazon S3 Amazon AWS Lambda Amazon SQS Amazon SNS


AWS IoT
DynamoDB

EIP – 10.1.0.11 : 54.23.12.43


EIP – 10.1.1.11 : 54.19.12.23

Internet gateway
Availability Zone 1 Availability Zone 2

Destination Target
10.1.0.0/16 Local
Public subnet Public subnet
0.0.0.0/0 Internet gateway

Instance A Instance
NAT-GW B
10.1.0.11/24
NAT 10.1.1.11/24

Private subnet Private subnet


Destination Target
10.1.0.0/16 Local Instance C Instance D
0.0.0.0/0 NAT-GWB
Instance 10.1.2.11/24 10.1.3.11/24

VPC CIDR 10.1.0.0/16 + Expand + IPv6


SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC peering AWS Transit
Gateway

Connecting to other VPCs

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC peering

• Full private IP connectivity between


two VPCs 10.0.0.0/16 10.1.0.0/16

• Can peer VPCs across regions


• VPCs can be in different accounts
• VPC CIDR ranges must not overlap

10.2.0.0/16 10.3.0.0/16

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Establish a VPC peering: Initiate request

172.31.0.0/16 Step 1 10.55.0.0/16


Initiate peering
request

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Establish a VPC peering: Accept request

172.31.0.0/16 Step 1 10.55.0.0/16


Initiate peering
request

Step 2

Accept peering
request

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Establish a VPC peering: Create routes

172.31.0.0/16 Step 1 10.55.0.0/16


InitiateTraffic
peeringdestined for the peered VPC should go to the
request peering, repeat for other VPC

Step 2

Accept peering
request

Step 3, 4

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC peering AWS Transit
Gateway

Connecting to other VPCs


and beyond…

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Before AWS Transit Gateway…

Customer VPN connection Amazon VPC VPC peering Amazon VPC


gateway

VPN VPC peering VPC peering VPC peering AWS Direct Connect
connection gateway

VPN connection Amazon VPC VPC peering Amazon VPC

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
With AWS Transit Gateway…
AWS Direct
Connect Gateway

Amazon VPC Amazon VPC

AWS Transit
Amazon VPC Gateway Amazon VPC

VPN
connection

Customer
gateway

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
With AWS Transit Gateway…

A B Destination
B
Target
Local
0.0.0.0/0 TGW

TGW route table (s) 1 2


VPC A: Attachment 1
RT1
VPC B: Attachment 2
VPC C: Attachment 3
RT2
On premises: VPN 4
3 AWS 4
Transit
Gateway

On premises
C
SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Attachment Association Propagation
The connection from an The route table used to The route table where
Amazon VPC, VPN, and DX GW route packets coming from the attachment’s routes
to a Transit Gateway an attachment are installed

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Destination Target
10.1.0.0/16 Local
0.0.0.0/0 TGW

Llama
10.1.0.0/16 AWS Transit Gateway route table (s)

X Associations Propagations Routes


Llama from X Llama from X 10.1.0.0/16 via X
Pegasus RT1 Pegasus from Y
Y Pegasus from Y 10.2.0.0/16 via Y
10.2.0.0/16 Barry from Z Barry from Z 10.3.0.0/16 via Z
Z AWS
Transit
Gateway
Barry
Destination Target
10.3.0.0/16 10.1.0.0/16 Local
0.0.0.0/0 Internet gateway
10.0.0.0/8 TGW
SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Llama
10.1.0.0/16 AWS Transit Gateway route table (s)
10.8.0.0/16 10.9.0.0/16

X Associations Propagations Routes


Llama from X Llama from X 10.1.0.0/16 via X
Pegasus
Y Pegasus from Y Pegasus from Y 10.2.0.0/16 via Y
10.2.0.0/16 RT1 Barry from Z Barry from Z 10.3.0.0/16 via Z
10.8.0.0/16 via X
Z AWS 10.9.0.0/16 via X
Transit
Gateway
Barry
10.3.0.0/16

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Propagation turned off, you can still statically
configure routes
Llama
10.1.0.0/16 AWS Transit Gateway route table (s)
10.8.0.0/16 10.9.0.0/16

X Associations Propagations Routes


Llama from X Llama from X 10.1.0.0/16 via X
Pegasus
Y Pegasus from Y Pegasus from Y 10.2.0.0/16 via Y
10.2.0.0/16 RT1 Barry from Z Barry from Z 10.3.0.0/16 via Z
10.8.0.0/16 via X
Z AWS
10.9.0.0/16 via X
Transit
Gateway
Barry
10.3.0.0/16

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Transit Gateways per Maximum burstable
account/Transit Gateway bandwidth per attachment
attachments per Amazon VPC

5 50 Gbps

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Maximum bandwidth
per VPN connection

* 1.25 Gbps
*With ECMP, you can distribute traffic over multiple tunnels,
e.g., 8 tunnels = 10 Gbps

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
!!!

Routes per AWS Number of AWS Transit Gateway


Transit Gateway attachments per Region per account

10,000 5,000

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cross-Region connectivity?
AWS Transit Gateway is a Region-level construct
today

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Transit Gateway detailed instructions:
https://amzn.to/2SkI4zV

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS VPN AWS Direct Connect

Connecting to
on-premises networks

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
IPsec tunnel 1 – primary

On premises
IPsec tunnel 2 – secondary

The internet

Virtual private IPsec tunnel over Customer gateway


gateway the internet

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
IPsec tunnel 1 – primary

On premises
IPsec tunnel 2 – secondary

The internet

IPsec tunnel over Customer gateway


AWS Transit
the internet
Gateway

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
NEW
Migrate site-to-site VPN to
AWS Transit Gateway
https://amzn.to/2vwPcj7

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The
Amazon S3 Amazon
internet
DynamoDB

Client VPN Client


endpoint

Attachment to TLS-based tunnel User with


On premises
Amazon VPC over the internet OpenVPN client

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS VPN AWS Direct Connect

Connecting to
on-premises networks

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Direct Connect: What’s that?

AWS Region

Public VIF

Cross connect
Service provider
Private VIF network On premises
VGW Customer or 192.168.0.0/16
10.0.0.0/16 AWS cage partner cage

AWS Direct Connect location

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Direct Connect: What’s that?

AWS Region

Public VIF

Cross connect
Service provider
Private VIF network On premises
VGW Customer or 192.168.0.0/16
10.0.0.0/16 AWS cage partner cage

AWS Direct Connect location

Private VIF
VGW
10.2.0.0/16

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Direct Connect gateway
One private VIF → many VPCs

AWS Region

Cross connect
Private VIF
Service provider
network On premises
VGW Customer or 192.168.0.0/16
10.0.0.0/16 AWS cage
AWS Direct partner cage
Connect gateway

AWS Direct Connect location

VGW
10.2.0.0/16

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Direct Connect gateway
One private VIF → many VPCs across Regions

AWS Region 1

Cross connect
Private VIF
Service provider
network On premises
VGW Customer or 192.168.0.0/16
10.0.0.0/16 AWS cage
AWS Direct partner cage
Connect gateway

AWS Region 2
AWS Direct Connect location

VGW
10.2.0.0/16

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Direct Connect gateway
One private VIF → many VPCs across accounts

AWS Account 1

Cross connect
Private VIF
Service provider
network On premises
VGW Customer or 192.168.0.0/16
10.0.0.0/16 AWS cage
AWS Direct partner cage
Connect gateway

AWS Account 2
AWS Direct Connect location

VGW
10.2.0.0/16
Multi-account DX gateway
SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Direct Connect gateway
One transit VIF → many VPCs

AWS Account 1

AWS Transit
Gateway
Cross connect
Transit VIF
Service provider
network On premises
Customer or 192.168.0.0/16
10.0.0.0/16 AWS cage
AWS Direct partner cage
Connect gateway

AWS Account 2
AWS Direct Connect location

10.2.0.0/16
Transit VIF with DX gateway
SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Transit Gateway with AWS Direct Connect

https://amzn.to/2VDnnEt

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
New partner connection speeds
1, 2, 5, or 10 Gbps of capacity

https://amzn.to/2YtGNue

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
…more AWS networking

VPC sharing VPC endpoints and AWS Global


AWS PrivateLink Accelerator

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Before
Amazon VPC sharing

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Dev Prod 1 Prod2

Barry Pegasus Llama


10.1.0.0/16 10.2.0.0/16 10.3.0.0/16

Amazon EC2 Amazon RDS Amazon Redshift

Sue Steve Iguana


10.4.0.0/16 10.5.0.0/16 10.6.0.0/16

Amazon EC2 AWS Lambda Amazon EC2

Test Prod 3 Prod 4


SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
After
Amazon VPC sharing

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Dev Prod 1 Prod2

Barry Pegasus Llama


10.1.0.0/16 10.2.0.0/16 10.3.0.0/16

Amazon EC2 Amazon RDS Amazon Redshift

Sue Steve Iguana


10.4.0.0/16 10.5.0.0/16 10.6.0.0/16

Amazon EC2 AWS Lambda Amazon EC2

Test Prod 3 Prod 4


SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Dev Prod 1 Prod2

Owner Owner Participant

Barry Pegasus Llama


10.1.0.0/16 10.2.0.0/16 10.3.0.0/16

Amazon EC2 Amazon RDS Amazon Redshift

Participant Participant Participant

Sue Steve Iguana


10.4.0.0/16 10.5.0.0/16 10.6.0.0/16

Amazon EC2 AWS Lambda Amazon EC2

Test Prod 3 Prod 4


SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon VPC owner Amazon VPC participant
Responsible for creating, managing, and Responsible for the creation, management, and
deleting all VPC-level entities deletion of their resources, including Amazon
EC2 instances, Amazon RDS databases, and load
balancers

Amazon VPC owners cannot modify or However, they cannot modify any Amazon VPC-
delete participant resources level entities, including route tables, network
ACLs, or subnets (or view/modify resources
belonging to other participants)

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why use Amazon VPC sharing?

Preserve IP space Interconnectivity


Use fewer IPv4 CIDRs No VPC peering required

Separation of duties Billing and security


A central team can create and Continue to enjoy segregation
manage your Amazon VPC with multiple accounts
Same AZ cost for data transfer is nil!

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon VPC sharing details
https://amzn.to/2Aovw2Z

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Gateway VPC Interface VPC AWS PrivateLink
endpoints endpoints

VPC endpoints

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Region
Internet

Amazon S3 Amazon
DynamoDB

VPCE =
EIP – 10.1.0.11 : 54.23.12.43 Virtual private endpoint
EIP – 10.1.1.11 : 54.19.12.23 (Type: Gateway)

VPCE Internet gateway


Availability Zone 1 Availability Zone 2

Destination Target
10.1.0.0/16 Local
Public subnet Public subnet
0.0.0.0/0 Internet gateway
S3.prefix.list VPCE-123
Instance A Instance
NAT-GW B
10.1.0.11/24
NAT 10.1.1.11/24

Private subnet Private subnet


Destination Target
10.1.0.0/16 Local Instance C Instance D
0.0.0.0/0 NAT-GWB
Instance 10.1.2.11/24 10.1.3.11/24
DDB.prefix.list VPCE-123

VPC CIDR 10.1.0.0/16 + Expand + IPv6


SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Gateway VPC Interface VPC AWS PrivateLink
endpoints endpoints

VPC endpoints

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Region

Amazon API Gateway AWS Config AWS Secrets Manager


AWS CloudFormation
Amazon CloudWatch
Amazon EC2 API
Elastic Load Balancing API
AWS Security Token Service
AWS Service Catalog
22+ services now
Amazon CloudWatch Events AWS Key Management Service Amazon SNS supported over AWS
Amazon CloudWatch Logs Amazon Kinesis Data Streams AWS Systems Manager
AWS CodeBuild Amazon SageMaker Runtime + More PrivateLink

AWS PrivateLink can


Availability Zone 1 Availability Zone 2
reach public services,
Destination Target
privately from your VPC
10.1.0.0/16 Local
Public subnet Public subnet

Instance A Instance B No routes needed!


10.1.0.11/24
NAT NAT-GW
10.1.1.11/24 (almost)
ec2.eu-west-1.amazonaws.com
ec2.eu-west-1.amazonaws.com
Private subnet ENI1:
ENI1:10.1.0.15
10.1.0.15 Private subnet
Destination Target ENI2:
ENI2:10.1.1.23
10.1.1.23
10.1.0.0/16 Local Instance C Instance D
10.1.2.11/24 10.1.3.11/24

VPC CIDR 10.1.0.0/16 + Expand + IPv6


SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC endpoints

Type: Gateway

Type: Interface

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Gateway VPC Interface VPC AWS PrivateLink
endpoints endpoints

VPC endpoints

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
And now AWS PrivateLink
for service providers

Application, e.g., SaaS

AWS
PrivateLink
NLB
Customer VPC
Service provider VPC

SUMMIT
VPC endpoint: vpce-2222.foo.amazon.com
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Global Accelerator

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Before

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Region 1 AWS Region 2

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
After

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
3.10.3.125 3.10.3.125

AWS Region 1 AWS Region 2

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS global network Client state Static anycast IPs

Traffic routed through AWS Global Applications can keep state, with AWS Global Accelerator uses static
Accelerator traverses AWS global connections routed to IP addresses as a fixed entry point to
network (instead of the public the same endpoint, after your applications, which are anycast
internet) initial connection from AWS edge locations

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Global Accelerator
https://amzn.to/2FI3y89

SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Global Accelerator

AWS Region
Internet

Amazon S3 Amazon AWS Lambda Amazon SQS Amazon SNS


AWS IoT
NLB DynamoDB Amazon S3

AWS PrivateLink VPC


service provider VPC Flow Logs Amazon
EIP – 10.1.0.11 : 54.23.12.43 CloudWatch
EIP – 10.1.1.11 : 54.19.12.23
AWS PrivateLink-
enabled services AWS On premises
VPCE Internet gateway
PrivateLink Availability Zone 1 Availability Zone 2

Destination Target Transit GW


10.1.0.0/16 Local
Public subnet Public subnet
0.0.0.0/0 Internet gateway
S3.prefix.list VPCE-123 Intra or
On premises VGW
Instance A Instance
NAT-GW B inter VPC-B
10.1.0.11/24
NAT 10.1.1.11/24
VPC-B PCX-123 Region
Other routes TGW VPC
AWS Direct
Private subnet Private subnet
peering Connect
Destination Target DXGW
10.1.0.0/16 Local Instance C Instance D
0.0.0.0/0 NAT-GWB
Instance 10.1.2.11/24 10.1.3.11/24 On premises
S3.prefix.list VPCE-123
On premises VGW
VPC-B PCX-123
VGW
Other routes TGW
VPC CIDR 10.1.0.0/16 + Expand + IPv6 VPN
SUMMIT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
Neeraj Verma
@rajverma

SUMMIT
© 2019, Amazo n Web Services, Inc. or its affiliates. All rights reserved.

You might also like