SlideShare a Scribd company logo
1 of 81
© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Bradley Acar
Solutions Architect, Enterprise, Sub-Saharan Africa
DevNetOps - Automating Large-scale
Hybrid Cloud Architectures
Firstly, let’s take a look at our global infrastructure
Amazon Global Network
• Redundant private capacity
between all Regions except China
• All traffic between AWS Regions
makes use of the Amazon Global
Network
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Region
AWS Global Infrastructure:
• A Region (18) is a physical location in the world where we
have presence. Regions consist of multiple Availability Zones
• Availability Zones (55) consist of one or more discrete data
centers, each with redundant power, networking, and
connectivity, housed in separate facilities. Applications and
Data are replicated in real time and consistent in the different
AZs
1
N
2 1
N
2
1
N
2
Low-latency
ensures real
data replication
Distance
ensures
high
availability
1
N
2
1
N
2 1
N
2
1
N
2
1
N
2
1
N
2 1
N
2
1
N
2 1
N
2
1
N
2 1
N
2
1
N
2 1
N
2
1
N
2 1
N
2 1
N
2 1
N
2
1
N
2 1
N
2 1
N
2 1
N
2
1
N
2
1
N
2 1
N
2
1
N
2
1
N
2 1
N
2
1
N
2
1
N
2 1
N
2
1
N
2
1
N
2 1
N
2
1
N
2
1
N
2 1
N
2
1
N
2
1
N
2 1
N
2
1
N
2
AWS Regions (18)
AZs (55)
1
N
2 1
N
2
1
N
2
1
N
2
N. Virginia
Ohio
N. California
Oregon
Mumbai
Seoul
Singapore
Sydney
Tokyo
Canada
Beijing
Frankfurt
Ireland
London
São Paulo GovCloud (US-West)
1
N
2 1
N
2
Ningxia
1
N
2 1
N
2
1
N
2
Paris
Ensuring High Availability
Next, a quick recap of Amazon Virtual Private Cloud
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“A virtual network that
closely resembles a
traditional network that
you'd operate in your own
data center”
What is a
Virtual Private Cloud (VPC)?
Instance
Availability Zone
Instance
Availability Zone
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Traditional Network
VPN VPN
WAN
Fiber
Applications Applications
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPN VPN
(VPC Peering)
WAN
Fiber
(AWS Direct Connect)
Applications Applications
AWS Network
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC CIDR 10.1.0.0/16
Availability Zone A Availability Zone B
Public Subnet Public Subnet
Private Subnet Private Subnet
Instance A
10.1.1.11 /24
Instance B
10.1.2.22 /24
Instance C
10.1.3.33 /24
Instance D
10.1.4.44 /24
10.1.1.0/16
10.1.2.0/16
10.1.3.0/16
How does this all scale?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPN
WAN
AWS Direct
Connect
Transit VPCVPN
WAN
AWS Direct
Connect
Transit VPC
Shared Services
VPC Peering
Authentication,
Security, Logging
Shared Services
VPC Peering
Authentication,
Security, Logging
Many VPCs
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Less accounts and networks to setup
• Tighter control within the account or
VPC
• Identity and Access
Management (IAM)
• Strict security groups and
routing
• Identifying resources with tags
• Billing and ownership complexity
• Larger account or VPC blast radius
• User privileges, AWS limits
• More accounts and infrastructure to setup
• Tighter control of provisioning and
standards
• Automation of infrastructure
• AWS Direct Connect and VPN
standards
• Subnet and routing standards
• Simpler billing
• Smaller blast radius for users and networks
• Larger blast radius for shared
infrastructure and services
S m a l l e r V P C s o r a c c o u n t sL a r g e r V P C s o r a c c o u n t s
Account and VPC Segmentation
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Automation of infrastructure
• AWS Direct Connect and VPN
standards
• Subnet and routing standards
• Identity and Access
Management (IAM)
• Strict security groups and
routing
• Identifying resources with tags
S m a l l e r V P C s o r a c c o u n t sL a r g e r V P C s o r a c c o u n t s
Account and VPC Segmentation
Infrastructure and NetworkingPolicy and IAM
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How?
We’ll compare VPC designs that:
• Scale
• Connect multiple VPCs together
• Provide automation
With these design patterns:
Transit VPC
VPN
WAN
AWS Direct
Connect
Transit VPC
Transit VPC
with firewalls
AWS Direct
Connect
WAN
Shared Services Multi-Region
Options
VGW
VGW
VGW
VGW
VGW
VGW
VGW
VGW
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Our Starting Point
VPN
WAN
AWS Direct
Connect
Virtual private
gateway
Dev Prod
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Challenge: Adding more VPCs
VPN
WAN
AWS Direct
Connect
Lots of connections
Dev Prod Dev Prod Dev Prod
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Challenge: Peering VPCs
VPN
WAN
AWS Direct
Connect
VPC to VPC connections?
Dev Prod Dev Prod Dev Prod
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Challenge: Peering VPCs
VPN
WAN
AWS Direct
Connect
Dev Prod Dev Prod Dev Prod
Connect Dev and Prod
VPC Peering
Connect the blue environment
How does this scale?
Let’s:
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC
VPN
WAN
AWS Direct
Connect
Transit VPC
Dev Prod Dev Prod Dev Prod
Dev Prod Dev Prod Dev Prod
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Familiarity and visibility Firewall insertion Encryption everywhere
Centralization Higher scale Inter-region connectivity
Benefits of the Transit VPC
VPN
WAN
AWS Direct
Connect
Transit VPC
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPN
WAN
AWS Direct
Connect
Transit VPC
Transit VPC
Architecture
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC: Hub
Availability Zone 1
Subnet 1
VPN Instance
Availability Zone 2
Subnet 2
VPN Instance
• Instances running VPN software
• Deployed in two Availability Zones
Internet gateway
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC: Routing
Virtual Private
Gateway (VGW)
VGW
VGW
Virtual Private
Network (VPN)
Border Gateway
Protocol (BGP)
Transit VPC
10.0.0.0/16
10.1.0.0/16
The VGW advertises the VPC CIDR to the
VPN instance (10.1.0.0/16)
Customer Gateway
(CGW)
So far, this works exactly like a typical VPN
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC: Routing
Virtual Private
Gateway (VGW)
VGW
VGW
Virtual Private
Network (VPN)
Transit VPC
10.0.0.0/16
10.1.0.0/16
VGW
VGW
10.2.0.0/16
Route Table
Destination Target
10.2.0.0/16 Local
10.1.0.0/0 VGW
Route Table
Destination Target
10.2.0.0/16 Local
0.0.0.0/0 VGW
Internet
The VPN Instances
advertise routes to each
VGW. This can be a default
route or individual routes.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why Doesn’t Peering Work?
VPC Peering
Transit VPC
10.0.0.0/16
10.1.0.0/16 10.2.0.0/16
Route Table
Destination Target
10.2.0.0/16 Local
10.1.0.0/0 VGW
Route Table
Destination Target
10.2.0.0/16 Local
0.0.0.0/0 PCX
Internet
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why Doesn’t Peering Work?
VPC Peering
Transit VPC
10.0.0.0/16
10.1.0.0/16 10.2.0.0/16
Route Table
Destination Target
10.2.0.0/16 Local
10.1.0.0/0 VGW
Route Table
Destination Target
10.2.0.0/16 Local
0.0.0.0/0 PCX
Internet
Destination: Internet Traffic must either originate or
terminate on a network
interface in the VPC
Transitive Routing
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why Does VPN Work?
Transit VPC
10.0.0.0/16
10.1.0.0/16 10.2.0.0/16
Route Table
Destination Target
10.2.0.0/16 Local
10.1.0.0/0 VGW
Route Table
Destination Target
10.2.0.0/16 Local
0.0.0.0/0 VGW
Internet
Destination: Internet
VGW
VGW
Virtual Private
Network (VPN)
VGW
VGW
Traffic must either originate or
terminate on a network
interface in the VPC
Transitive Routing
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC: Availability
Virtual Private
Gateway (VGW)
VGW
VGW
Virtual Private
Network (VPN)
Transit VPC
10.0.0.0/16
10.1.0.0/16
VGW
VGW
10.2.0.0/16
Route Table
Destination Target
10.2.0.0/16 Local
10.1.0.0/0 VGW
Route Table
Destination Target
10.2.0.0/16 Local
0.0.0.0/0 VGW
BGP and Dead Peer Detection (DPD)
detect the failure
The VGW route automatically fails
over to the other tunnel
Internet
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC: Availability
VGW
VGW
Transit VPC
10.0.0.0/16
10.1.0.0/16
VGW
VGW
10.2.0.0/16
Route Table
Destination Target
10.2.0.0/16 Local
10.1.0.0/0 VGW
Route Table
Destination Target
10.2.0.0/16 Local
0.0.0.0/0 VGW
BGP and Dead Peer Detection (DPD)
detect the failure
BGP and Dead Peer Detection (DPD)
detect the failure
Internet
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Options for On-Premises Connectivity
Transit VPC
Internet
On-premises
Virtual Private
Network (VPN)
Internet Gateway
WAN
Virtual Private
Network (VPN)
VGW
VGW
Detached
VGW
AWS
Direct
Connect
Customer
Gateway
VPN over the internet
WANVGW
VGW
Customer
Gateway
VGW
Virtual Private
Network (VPN)
AWS
Direct
Connect
VPN over AWS Direct
Connect
Detached VGW with AWS
Direct Connect
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPN Over the Internet
VGW
VGW
Transit VPC
10.0.0.0/16
10.1.0.0/16
VGW
VGW
10.2.0.0/16
Internet
172.16.0.0/16
On-premises
Virtual Private
Gateway (VGW)
Virtual Private
Network (VPN)
Virtual Private
Network (VPN)
• Use this design for more
control and visibility
• Supports alternative tunnels
such as DMVPN and GRE
• Manually configured and
operated
+
-
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPN Over AWS Direct Connect
VGW
VGW
Transit VPC
10.0.0.0/16
10.1.0.0/16
VGW
VGW
10.2.0.0/16
Virtual Private
Gateway (VGW)
Virtual Private
Network (VPN)
WAN
172.16.0.0/16
On-premises
Virtual Private Network (VPN)
VGW
VGW
Customer
Gateway
(CGW)
VGW
• Useful for encrypting
connections or inserting services
• More control over latency and
quality of the connectivity
• Supports alternative tunnels
such as DMVPN and GRE
• Manually configured and
operated
AWS
Direct
Connect
Private Virtual
Interface (VIF)
+
-
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Detached VGW with AWS Direct Connect
VGW
VGW
Transit VPC
10.0.0.0/16
10.1.0.0/16
VGW
VGW
10.2.0.0/16
Virtual Private
Gateway (VGW)
Virtual Private
Network (VPN)
WAN
172.16.0.0/16
On-premises
Virtual Private Network (VPN)
VGW
VGW
Customer
Gateway
(CGW)
Detached
VGW AWS
Direct
Connect
Private Virtual
Interface (VIF)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Detached VGW with AWS Direct Connect
VGW
VGW
Transit VPC
10.0.0.0/16
10.1.0.0/16
VGW
VGW
10.2.0.0/16
WAN
172.16.0.0/16
On-premises
Virtual Private
Gateway (VGW)
Customer
Gateway
(CGW)
Detached
VGW
On-premises looks like another spoke
AWS
Direct
Connect
VGW
VGW
• Use this design if consistency
and automation are important
• Less management overhead
• Traffic can take multiple
routes out from AWS
• Traffic is unencrypted on the
private network
+
-
Virtual Private Network (VPN)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Firewalls and the
Transit VPC
VGW
VGW VGW
VGW
Internet
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Firewall Use Cases
“We need a firewall for all traffic between on-premises and AWS.”
“We have compliance requirements for intrusion detection in our VPCs.”
“Our security organization requires application-level inspection.”
“We would like to centralize security appliances for any internet traffic.”
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC: Security Services
VGW
VGW
Virtual Private
Network (VPN)
10.0.0.0/16
10.1.0.0/16
VGW
VGW
10.2.0.0/16
Active/Passive
AS-path prepend
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Instance-Based Transit VPC
Virtual Private
Network (VPN)
Spoke VPC Route
Table
Destination Target
10.1.0.0/16 Local
0.0.0.0 ENI
• Use this design for more control
of both sides of the connection
• A wider set of solutions can be
used, like firewalls
• Failover and management at
scale can be challenging
• Use more than one device in
each VPC for better availability
• Instances inside spoke VPCs can
be intrusive
• No dynamic routing with BGP to
the route tables
+
-
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Spoke VPC Route
Table
Destination Target
10.1.0.0/16 Local
0.0.0.0 ENI
• Design is highly scalable
• Design for failover in each
Availability Zone
• Requires centralized
management
• Devices must support many
tunnels
• Licensing costs may be
prohibitive
• High management overhead
• Route propagation is more
difficult
VPN
Mesh
Full-mesh VPN
Connectivity
+
-
Bandwidth
Licensing
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC ecosystem
AWS VPN in Spoke VPCs
Instance VPN
in Spoke VPCs
Continuous Automation
One-time Automation
Manual Deployment
Routing
Firewalls
Anything with
BGP and VPN
Anything with
BGP and VPN
vSRX
CSR
Anything with
tunnels
vMX
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC:
Cost, Scale, and
Performance
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC Costs
VPN
WAN
AWS Direct
Connect
Transit VPC
Per Spoke:
VPN Hourly Charges
VPN Egress Charges
Hub Traffic:
Spoke Destination Egress
Egress Charges
Transit Instances:
Amazon EC2 Charges
Licensing Costs
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Reference: Cisco CSR Bandwidth Tests
Size Routing
(Mbps)
1500B
VPN (Mbps)
1400B
T2.medium 390 300
M3.medium 300 250
C4.large 575 550
C4.xlarge 860 860
C3.2xlarge 1330 1000
C4.2xlarge 2300 2200
C4.4xlarge 4600 4100
C4.8xlarge 5000 4700
Note: Large packets
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPN
WAN
AWS Direct
Connect
Transit VPC
Transit VPC Performance
Use Security Groups inside the VPC
Use VPC Peering
better performance
Each VPN instance can forward ~1-
3 Gbps aggregate on traffic and
instance size
Then what?
Each spoke can forward ~1.25 Gbps
per VPN tunnel
At 100 spokes, aggregate routes
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scaling the Transit VPC
VPN
WAN
AWS Direct
Connect
Transit VPC
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scaling the Transit VPC
VPN
WAN
AWS Direct
Connect
Transit VPC
VPN
WAN
AWS Direct
Connect
Transit VPC
Use pods of independent Transit VPCs
Connect the pods with tunnels for East-West traffic
VPN
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Direct Connect
for Many VPCs
WAN
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Direct Connect to Many VPCs
AWS Region
VGW
VGW
10.1.0.0/16
WAN
On-premises
AWS Direct Connect
Location
Private Virtual Interface
(VIF)
Customer
Router
AWS
Router
Customer
Router
AWS
Router
VGW
VGW
10.2.0.0/16
Up to 50 VIFs per port
AWS Direct Connect
Location 2
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Direct Connect: Link Aggregation
AWS Region
VGW
VGW
10.1.0.0/16
WAN
On-premises
Link Aggregation
(LAG)
Private Virtual Interface
(VIF)
Customer
Router
AWS
Router
Customer
Router
AWS
Router
VGW
VGW
10.2.0.0/16
Up to 4 ports in a LAG,
each with 50 VIFs
AWS Direct Connect
Location 2
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Direct Connect Gateway
AWS Region
VGW
VGW
10.1.0.0/16
WAN
On-premises
AWS Direct Connect
location
Private Virtual
Interface (VIF)
Customer
Router
AWS
Router
Customer
Router
AWS
Router
VGW
VGW
10.2.0.0/16
Up to 10 VGWs per direct
connect gateway
AWS Direct Connect
location 2
Direct
connect
gateway
Account
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Multiple Regions
WAN
On-premises
AWS Direct Connect
Location
Private Virtual
Interface (VIF)
Customer
Router
AWS
Router
Customer
Router
AWS
Router
AWS Region
VGW
VGW
VGW
VGW
AWS Direct Connect
Location 2
Direct
connect
gateway
Account
AWS Region
VGW
VGW
VGW
VGW
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Shared Services VPCs
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Shared Services VPC
• Authentication
• Logging
• DevOps tools
• Security resources
• Deployed in each AWS Region
Shared Services
VPC Peering
Authentication,
Security, Logging
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC Peering
Challenges
VPN
WAN
AWS Direct
Connect
Shared Services
VPC Peering
Full VPC connectivity
172.16.0.0/16 172.16.0.0/16
No overlapping addresses
…125
Scale
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PrivateLink
Shared
Services VPC
10.1.0.0/16
10.1.1.0/24
Availability Zone
10.1.1.127
10.1.2.0/24
Availability Zone
10.1.2.35
172.16.0.0/16
172.16.1.0/24
Availability Zone
172.16.2.0/24
Availability Zone
Network Load
Balancer
API API
One IP Address for each
Availability Zone
The endpoint is a local IP address
Access is unidirectional
Requests
172.16.1.9 172.16.2.41
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PrivateLink
Shared
Services VPC
10.1.0.0/16
10.1.1.0/24
Availability Zone
10.1.1.127
10.1.2.0/24
Availability Zone
10.1.2.35
172.16.0.0/16
172.16.1.0/24
Availability Zone
172.16.2.0/24
Availability Zone
172.16.1.9 172.16.2.41
API API
10.1.0.0/16
10.1.1.0/24
Availability Zone
10.1.1.162
10.1.2.0/24
Availability Zone
10.1.2.22
Support for
overlapping IP address
ranges
…thousands
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPN
WAN
AWS Direct
Connect
Transit VPC
Shared
Services
Transit VPC with Services VPC:
It’s just a spoke
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Shared Services Options
VPN
WAN
AWS Direct
Connect
Shared Services
VPC Peering
VPC Peering
• Bidirectional services
• Broad VPC access
• No load balancers required
+
PrivateLink
• Unidirectional services
• More granular access
• Scale beyond 125 spokes
• Overlapping addresses
+
Transit VPC
• Transit VPC consistency
• Automation is built-in
• Lower performance
• More complex to manage
+
VPN
WAN
AWS Direct
Connect
Transit VPC
Shared
Services
-
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Multiple Regions
AWS Region
VGW
VGW
VGW
VGW
AWS Region
VGW
VGW
VGW
VGW
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Inter-Region VPC Peering
AWS Region AWS Region
VPC
Peering
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Global Connectivity Options
VPN
WAN
AWS Direct
Connect
Transit VPC
Cross-Region VPNDirect Connect Gateway Inter-Region Peering
• Native connectivity
• No management required
• One-to-one VPC
configuration
+• AWS Direct Connect only
• High performance
• No management required
+ • Transit VPC consistency
• Full control of connectivity
• Lower performance
• More complex to manage
+
--
Let’s Automate…
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC
Automation
AWS CloudFormation and
Implementation Guide
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC: Hub
Availability Zone 1
Subnet 1
Cisco CSR
Availability Zone 2
Subnet 2
Cisco CSR
• Uses the Cisco CSR
• Available in BYOL or Hourly billing
from AWS Marketplace
• Full featured IOS-XE device
• Deployed in two Availability Zones
• Support for duplicate tunnel addresses
Internet gateway
https://www.cisco.com/c/en/us/td/docs/routers/csr1000/software/aws/b_csraws_transitVPC/b_csraws_transitVPC_chapter_01.html
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Region
Transit VPC
S3 Bucket
for
VPN
Config
Route Table
Destination Target
100.64.127.224/27 Local
0.0.0.0 IGW
Prefix List for S3 VPCE
100.64.127.224 / 27
Transit
VPC:
Creation
Availability Zone 1
Subnet 1
Cisco CSR
Availability Zone 2
Subnet 2
Cisco CSR
EC2 Auto-recovery
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC
S3 Bucket
for
VPN Config
Spoke VPC
AWS Lambda
Cisco
Configurator
AWS Lambda
VGW Poller
transitvpc:spoke = true
Transit VPC:
Add Spoke
SSH Only to CSR Security Group
VGW
AWS Key
Management
Service (KMS)
AWS Region
Availability Zone 1
Subnet 1
Cisco CSR
Availability Zone 2
Subnet 2
Cisco CSR
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit VPC
S3 Bucket
for
VPN Config
Spoke VPC
AWS Lambda
Cisco
Configurator
AWS Lambda
VGW Poller
transitvpc:spoke = falseVGW
AWS Region
Availability Zone 1
Subnet 1
Cisco CSR
Availability Zone 2
Subnet 2
Cisco CSR
Transit VPC:
Remove Spoke
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda
Cisco
Configurator
AWS Lambda
VGW
Poller
transitvpc:spoke = true
Transit VPC:
Add Spoke in
Another Region
AWS Region
S3 Bucket
for
VPN Config
Transit VPC
Availability Zone 1
Subnet 1
Cisco CSR
Availability Zone 2
Subnet 2
Cisco CSR
AWS Region
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda
Cisco
Configurator
transitvpc:spoke = true
AWS Region
Transit VPC
Availability Zone 1
Subnet 1
Cisco CSR
Availability Zone 2
Subnet 2
Cisco CSR
AWS Region
AWS Account
1. Setup the VGW
Poller
2. Allow bucket access
3. Allow KMS access
Transit VPC:
Add Spoke in
Another Account S3 Bucket
for
VPN Config
AWS Key
Management
Service (KMS)
AWS Lambda
VGW
Poller
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Account
Availability Zone 1
Subnet 1
Cisco CSR
Availability Zone 2
Subnet 2
Cisco CSR
AWS Region
Transit VPC
AWS Region
S3 Bucket
for
VPN Config
AWS Lambda
Cisco
Configurator
AWS Lambda
VGW
Poller
Transit VPC:
Add Spoke in
Another Account
AWS Key
Management
Service (KMS)
Launch CloudFormation in Spoke Account
1. Setup the VGW
Poller
2. Allow bucket access
3. Allow KMS access
transitvpc:spoke = true
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
S3 Bucket
for
VPN Config
AWS Lambda
Cisco
Configurator
AWS Lambda
VGW
Poller
Transit VPC:
Add Spoke in
Another Account
AWS Key
Management
Service (KMS)
1. Setup the VGW
Poller
2. Allow bucket access
3. Allow KMS access
AWS Region
transitvpc:spoke = true
Availability Zone 1
Subnet 1
Cisco CSR
Availability Zone 2
Subnet 2
Cisco CSR
Transit VPC
AWS Region
AWS Account
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
{
"Version": "2008-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::<account-1-ID>:root",
"arn:aws:iam::<account-2-ID>:root"
]
},
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:PutObjectAcl"
],
"Resource": "arn:aws:s3:::<S3 bucket name>/<bucket prefix>/*"
}
]
}
S3 Bucket Policy for a Spoke Account
One additional account can be defined at launch
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
S3 Bucket
for
VPN Config
AWS Lambda
Cisco
Configurator
AWS Lambda
VGW
Poller
Transit VPC:
Add Spoke in
Another Account
AWS Key
Management
Service (KMS)
1. Setup the VGW
Poller
2. Allow bucket access
3. Allow KMS access
AWS Region
transitvpc:spoke = true
Availability Zone 1
Subnet 1
Cisco CSR
Availability Zone 2
Subnet 2
Cisco CSR
Transit VPC
AWS Region
AWS Account
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
{
"Sid": "Allow use of the key",
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam:: <transit-vpc-primary-account-id>:role/TransitVPC-TransitVpcPollerRole-[cloudformation-id]",
"arn:aws:iam:: <transit-vpc-primary-account-id>:role/TransitVPC-CiscoConfigFunctionRole-[cloudformation-id]",
"arn:aws:iam:: <transit-vpc-primary-account-id>:role/TransitVPC-LambdaLoaderRole-[cloudformation-id]",
"arn:aws:iam::<account-1-id>:root",
"arn:aws:iam::<account-2-id>:root"
]
},
Key Management System: Key Policy
One additional account can be defined at launch
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda
Cisco
Configurator
transitvpc:spoke = true
AWS Region
Transit VPC
Availability Zone 1
Subnet 1
Cisco CSR
Availability Zone 2
Subnet 2
Cisco CSR
AWS Region
AWS Account
1. Setup the VGW
Poller
2. Allow bucket access
3. Allow KMS access
Transit VPC:
Add Spoke in
Another Account S3 Bucket
for
VPN Config
AWS Key
Management
Service (KMS)
AWS Lambda
VGW
Poller
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC Inflection Points
VPN Direct Connect VPC
5
15
50
100
125
200+
Transit VPC
Define your own
tunnel addresses
Automation Automation
VIF to port Limit Route and peering limit
Max route limit
Max peer limit
Limit on 4x LAG
Transit VPC
Customization
1
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
200+
Internet
Secure protocols
Secure authentication
Bastion hosts
Use PrivateLink
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Advice
• Networking changes fast, no more crystal balls
• Segment as needed
• Experiment and test
• Mix and match! These are starting points not dogma!
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Take This Home
• Transit VPC for centralizing VPN configuration
• AWS Direct Connect can be used in addition to VPN
• Automation is important
• There are many options, and they change over time
• Customize, mix and match
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Networking Study Guide
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you
Bradley Acar, Solutions Architect
/in/bradleyacar/
https://bit.ly/2KIMuRu
Networking Many VPCs: Transit and Shared Architectures (NET404) –
Nick Matthews, Partner Solution Architect, AWS

More Related Content

What's hot

Scale - Enterprise Network Architectures on AWS
Scale - Enterprise Network Architectures on AWSScale - Enterprise Network Architectures on AWS
Scale - Enterprise Network Architectures on AWSAmazon Web Services
 
5 Best Practices for Building an AWS Global Transit Network
 5 Best Practices for Building an AWS Global Transit Network 5 Best Practices for Building an AWS Global Transit Network
5 Best Practices for Building an AWS Global Transit NetworkAmazon Web Services
 
Edge to Instance - AWS Networking
Edge to Instance - AWS Networking Edge to Instance - AWS Networking
Edge to Instance - AWS Networking Amazon Web Services
 
(ENT307) AWS Direct Connect Solutions and Network Automation | AWS re:Invent ...
(ENT307) AWS Direct Connect Solutions and Network Automation | AWS re:Invent ...(ENT307) AWS Direct Connect Solutions and Network Automation | AWS re:Invent ...
(ENT307) AWS Direct Connect Solutions and Network Automation | AWS re:Invent ...Amazon Web Services
 
Deep dive on Amazon Managed Blockchain
Deep dive on Amazon Managed BlockchainDeep dive on Amazon Managed Blockchain
Deep dive on Amazon Managed BlockchainAmazon Web Services
 
AWS Direct Connect: Deep Dive (NET403) - AWS re:Invent 2018
AWS Direct Connect: Deep Dive (NET403) - AWS re:Invent 2018AWS Direct Connect: Deep Dive (NET403) - AWS re:Invent 2018
AWS Direct Connect: Deep Dive (NET403) - AWS re:Invent 2018Amazon Web Services
 
09 (IDNOG02) Services SDN & NFV Delivering more with less by Mochammad Irzan
09 (IDNOG02) Services SDN & NFV Delivering more with less by Mochammad Irzan09 (IDNOG02) Services SDN & NFV Delivering more with less by Mochammad Irzan
09 (IDNOG02) Services SDN & NFV Delivering more with less by Mochammad IrzanIndonesia Network Operators Group
 
A10 Thunder Convergent Firewall (CFW)
A10 Thunder Convergent Firewall (CFW)A10 Thunder Convergent Firewall (CFW)
A10 Thunder Convergent Firewall (CFW)A10 Networks
 
Brk30176 enterprise class networking in azure
Brk30176 enterprise class networking in azureBrk30176 enterprise class networking in azure
Brk30176 enterprise class networking in azureAbou CONDE
 
Leadership Session: Networking (NET209-L) - AWS re:Invent 2018
Leadership Session: Networking (NET209-L) - AWS re:Invent 2018Leadership Session: Networking (NET209-L) - AWS re:Invent 2018
Leadership Session: Networking (NET209-L) - AWS re:Invent 2018Amazon Web Services
 
IoT at the Edge: Introduction to AWS Greengrass (IOT406-R1) - AWS re:Invent 2018
IoT at the Edge: Introduction to AWS Greengrass (IOT406-R1) - AWS re:Invent 2018IoT at the Edge: Introduction to AWS Greengrass (IOT406-R1) - AWS re:Invent 2018
IoT at the Edge: Introduction to AWS Greengrass (IOT406-R1) - AWS re:Invent 2018Amazon Web Services
 
A10 slide deck: A10 Networks Brings Brawn to Stop Multi-Vector DDoS Disruptio...
A10 slide deck: A10 Networks Brings Brawn to Stop Multi-Vector DDoS Disruptio...A10 slide deck: A10 Networks Brings Brawn to Stop Multi-Vector DDoS Disruptio...
A10 slide deck: A10 Networks Brings Brawn to Stop Multi-Vector DDoS Disruptio...A10 Networks
 
Consul: Service Mesh for Microservices
Consul: Service Mesh for MicroservicesConsul: Service Mesh for Microservices
Consul: Service Mesh for MicroservicesArmonDadgar
 
Build your first blockchain application with Amazon Managed Blockchain - SVC2...
Build your first blockchain application with Amazon Managed Blockchain - SVC2...Build your first blockchain application with Amazon Managed Blockchain - SVC2...
Build your first blockchain application with Amazon Managed Blockchain - SVC2...Amazon Web Services
 
SP Virtual Managed Services (VMS) for Intelligent WAN (IWAN)
SP Virtual Managed Services (VMS) for Intelligent WAN (IWAN)SP Virtual Managed Services (VMS) for Intelligent WAN (IWAN)
SP Virtual Managed Services (VMS) for Intelligent WAN (IWAN)Cisco Canada
 
ACOS 2.7.1 Release with Integrated WAF, AAM and DDoS Modules
ACOS 2.7.1 Release with Integrated WAF, AAM and DDoS ModulesACOS 2.7.1 Release with Integrated WAF, AAM and DDoS Modules
ACOS 2.7.1 Release with Integrated WAF, AAM and DDoS ModulesA10 Networks
 
Api service mesh and microservice tooling
Api service mesh and microservice toolingApi service mesh and microservice tooling
Api service mesh and microservice toolingLuca Mattia Ferrari
 
Making Security Approachable for Developers and Operators
Making Security Approachable for Developers and OperatorsMaking Security Approachable for Developers and Operators
Making Security Approachable for Developers and OperatorsArmonDadgar
 
QoS Challenges and Solutions
QoS Challenges and SolutionsQoS Challenges and Solutions
QoS Challenges and SolutionsGoS Networks Ltd
 
Cisco Virtual Managed Services Solution
Cisco Virtual Managed Services SolutionCisco Virtual Managed Services Solution
Cisco Virtual Managed Services SolutionCisco Service Provider
 

What's hot (20)

Scale - Enterprise Network Architectures on AWS
Scale - Enterprise Network Architectures on AWSScale - Enterprise Network Architectures on AWS
Scale - Enterprise Network Architectures on AWS
 
5 Best Practices for Building an AWS Global Transit Network
 5 Best Practices for Building an AWS Global Transit Network 5 Best Practices for Building an AWS Global Transit Network
5 Best Practices for Building an AWS Global Transit Network
 
Edge to Instance - AWS Networking
Edge to Instance - AWS Networking Edge to Instance - AWS Networking
Edge to Instance - AWS Networking
 
(ENT307) AWS Direct Connect Solutions and Network Automation | AWS re:Invent ...
(ENT307) AWS Direct Connect Solutions and Network Automation | AWS re:Invent ...(ENT307) AWS Direct Connect Solutions and Network Automation | AWS re:Invent ...
(ENT307) AWS Direct Connect Solutions and Network Automation | AWS re:Invent ...
 
Deep dive on Amazon Managed Blockchain
Deep dive on Amazon Managed BlockchainDeep dive on Amazon Managed Blockchain
Deep dive on Amazon Managed Blockchain
 
AWS Direct Connect: Deep Dive (NET403) - AWS re:Invent 2018
AWS Direct Connect: Deep Dive (NET403) - AWS re:Invent 2018AWS Direct Connect: Deep Dive (NET403) - AWS re:Invent 2018
AWS Direct Connect: Deep Dive (NET403) - AWS re:Invent 2018
 
09 (IDNOG02) Services SDN & NFV Delivering more with less by Mochammad Irzan
09 (IDNOG02) Services SDN & NFV Delivering more with less by Mochammad Irzan09 (IDNOG02) Services SDN & NFV Delivering more with less by Mochammad Irzan
09 (IDNOG02) Services SDN & NFV Delivering more with less by Mochammad Irzan
 
A10 Thunder Convergent Firewall (CFW)
A10 Thunder Convergent Firewall (CFW)A10 Thunder Convergent Firewall (CFW)
A10 Thunder Convergent Firewall (CFW)
 
Brk30176 enterprise class networking in azure
Brk30176 enterprise class networking in azureBrk30176 enterprise class networking in azure
Brk30176 enterprise class networking in azure
 
Leadership Session: Networking (NET209-L) - AWS re:Invent 2018
Leadership Session: Networking (NET209-L) - AWS re:Invent 2018Leadership Session: Networking (NET209-L) - AWS re:Invent 2018
Leadership Session: Networking (NET209-L) - AWS re:Invent 2018
 
IoT at the Edge: Introduction to AWS Greengrass (IOT406-R1) - AWS re:Invent 2018
IoT at the Edge: Introduction to AWS Greengrass (IOT406-R1) - AWS re:Invent 2018IoT at the Edge: Introduction to AWS Greengrass (IOT406-R1) - AWS re:Invent 2018
IoT at the Edge: Introduction to AWS Greengrass (IOT406-R1) - AWS re:Invent 2018
 
A10 slide deck: A10 Networks Brings Brawn to Stop Multi-Vector DDoS Disruptio...
A10 slide deck: A10 Networks Brings Brawn to Stop Multi-Vector DDoS Disruptio...A10 slide deck: A10 Networks Brings Brawn to Stop Multi-Vector DDoS Disruptio...
A10 slide deck: A10 Networks Brings Brawn to Stop Multi-Vector DDoS Disruptio...
 
Consul: Service Mesh for Microservices
Consul: Service Mesh for MicroservicesConsul: Service Mesh for Microservices
Consul: Service Mesh for Microservices
 
Build your first blockchain application with Amazon Managed Blockchain - SVC2...
Build your first blockchain application with Amazon Managed Blockchain - SVC2...Build your first blockchain application with Amazon Managed Blockchain - SVC2...
Build your first blockchain application with Amazon Managed Blockchain - SVC2...
 
SP Virtual Managed Services (VMS) for Intelligent WAN (IWAN)
SP Virtual Managed Services (VMS) for Intelligent WAN (IWAN)SP Virtual Managed Services (VMS) for Intelligent WAN (IWAN)
SP Virtual Managed Services (VMS) for Intelligent WAN (IWAN)
 
ACOS 2.7.1 Release with Integrated WAF, AAM and DDoS Modules
ACOS 2.7.1 Release with Integrated WAF, AAM and DDoS ModulesACOS 2.7.1 Release with Integrated WAF, AAM and DDoS Modules
ACOS 2.7.1 Release with Integrated WAF, AAM and DDoS Modules
 
Api service mesh and microservice tooling
Api service mesh and microservice toolingApi service mesh and microservice tooling
Api service mesh and microservice tooling
 
Making Security Approachable for Developers and Operators
Making Security Approachable for Developers and OperatorsMaking Security Approachable for Developers and Operators
Making Security Approachable for Developers and Operators
 
QoS Challenges and Solutions
QoS Challenges and SolutionsQoS Challenges and Solutions
QoS Challenges and Solutions
 
Cisco Virtual Managed Services Solution
Cisco Virtual Managed Services SolutionCisco Virtual Managed Services Solution
Cisco Virtual Managed Services Solution
 

Similar to DevNetOps: Automating large-scale hybrid cloud architectures - AWS Summit Cape Town 2018

Networking Many VPCs: Transit and Shared Architectures - NET404 - re:Invent 2017
Networking Many VPCs: Transit and Shared Architectures - NET404 - re:Invent 2017Networking Many VPCs: Transit and Shared Architectures - NET404 - re:Invent 2017
Networking Many VPCs: Transit and Shared Architectures - NET404 - re:Invent 2017Amazon Web Services
 
AWS re:Invent 2018: [NEW LAUNCH] AWS Transit Gateway & Transit VPCs, Ref Arch...
AWS re:Invent 2018: [NEW LAUNCH] AWS Transit Gateway & Transit VPCs, Ref Arch...AWS re:Invent 2018: [NEW LAUNCH] AWS Transit Gateway & Transit VPCs, Ref Arch...
AWS re:Invent 2018: [NEW LAUNCH] AWS Transit Gateway & Transit VPCs, Ref Arch...Amazon Web Services
 
[NEW LAUNCH!] AWS Transit Gateway and Transit VPCs - Reference Architectures ...
[NEW LAUNCH!] AWS Transit Gateway and Transit VPCs - Reference Architectures ...[NEW LAUNCH!] AWS Transit Gateway and Transit VPCs - Reference Architectures ...
[NEW LAUNCH!] AWS Transit Gateway and Transit VPCs - Reference Architectures ...Amazon Web Services
 
高度規模化、可信賴的混合雲網路 (Level 300-400)
高度規模化、可信賴的混合雲網路 (Level 300-400)高度規模化、可信賴的混合雲網路 (Level 300-400)
高度規模化、可信賴的混合雲網路 (Level 300-400)Amazon Web Services
 
Connecting Many VPCs: Network Design Patterns at Scale (ARC405) - AWS re:Inve...
Connecting Many VPCs: Network Design Patterns at Scale (ARC405) - AWS re:Inve...Connecting Many VPCs: Network Design Patterns at Scale (ARC405) - AWS re:Inve...
Connecting Many VPCs: Network Design Patterns at Scale (ARC405) - AWS re:Inve...Amazon Web Services
 
AWS Networking for Migration and Hybrid Environments
AWS Networking for Migration and Hybrid EnvironmentsAWS Networking for Migration and Hybrid Environments
AWS Networking for Migration and Hybrid EnvironmentsAmazon Web Services
 
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City SummitPlanificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City SummitAmazon Web Services
 
Become an AWS VPN and AWS Direct Connect Expert (NET306-R1) - AWS re:Invent 2018
Become an AWS VPN and AWS Direct Connect Expert (NET306-R1) - AWS re:Invent 2018Become an AWS VPN and AWS Direct Connect Expert (NET306-R1) - AWS re:Invent 2018
Become an AWS VPN and AWS Direct Connect Expert (NET306-R1) - AWS re:Invent 2018Amazon Web Services
 
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...AWS Summits
 
Amazon VPC: Security at the Speed Of Light (NET313) - AWS re:Invent 2018
Amazon VPC: Security at the Speed Of Light (NET313) - AWS re:Invent 2018Amazon VPC: Security at the Speed Of Light (NET313) - AWS re:Invent 2018
Amazon VPC: Security at the Speed Of Light (NET313) - AWS re:Invent 2018Amazon Web Services
 
Networking and Edge Services on AWS
Networking and Edge Services on AWSNetworking and Edge Services on AWS
Networking and Edge Services on AWSAmazon Web Services
 
Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...
Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...
Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...Amazon Web Services
 
Planning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
Planning advanced AWS networking architectures - SVC304 - Chicago AWS SummitPlanning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
Planning advanced AWS networking architectures - SVC304 - Chicago AWS SummitAmazon Web Services
 
AWS PrivateLink: Fundamentals - SRV211 - Anaheim AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Anaheim AWS SummitAWS PrivateLink: Fundamentals - SRV211 - Anaheim AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Anaheim AWS SummitAmazon Web Services
 
AWS PrivateLink: Fundamentals - SRV211 - Atlanta AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Atlanta AWS SummitAWS PrivateLink: Fundamentals - SRV211 - Atlanta AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Atlanta AWS SummitAmazon Web Services
 
Deep Dive on New AWS Networking Features - AWS Online Tech Talks
Deep Dive on New AWS Networking Features - AWS Online Tech TalksDeep Dive on New AWS Networking Features - AWS Online Tech Talks
Deep Dive on New AWS Networking Features - AWS Online Tech TalksAmazon Web Services
 
VPC Design and New Capabilities for Amazon VPC
VPC Design and New Capabilities for Amazon VPCVPC Design and New Capabilities for Amazon VPC
VPC Design and New Capabilities for Amazon VPCAmazon Web Services
 
From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018
From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018
From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018Amazon Web Services
 
Extending Data Centers to the Cloud: Connectivity Options and Best Practices ...
Extending Data Centers to the Cloud: Connectivity Options and Best Practices ...Extending Data Centers to the Cloud: Connectivity Options and Best Practices ...
Extending Data Centers to the Cloud: Connectivity Options and Best Practices ...Amazon Web Services
 
GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...
GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...
GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...Amazon Web Services
 

Similar to DevNetOps: Automating large-scale hybrid cloud architectures - AWS Summit Cape Town 2018 (20)

Networking Many VPCs: Transit and Shared Architectures - NET404 - re:Invent 2017
Networking Many VPCs: Transit and Shared Architectures - NET404 - re:Invent 2017Networking Many VPCs: Transit and Shared Architectures - NET404 - re:Invent 2017
Networking Many VPCs: Transit and Shared Architectures - NET404 - re:Invent 2017
 
AWS re:Invent 2018: [NEW LAUNCH] AWS Transit Gateway & Transit VPCs, Ref Arch...
AWS re:Invent 2018: [NEW LAUNCH] AWS Transit Gateway & Transit VPCs, Ref Arch...AWS re:Invent 2018: [NEW LAUNCH] AWS Transit Gateway & Transit VPCs, Ref Arch...
AWS re:Invent 2018: [NEW LAUNCH] AWS Transit Gateway & Transit VPCs, Ref Arch...
 
[NEW LAUNCH!] AWS Transit Gateway and Transit VPCs - Reference Architectures ...
[NEW LAUNCH!] AWS Transit Gateway and Transit VPCs - Reference Architectures ...[NEW LAUNCH!] AWS Transit Gateway and Transit VPCs - Reference Architectures ...
[NEW LAUNCH!] AWS Transit Gateway and Transit VPCs - Reference Architectures ...
 
高度規模化、可信賴的混合雲網路 (Level 300-400)
高度規模化、可信賴的混合雲網路 (Level 300-400)高度規模化、可信賴的混合雲網路 (Level 300-400)
高度規模化、可信賴的混合雲網路 (Level 300-400)
 
Connecting Many VPCs: Network Design Patterns at Scale (ARC405) - AWS re:Inve...
Connecting Many VPCs: Network Design Patterns at Scale (ARC405) - AWS re:Inve...Connecting Many VPCs: Network Design Patterns at Scale (ARC405) - AWS re:Inve...
Connecting Many VPCs: Network Design Patterns at Scale (ARC405) - AWS re:Inve...
 
AWS Networking for Migration and Hybrid Environments
AWS Networking for Migration and Hybrid EnvironmentsAWS Networking for Migration and Hybrid Environments
AWS Networking for Migration and Hybrid Environments
 
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City SummitPlanificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
 
Become an AWS VPN and AWS Direct Connect Expert (NET306-R1) - AWS re:Invent 2018
Become an AWS VPN and AWS Direct Connect Expert (NET306-R1) - AWS re:Invent 2018Become an AWS VPN and AWS Direct Connect Expert (NET306-R1) - AWS re:Invent 2018
Become an AWS VPN and AWS Direct Connect Expert (NET306-R1) - AWS re:Invent 2018
 
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
 
Amazon VPC: Security at the Speed Of Light (NET313) - AWS re:Invent 2018
Amazon VPC: Security at the Speed Of Light (NET313) - AWS re:Invent 2018Amazon VPC: Security at the Speed Of Light (NET313) - AWS re:Invent 2018
Amazon VPC: Security at the Speed Of Light (NET313) - AWS re:Invent 2018
 
Networking and Edge Services on AWS
Networking and Edge Services on AWSNetworking and Edge Services on AWS
Networking and Edge Services on AWS
 
Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...
Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...
Your Virtual Data Center: VPC Fundamentals and Connectivity Options (NET201) ...
 
Planning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
Planning advanced AWS networking architectures - SVC304 - Chicago AWS SummitPlanning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
Planning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
 
AWS PrivateLink: Fundamentals - SRV211 - Anaheim AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Anaheim AWS SummitAWS PrivateLink: Fundamentals - SRV211 - Anaheim AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Anaheim AWS Summit
 
AWS PrivateLink: Fundamentals - SRV211 - Atlanta AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Atlanta AWS SummitAWS PrivateLink: Fundamentals - SRV211 - Atlanta AWS Summit
AWS PrivateLink: Fundamentals - SRV211 - Atlanta AWS Summit
 
Deep Dive on New AWS Networking Features - AWS Online Tech Talks
Deep Dive on New AWS Networking Features - AWS Online Tech TalksDeep Dive on New AWS Networking Features - AWS Online Tech Talks
Deep Dive on New AWS Networking Features - AWS Online Tech Talks
 
VPC Design and New Capabilities for Amazon VPC
VPC Design and New Capabilities for Amazon VPCVPC Design and New Capabilities for Amazon VPC
VPC Design and New Capabilities for Amazon VPC
 
From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018
From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018
From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018
 
Extending Data Centers to the Cloud: Connectivity Options and Best Practices ...
Extending Data Centers to the Cloud: Connectivity Options and Best Practices ...Extending Data Centers to the Cloud: Connectivity Options and Best Practices ...
Extending Data Centers to the Cloud: Connectivity Options and Best Practices ...
 
GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...
GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...
GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

DevNetOps: Automating large-scale hybrid cloud architectures - AWS Summit Cape Town 2018

  • 1. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Bradley Acar Solutions Architect, Enterprise, Sub-Saharan Africa DevNetOps - Automating Large-scale Hybrid Cloud Architectures
  • 2. Firstly, let’s take a look at our global infrastructure
  • 3. Amazon Global Network • Redundant private capacity between all Regions except China • All traffic between AWS Regions makes use of the Amazon Global Network © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 4. Region AWS Global Infrastructure: • A Region (18) is a physical location in the world where we have presence. Regions consist of multiple Availability Zones • Availability Zones (55) consist of one or more discrete data centers, each with redundant power, networking, and connectivity, housed in separate facilities. Applications and Data are replicated in real time and consistent in the different AZs 1 N 2 1 N 2 1 N 2 Low-latency ensures real data replication Distance ensures high availability 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 AWS Regions (18) AZs (55) 1 N 2 1 N 2 1 N 2 1 N 2 N. Virginia Ohio N. California Oregon Mumbai Seoul Singapore Sydney Tokyo Canada Beijing Frankfurt Ireland London São Paulo GovCloud (US-West) 1 N 2 1 N 2 Ningxia 1 N 2 1 N 2 1 N 2 Paris Ensuring High Availability
  • 5. Next, a quick recap of Amazon Virtual Private Cloud
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “A virtual network that closely resembles a traditional network that you'd operate in your own data center” What is a Virtual Private Cloud (VPC)? Instance Availability Zone Instance Availability Zone
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Traditional Network VPN VPN WAN Fiber Applications Applications
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPN VPN (VPC Peering) WAN Fiber (AWS Direct Connect) Applications Applications AWS Network
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC CIDR 10.1.0.0/16 Availability Zone A Availability Zone B Public Subnet Public Subnet Private Subnet Private Subnet Instance A 10.1.1.11 /24 Instance B 10.1.2.22 /24 Instance C 10.1.3.33 /24 Instance D 10.1.4.44 /24 10.1.1.0/16 10.1.2.0/16 10.1.3.0/16
  • 10. How does this all scale?
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPN WAN AWS Direct Connect Transit VPCVPN WAN AWS Direct Connect Transit VPC Shared Services VPC Peering Authentication, Security, Logging Shared Services VPC Peering Authentication, Security, Logging Many VPCs
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Less accounts and networks to setup • Tighter control within the account or VPC • Identity and Access Management (IAM) • Strict security groups and routing • Identifying resources with tags • Billing and ownership complexity • Larger account or VPC blast radius • User privileges, AWS limits • More accounts and infrastructure to setup • Tighter control of provisioning and standards • Automation of infrastructure • AWS Direct Connect and VPN standards • Subnet and routing standards • Simpler billing • Smaller blast radius for users and networks • Larger blast radius for shared infrastructure and services S m a l l e r V P C s o r a c c o u n t sL a r g e r V P C s o r a c c o u n t s Account and VPC Segmentation
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Automation of infrastructure • AWS Direct Connect and VPN standards • Subnet and routing standards • Identity and Access Management (IAM) • Strict security groups and routing • Identifying resources with tags S m a l l e r V P C s o r a c c o u n t sL a r g e r V P C s o r a c c o u n t s Account and VPC Segmentation Infrastructure and NetworkingPolicy and IAM
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How? We’ll compare VPC designs that: • Scale • Connect multiple VPCs together • Provide automation With these design patterns: Transit VPC VPN WAN AWS Direct Connect Transit VPC Transit VPC with firewalls AWS Direct Connect WAN Shared Services Multi-Region Options VGW VGW VGW VGW VGW VGW VGW VGW
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Our Starting Point VPN WAN AWS Direct Connect Virtual private gateway Dev Prod
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Challenge: Adding more VPCs VPN WAN AWS Direct Connect Lots of connections Dev Prod Dev Prod Dev Prod
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Challenge: Peering VPCs VPN WAN AWS Direct Connect VPC to VPC connections? Dev Prod Dev Prod Dev Prod
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Challenge: Peering VPCs VPN WAN AWS Direct Connect Dev Prod Dev Prod Dev Prod Connect Dev and Prod VPC Peering Connect the blue environment How does this scale? Let’s:
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC VPN WAN AWS Direct Connect Transit VPC Dev Prod Dev Prod Dev Prod Dev Prod Dev Prod Dev Prod
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Familiarity and visibility Firewall insertion Encryption everywhere Centralization Higher scale Inter-region connectivity Benefits of the Transit VPC VPN WAN AWS Direct Connect Transit VPC
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPN WAN AWS Direct Connect Transit VPC Transit VPC Architecture
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC: Hub Availability Zone 1 Subnet 1 VPN Instance Availability Zone 2 Subnet 2 VPN Instance • Instances running VPN software • Deployed in two Availability Zones Internet gateway
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC: Routing Virtual Private Gateway (VGW) VGW VGW Virtual Private Network (VPN) Border Gateway Protocol (BGP) Transit VPC 10.0.0.0/16 10.1.0.0/16 The VGW advertises the VPC CIDR to the VPN instance (10.1.0.0/16) Customer Gateway (CGW) So far, this works exactly like a typical VPN
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC: Routing Virtual Private Gateway (VGW) VGW VGW Virtual Private Network (VPN) Transit VPC 10.0.0.0/16 10.1.0.0/16 VGW VGW 10.2.0.0/16 Route Table Destination Target 10.2.0.0/16 Local 10.1.0.0/0 VGW Route Table Destination Target 10.2.0.0/16 Local 0.0.0.0/0 VGW Internet The VPN Instances advertise routes to each VGW. This can be a default route or individual routes.
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why Doesn’t Peering Work? VPC Peering Transit VPC 10.0.0.0/16 10.1.0.0/16 10.2.0.0/16 Route Table Destination Target 10.2.0.0/16 Local 10.1.0.0/0 VGW Route Table Destination Target 10.2.0.0/16 Local 0.0.0.0/0 PCX Internet
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why Doesn’t Peering Work? VPC Peering Transit VPC 10.0.0.0/16 10.1.0.0/16 10.2.0.0/16 Route Table Destination Target 10.2.0.0/16 Local 10.1.0.0/0 VGW Route Table Destination Target 10.2.0.0/16 Local 0.0.0.0/0 PCX Internet Destination: Internet Traffic must either originate or terminate on a network interface in the VPC Transitive Routing
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why Does VPN Work? Transit VPC 10.0.0.0/16 10.1.0.0/16 10.2.0.0/16 Route Table Destination Target 10.2.0.0/16 Local 10.1.0.0/0 VGW Route Table Destination Target 10.2.0.0/16 Local 0.0.0.0/0 VGW Internet Destination: Internet VGW VGW Virtual Private Network (VPN) VGW VGW Traffic must either originate or terminate on a network interface in the VPC Transitive Routing
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC: Availability Virtual Private Gateway (VGW) VGW VGW Virtual Private Network (VPN) Transit VPC 10.0.0.0/16 10.1.0.0/16 VGW VGW 10.2.0.0/16 Route Table Destination Target 10.2.0.0/16 Local 10.1.0.0/0 VGW Route Table Destination Target 10.2.0.0/16 Local 0.0.0.0/0 VGW BGP and Dead Peer Detection (DPD) detect the failure The VGW route automatically fails over to the other tunnel Internet
  • 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC: Availability VGW VGW Transit VPC 10.0.0.0/16 10.1.0.0/16 VGW VGW 10.2.0.0/16 Route Table Destination Target 10.2.0.0/16 Local 10.1.0.0/0 VGW Route Table Destination Target 10.2.0.0/16 Local 0.0.0.0/0 VGW BGP and Dead Peer Detection (DPD) detect the failure BGP and Dead Peer Detection (DPD) detect the failure Internet
  • 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Options for On-Premises Connectivity Transit VPC Internet On-premises Virtual Private Network (VPN) Internet Gateway WAN Virtual Private Network (VPN) VGW VGW Detached VGW AWS Direct Connect Customer Gateway VPN over the internet WANVGW VGW Customer Gateway VGW Virtual Private Network (VPN) AWS Direct Connect VPN over AWS Direct Connect Detached VGW with AWS Direct Connect
  • 31. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPN Over the Internet VGW VGW Transit VPC 10.0.0.0/16 10.1.0.0/16 VGW VGW 10.2.0.0/16 Internet 172.16.0.0/16 On-premises Virtual Private Gateway (VGW) Virtual Private Network (VPN) Virtual Private Network (VPN) • Use this design for more control and visibility • Supports alternative tunnels such as DMVPN and GRE • Manually configured and operated + -
  • 32. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPN Over AWS Direct Connect VGW VGW Transit VPC 10.0.0.0/16 10.1.0.0/16 VGW VGW 10.2.0.0/16 Virtual Private Gateway (VGW) Virtual Private Network (VPN) WAN 172.16.0.0/16 On-premises Virtual Private Network (VPN) VGW VGW Customer Gateway (CGW) VGW • Useful for encrypting connections or inserting services • More control over latency and quality of the connectivity • Supports alternative tunnels such as DMVPN and GRE • Manually configured and operated AWS Direct Connect Private Virtual Interface (VIF) + -
  • 33. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Detached VGW with AWS Direct Connect VGW VGW Transit VPC 10.0.0.0/16 10.1.0.0/16 VGW VGW 10.2.0.0/16 Virtual Private Gateway (VGW) Virtual Private Network (VPN) WAN 172.16.0.0/16 On-premises Virtual Private Network (VPN) VGW VGW Customer Gateway (CGW) Detached VGW AWS Direct Connect Private Virtual Interface (VIF)
  • 34. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Detached VGW with AWS Direct Connect VGW VGW Transit VPC 10.0.0.0/16 10.1.0.0/16 VGW VGW 10.2.0.0/16 WAN 172.16.0.0/16 On-premises Virtual Private Gateway (VGW) Customer Gateway (CGW) Detached VGW On-premises looks like another spoke AWS Direct Connect VGW VGW • Use this design if consistency and automation are important • Less management overhead • Traffic can take multiple routes out from AWS • Traffic is unencrypted on the private network + - Virtual Private Network (VPN)
  • 35. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Firewalls and the Transit VPC VGW VGW VGW VGW Internet
  • 36. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Firewall Use Cases “We need a firewall for all traffic between on-premises and AWS.” “We have compliance requirements for intrusion detection in our VPCs.” “Our security organization requires application-level inspection.” “We would like to centralize security appliances for any internet traffic.”
  • 37. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC: Security Services VGW VGW Virtual Private Network (VPN) 10.0.0.0/16 10.1.0.0/16 VGW VGW 10.2.0.0/16 Active/Passive AS-path prepend
  • 38. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Instance-Based Transit VPC Virtual Private Network (VPN) Spoke VPC Route Table Destination Target 10.1.0.0/16 Local 0.0.0.0 ENI • Use this design for more control of both sides of the connection • A wider set of solutions can be used, like firewalls • Failover and management at scale can be challenging • Use more than one device in each VPC for better availability • Instances inside spoke VPCs can be intrusive • No dynamic routing with BGP to the route tables + -
  • 39. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Spoke VPC Route Table Destination Target 10.1.0.0/16 Local 0.0.0.0 ENI • Design is highly scalable • Design for failover in each Availability Zone • Requires centralized management • Devices must support many tunnels • Licensing costs may be prohibitive • High management overhead • Route propagation is more difficult VPN Mesh Full-mesh VPN Connectivity + - Bandwidth Licensing
  • 40. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC ecosystem AWS VPN in Spoke VPCs Instance VPN in Spoke VPCs Continuous Automation One-time Automation Manual Deployment Routing Firewalls Anything with BGP and VPN Anything with BGP and VPN vSRX CSR Anything with tunnels vMX
  • 41. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC: Cost, Scale, and Performance
  • 42. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC Costs VPN WAN AWS Direct Connect Transit VPC Per Spoke: VPN Hourly Charges VPN Egress Charges Hub Traffic: Spoke Destination Egress Egress Charges Transit Instances: Amazon EC2 Charges Licensing Costs
  • 43. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Reference: Cisco CSR Bandwidth Tests Size Routing (Mbps) 1500B VPN (Mbps) 1400B T2.medium 390 300 M3.medium 300 250 C4.large 575 550 C4.xlarge 860 860 C3.2xlarge 1330 1000 C4.2xlarge 2300 2200 C4.4xlarge 4600 4100 C4.8xlarge 5000 4700 Note: Large packets
  • 44. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPN WAN AWS Direct Connect Transit VPC Transit VPC Performance Use Security Groups inside the VPC Use VPC Peering better performance Each VPN instance can forward ~1- 3 Gbps aggregate on traffic and instance size Then what? Each spoke can forward ~1.25 Gbps per VPN tunnel At 100 spokes, aggregate routes
  • 45. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scaling the Transit VPC VPN WAN AWS Direct Connect Transit VPC
  • 46. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scaling the Transit VPC VPN WAN AWS Direct Connect Transit VPC VPN WAN AWS Direct Connect Transit VPC Use pods of independent Transit VPCs Connect the pods with tunnels for East-West traffic VPN
  • 47. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Direct Connect for Many VPCs WAN
  • 48. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Direct Connect to Many VPCs AWS Region VGW VGW 10.1.0.0/16 WAN On-premises AWS Direct Connect Location Private Virtual Interface (VIF) Customer Router AWS Router Customer Router AWS Router VGW VGW 10.2.0.0/16 Up to 50 VIFs per port AWS Direct Connect Location 2
  • 49. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Direct Connect: Link Aggregation AWS Region VGW VGW 10.1.0.0/16 WAN On-premises Link Aggregation (LAG) Private Virtual Interface (VIF) Customer Router AWS Router Customer Router AWS Router VGW VGW 10.2.0.0/16 Up to 4 ports in a LAG, each with 50 VIFs AWS Direct Connect Location 2
  • 50. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Direct Connect Gateway AWS Region VGW VGW 10.1.0.0/16 WAN On-premises AWS Direct Connect location Private Virtual Interface (VIF) Customer Router AWS Router Customer Router AWS Router VGW VGW 10.2.0.0/16 Up to 10 VGWs per direct connect gateway AWS Direct Connect location 2 Direct connect gateway Account
  • 51. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Multiple Regions WAN On-premises AWS Direct Connect Location Private Virtual Interface (VIF) Customer Router AWS Router Customer Router AWS Router AWS Region VGW VGW VGW VGW AWS Direct Connect Location 2 Direct connect gateway Account AWS Region VGW VGW VGW VGW
  • 52. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Shared Services VPCs
  • 53. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Shared Services VPC • Authentication • Logging • DevOps tools • Security resources • Deployed in each AWS Region Shared Services VPC Peering Authentication, Security, Logging
  • 54. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC Peering Challenges VPN WAN AWS Direct Connect Shared Services VPC Peering Full VPC connectivity 172.16.0.0/16 172.16.0.0/16 No overlapping addresses …125 Scale
  • 55. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PrivateLink Shared Services VPC 10.1.0.0/16 10.1.1.0/24 Availability Zone 10.1.1.127 10.1.2.0/24 Availability Zone 10.1.2.35 172.16.0.0/16 172.16.1.0/24 Availability Zone 172.16.2.0/24 Availability Zone Network Load Balancer API API One IP Address for each Availability Zone The endpoint is a local IP address Access is unidirectional Requests 172.16.1.9 172.16.2.41
  • 56. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PrivateLink Shared Services VPC 10.1.0.0/16 10.1.1.0/24 Availability Zone 10.1.1.127 10.1.2.0/24 Availability Zone 10.1.2.35 172.16.0.0/16 172.16.1.0/24 Availability Zone 172.16.2.0/24 Availability Zone 172.16.1.9 172.16.2.41 API API 10.1.0.0/16 10.1.1.0/24 Availability Zone 10.1.1.162 10.1.2.0/24 Availability Zone 10.1.2.22 Support for overlapping IP address ranges …thousands
  • 57. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPN WAN AWS Direct Connect Transit VPC Shared Services Transit VPC with Services VPC: It’s just a spoke
  • 58. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Shared Services Options VPN WAN AWS Direct Connect Shared Services VPC Peering VPC Peering • Bidirectional services • Broad VPC access • No load balancers required + PrivateLink • Unidirectional services • More granular access • Scale beyond 125 spokes • Overlapping addresses + Transit VPC • Transit VPC consistency • Automation is built-in • Lower performance • More complex to manage + VPN WAN AWS Direct Connect Transit VPC Shared Services -
  • 59. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Multiple Regions AWS Region VGW VGW VGW VGW AWS Region VGW VGW VGW VGW
  • 60. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Inter-Region VPC Peering AWS Region AWS Region VPC Peering
  • 61. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Global Connectivity Options VPN WAN AWS Direct Connect Transit VPC Cross-Region VPNDirect Connect Gateway Inter-Region Peering • Native connectivity • No management required • One-to-one VPC configuration +• AWS Direct Connect only • High performance • No management required + • Transit VPC consistency • Full control of connectivity • Lower performance • More complex to manage + --
  • 63. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC Automation AWS CloudFormation and Implementation Guide
  • 64. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC: Hub Availability Zone 1 Subnet 1 Cisco CSR Availability Zone 2 Subnet 2 Cisco CSR • Uses the Cisco CSR • Available in BYOL or Hourly billing from AWS Marketplace • Full featured IOS-XE device • Deployed in two Availability Zones • Support for duplicate tunnel addresses Internet gateway https://www.cisco.com/c/en/us/td/docs/routers/csr1000/software/aws/b_csraws_transitVPC/b_csraws_transitVPC_chapter_01.html
  • 65. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Region Transit VPC S3 Bucket for VPN Config Route Table Destination Target 100.64.127.224/27 Local 0.0.0.0 IGW Prefix List for S3 VPCE 100.64.127.224 / 27 Transit VPC: Creation Availability Zone 1 Subnet 1 Cisco CSR Availability Zone 2 Subnet 2 Cisco CSR EC2 Auto-recovery
  • 66. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC S3 Bucket for VPN Config Spoke VPC AWS Lambda Cisco Configurator AWS Lambda VGW Poller transitvpc:spoke = true Transit VPC: Add Spoke SSH Only to CSR Security Group VGW AWS Key Management Service (KMS) AWS Region Availability Zone 1 Subnet 1 Cisco CSR Availability Zone 2 Subnet 2 Cisco CSR
  • 67. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit VPC S3 Bucket for VPN Config Spoke VPC AWS Lambda Cisco Configurator AWS Lambda VGW Poller transitvpc:spoke = falseVGW AWS Region Availability Zone 1 Subnet 1 Cisco CSR Availability Zone 2 Subnet 2 Cisco CSR Transit VPC: Remove Spoke
  • 68. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda Cisco Configurator AWS Lambda VGW Poller transitvpc:spoke = true Transit VPC: Add Spoke in Another Region AWS Region S3 Bucket for VPN Config Transit VPC Availability Zone 1 Subnet 1 Cisco CSR Availability Zone 2 Subnet 2 Cisco CSR AWS Region
  • 69. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda Cisco Configurator transitvpc:spoke = true AWS Region Transit VPC Availability Zone 1 Subnet 1 Cisco CSR Availability Zone 2 Subnet 2 Cisco CSR AWS Region AWS Account 1. Setup the VGW Poller 2. Allow bucket access 3. Allow KMS access Transit VPC: Add Spoke in Another Account S3 Bucket for VPN Config AWS Key Management Service (KMS) AWS Lambda VGW Poller
  • 70. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Account Availability Zone 1 Subnet 1 Cisco CSR Availability Zone 2 Subnet 2 Cisco CSR AWS Region Transit VPC AWS Region S3 Bucket for VPN Config AWS Lambda Cisco Configurator AWS Lambda VGW Poller Transit VPC: Add Spoke in Another Account AWS Key Management Service (KMS) Launch CloudFormation in Spoke Account 1. Setup the VGW Poller 2. Allow bucket access 3. Allow KMS access transitvpc:spoke = true
  • 71. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. S3 Bucket for VPN Config AWS Lambda Cisco Configurator AWS Lambda VGW Poller Transit VPC: Add Spoke in Another Account AWS Key Management Service (KMS) 1. Setup the VGW Poller 2. Allow bucket access 3. Allow KMS access AWS Region transitvpc:spoke = true Availability Zone 1 Subnet 1 Cisco CSR Availability Zone 2 Subnet 2 Cisco CSR Transit VPC AWS Region AWS Account
  • 72. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. { "Version": "2008-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": [ "arn:aws:iam::<account-1-ID>:root", "arn:aws:iam::<account-2-ID>:root" ] }, "Action": [ "s3:GetObject", "s3:PutObject", "s3:PutObjectAcl" ], "Resource": "arn:aws:s3:::<S3 bucket name>/<bucket prefix>/*" } ] } S3 Bucket Policy for a Spoke Account One additional account can be defined at launch
  • 73. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. S3 Bucket for VPN Config AWS Lambda Cisco Configurator AWS Lambda VGW Poller Transit VPC: Add Spoke in Another Account AWS Key Management Service (KMS) 1. Setup the VGW Poller 2. Allow bucket access 3. Allow KMS access AWS Region transitvpc:spoke = true Availability Zone 1 Subnet 1 Cisco CSR Availability Zone 2 Subnet 2 Cisco CSR Transit VPC AWS Region AWS Account
  • 74. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. { "Sid": "Allow use of the key", "Effect": "Allow", "Principal": { "AWS": [ "arn:aws:iam:: <transit-vpc-primary-account-id>:role/TransitVPC-TransitVpcPollerRole-[cloudformation-id]", "arn:aws:iam:: <transit-vpc-primary-account-id>:role/TransitVPC-CiscoConfigFunctionRole-[cloudformation-id]", "arn:aws:iam:: <transit-vpc-primary-account-id>:role/TransitVPC-LambdaLoaderRole-[cloudformation-id]", "arn:aws:iam::<account-1-id>:root", "arn:aws:iam::<account-2-id>:root" ] }, Key Management System: Key Policy One additional account can be defined at launch
  • 75. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda Cisco Configurator transitvpc:spoke = true AWS Region Transit VPC Availability Zone 1 Subnet 1 Cisco CSR Availability Zone 2 Subnet 2 Cisco CSR AWS Region AWS Account 1. Setup the VGW Poller 2. Allow bucket access 3. Allow KMS access Transit VPC: Add Spoke in Another Account S3 Bucket for VPN Config AWS Key Management Service (KMS) AWS Lambda VGW Poller
  • 76. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC Inflection Points VPN Direct Connect VPC 5 15 50 100 125 200+ Transit VPC Define your own tunnel addresses Automation Automation VIF to port Limit Route and peering limit Max route limit Max peer limit Limit on 4x LAG Transit VPC Customization 1
  • 77. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 200+ Internet Secure protocols Secure authentication Bastion hosts Use PrivateLink
  • 78. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Advice • Networking changes fast, no more crystal balls • Segment as needed • Experiment and test • Mix and match! These are starting points not dogma!
  • 79. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Take This Home • Transit VPC for centralizing VPN configuration • AWS Direct Connect can be used in addition to VPN • Automation is important • There are many options, and they change over time • Customize, mix and match
  • 80. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Networking Study Guide
  • 81. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you Bradley Acar, Solutions Architect /in/bradleyacar/ https://bit.ly/2KIMuRu Networking Many VPCs: Transit and Shared Architectures (NET404) – Nick Matthews, Partner Solution Architect, AWS