SlideShare a Scribd company logo
1 of 24
Introduction to AWS VPC 
Gary Silverman 
Certified AWS Solution Architect 
AWS Chicago Meetup
Agenda 
1. VPC Intro & Benefits 
2. VPC Building Blocks 
3. Reference Architecture 
4. VPC Considerations & Best Practices 
5. Wrap-up & Questions 
2 
But first a quick poll …
1 
VPC Intro & Benefits
What is Amazon’s VPC? 
Logically isolated network in the AWS Cloud that you control 
AWS Reference Model 10K Foot View 
“You are here” 
4 
Internet 
AWS 
VPC
5 
Why use VPC? 
 Control of network architecture 
 Topology & subnet architecture, IP address 
ranges, routing, & gateways 
 Further secure your resources 
 Egress sec groups, routing rules, & NACL’s 
 Evolving EC2 feature set 
 Multiple NIC’s 
 Modifiable security groups on instances 
 Static Private IP Address 
 T2 instances exclusively in VPC 
 Enables Hybrid Cloud architectures 
 Extend your on-prem network into the AWS 
cloud 
 Privately Internetwork with other 
organizations 
 VPC Peering 
 Lines of business, Partners, Communities 
 Intelligently address increasing 
Infrastructure demands 
 Environments, applications, and workloads 
Your workloads can be better integrated and secured using AWS VPC
Who can use VPC? 
You 
 >= 12/04/2013  EC2-VPC 
 < 03/18/2013  EC2-Classic & EC2-VPC 
 EC2 Classic in regions already launched 
 Otherwise, Default VPC in region 
 03/18/2013 < Account registered <= 12/14/2013 
 Depends: Might be EC2-VPC only. 
VPC Cost = $0 
 VPN $0.05/hr 
VPC Enabled Services 
EC2 (incl. Dedicated instances) 
AutoScaling 
Elastic Load Balancer 
RDS 
RedShift 
Elastic Map Reduce 
ElasticCache 
Elastic Beanstalk 
Data Pipeline 
6
2 
VPC Building Blocks
VPC Topology 
 
 
 
Subnet 
1 
Subnet 2 
Subnet 3 
Subnet 4 
Availability Zone ‘A’ Availability Zone ‘B’ 
8 
us-west-2
9 IP Address Blocks 
Shape private network 
Select VPC network size 
 CIDR/16 down to CIDR/28 
 Select IP prefix 
Partition network space 
 Subnet / instance ratio 
 AWS reserves 5 addr per subnet 
VPC VPC 
CIDR/16 
~65536 Addresses 
CIDR/28 
~16 
Addresses 
VPC is a private network in AWS only 
CIDR = Classless Inter-domain Routing 
Coarse Grained Control Fine Grained Control
VPC Example: Topology + IP Address Blocks 
158.16.45.12 
Availability Zone ‘A’ Availability Zone ‘B’ 
 
 
 
10.0.0.0/24 
10.0.1.0/24 
us-west-2 
10.0.0.0/16 
10.0.2.0/24 
10.0.3.0/24 
10.0.0.5 
10.0.1.2 
10.0.2.52 
10.0.3.101 
10.0.sub.host 
10.0.2.52 
158.16.45.12 
Instance 
Private IP 
Public IP 
256 
256 
Network 
Subnets 
Addr per Subnet 
10
Gateways VPN’s 
11 
VPC Access 
 Internet Gateway (IGW) 
 Ingress & egress internet access 
 Virtual Private Gateway (VPG) 
 AWS side of secure VPN connection 
 Customer Gateway (CG) 
 Customer side of VPN connection 
 Direct Connect 
 Dedicated & isolated bandwidth to AWS 
 No internet 
 HA connectivity supported 
 Hardware based VPN 
 On-prem device to AWS over internet 
 Major brands: Cisco, Juniper, & generic 
supported 
 HA connectivity supported (& 
recommended)
VPC Gateways & Hardware VPN 
 IGW 
 Internet access 
 Access to regional AWS Services (e.g. S3, DynamoDB) 
 Virtual Private Gateway & Customer Gateway 
 Redundant Connections for High availability 
 IPSec secure tunnel 
12 
Internet 
On-prem 
VPN 
Internet 
DynamoDB
AWS Direct Connect 
 Private connectivity between your site & VPC (e.g. not over Internet) 
 Secure IPSec connection 
 QOS: 1 Gbps or 10 Gbps fiber cross connect 
 Consistent Network Performance 
 Highly Available, redundant connectivity 
Customer Network 
AWS Direct 
Connect Location 
Customer WAN 
13 
Internet
Routing Traffic 
Determines where network traffic is directed 
 Route tables 
 Main 
 Custom 
 Optionally contain Gateways targets 
 Route table association 
 Main the default 
 1 to N relationship 
 Subnet associations 
 Public Subnet 
 Routes through IGW 
 Private Subnet 
 Does not route through IGW 
 NATs may be used 
14 
NAT 
Public Subnet 
Private Subnet 2 
Customer 
10.0.0.0/16 
Private Subnet 1 
Custom Route Table
15 VPC Peering 
Inter-VPC Routing 
18.52.0.0/16 
PCX-1 
172.16.0.0/16 10.0.0.0/16 
 Features 
 Topology flexibility 
 Same or another AWS Account 
 Additional dimension of isolation 
 Considerations 
 Single Region only 
 No overlapping network addresses 
 No transitive peering property
VPC Network Controls 
 VPC Security Groups 
 Resource level traffic firewall (instance, ELB, etc.) 
 Ingress & Egress 
 Stateful 
 Return traffic always allowed 
 Network Access Control Lists 
 Source and Protocol filtering 
 Subnet level traffic firewall 
 Separate Inbound & Outbound rule set 
 Stateless 
 Traffic strictly filtered 
16 
Web 
(HTTP) 
Security Group Firewall 
Load 
Balancer 
Security Group Firewall 
Security Group Firewall 
DB 
Server 
3306 
Web 
Server 
Web 
Server 
NACL (3306, 49152-65535) 
VPC Security Group 
NACL Ruleset
VPC Network Control Example 
 Tiered Security Groups 
 Restrict ingress Source IP to ELB_SG for Web Tier 
 NACL Rules 
 Block all inbound traffic to Private Subnet except 3306 or 22 
 Block all outbound traffic from Private Subnet except 80, 443, & 49152+ 
17 
Public Subnet Private Subnet 
Port 3306 packets 
Availability Zone ‘A’ 
Port: 80 
Port: 80 
Port 23 packets 
NACL: 
Source IP: 10.0.12.0/24 
IN=3306, 22 
OUT=80, 443, 49152-65535 
ELB_SG 
Port: 23 
WebApp_SG 
10.0.12.0/24 
DB_SG
3 
Reference Architecture
Reference Architecture: HA Web App with VPN 
19 
Availability Zone ‘B’ 
DB Tier 
NACL: 
Source IP: 10.0.[2|12].0/24 
IN=3306, 22 
OUT=80, 443, 3306, 49152-65535 
us-west-2 10.0.0.0/16 
10.0.12.0/24 
Web/App Tier 
10.0.13.0/24 
NAT 
ELB Tier 
10.0.11.0/24 
Availability Zone ‘A’ 
DB Tier 
10.0.2.0/24 
Web/App Tier 
10.0.3.0/24 
NAT 
ELB Tier 
10.0.1.0/24 
On-prem
4 
Considerations & Best Practices
VPC Considerations 
Topic Tradeoff Consideration 
Environments Segregate at VPC or subnet level? 
Hybrid Cloud Private or Internet based VPN connectivity? 
Network Topology Subnets with large # instances / NAT bottlenecks 
Network Auditing Control, monitor, filter outbound traffic ? 
21
Best Practice 
 Use VPC! 
 Plan your Network 
 Subnet strategy, avoid overlapping CIDR blocks 
 Reserve address space (subnets and instance addresses) across AZ’s for future expansion 
 Control your Network 
 Align subnets to Tiers (e.g. DMZ/proxy, ELB, Web/App, DB) 
 Leverage appropriate control per tier (subnet tiering, NACLs, etc…) 
 Everything in private subnets by default 
 Only ELB or Filter/monitoring solutions in Public Subnets 
 Secure IGW usage 
 Don’t add IGW to main routing table 
 Minimize use of IGW enabled Custom route table(s) 
 Minimize subnet size holding NAT or internet facing proxy services (e.g. Squid) 
 Use IAM for Access Control 
 Supplement with AWS Marketplace Solutions 
22
5 
Wrap-up & Questions
Gary Silverman 
Gary.Mail.Mba@gmail.com 
@Tdream 
linkedIn.com/in/garysilvermanmba 
Thank You! 
24

More Related Content

What's hot

What's hot (20)

Elastic Load Balancing Deep Dive - AWS Online Tech Talk
Elastic  Load Balancing Deep Dive - AWS Online Tech TalkElastic  Load Balancing Deep Dive - AWS Online Tech Talk
Elastic Load Balancing Deep Dive - AWS Online Tech Talk
 
AWS Networking Fundamentals - SVC304 - Anaheim AWS Summit
AWS Networking Fundamentals - SVC304 - Anaheim AWS SummitAWS Networking Fundamentals - SVC304 - Anaheim AWS Summit
AWS Networking Fundamentals - SVC304 - Anaheim AWS Summit
 
What is AWS?
What is AWS?What is AWS?
What is AWS?
 
AWS Serverless Introduction (Lambda)
AWS Serverless Introduction (Lambda)AWS Serverless Introduction (Lambda)
AWS Serverless Introduction (Lambda)
 
AWS IAM Introduction
AWS IAM IntroductionAWS IAM Introduction
AWS IAM Introduction
 
Amazon EC2 Masterclass
Amazon EC2 MasterclassAmazon EC2 Masterclass
Amazon EC2 Masterclass
 
Amazon Route 53 - Webinar Presentation 9.16.2015
Amazon Route 53 - Webinar Presentation 9.16.2015Amazon Route 53 - Webinar Presentation 9.16.2015
Amazon Route 53 - Webinar Presentation 9.16.2015
 
Intro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute ServicesIntro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute Services
 
AWS Core Services Overview, Immersion Day Huntsville 2019
AWS Core Services Overview, Immersion Day Huntsville 2019AWS Core Services Overview, Immersion Day Huntsville 2019
AWS Core Services Overview, Immersion Day Huntsville 2019
 
IAM Introduction
IAM IntroductionIAM Introduction
IAM Introduction
 
AWS Route53
AWS Route53AWS Route53
AWS Route53
 
AWS IAM
AWS IAMAWS IAM
AWS IAM
 
Deep Dive on AWS Lambda
Deep Dive on AWS LambdaDeep Dive on AWS Lambda
Deep Dive on AWS Lambda
 
AWS networking fundamentals
AWS networking fundamentalsAWS networking fundamentals
AWS networking fundamentals
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
AWS ELB
AWS ELBAWS ELB
AWS ELB
 
Deep dive into AWS IAM
Deep dive into AWS IAMDeep dive into AWS IAM
Deep dive into AWS IAM
 
AWS Cloud Watch
AWS Cloud WatchAWS Cloud Watch
AWS Cloud Watch
 
Introduction to CloudFront
Introduction to CloudFrontIntroduction to CloudFront
Introduction to CloudFront
 
Introduction to Amazon EKS
Introduction to Amazon EKSIntroduction to Amazon EKS
Introduction to Amazon EKS
 

Viewers also liked

AWS Network Topology/Architecture
AWS Network Topology/ArchitectureAWS Network Topology/Architecture
AWS Network Topology/Architecturewlscaudill
 
Enabling Broad Organisational Transformation through the Adoption of AWS
Enabling Broad Organisational Transformation through the Adoption of AWSEnabling Broad Organisational Transformation through the Adoption of AWS
Enabling Broad Organisational Transformation through the Adoption of AWSAmazon Web Services
 
Amazon Virtual Private Cloud VPC Architecture AWS Web Services
Amazon Virtual Private Cloud VPC Architecture AWS Web ServicesAmazon Virtual Private Cloud VPC Architecture AWS Web Services
Amazon Virtual Private Cloud VPC Architecture AWS Web ServicesRobert Wilson
 
Microsoft Azure vs Amazon Web Services (AWS) Services & Feature Mapping
Microsoft Azure vs Amazon Web Services (AWS) Services & Feature MappingMicrosoft Azure vs Amazon Web Services (AWS) Services & Feature Mapping
Microsoft Azure vs Amazon Web Services (AWS) Services & Feature MappingIlyas F ☁☁☁
 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web ServicesAmazon Web Services
 
Know Before You Go - AWS Online Tech Talks
Know Before You Go - AWS Online Tech TalksKnow Before You Go - AWS Online Tech Talks
Know Before You Go - AWS Online Tech TalksAmazon Web Services
 
AWS 101: Cloud Computing Seminar (2012)
AWS 101: Cloud Computing Seminar (2012)AWS 101: Cloud Computing Seminar (2012)
AWS 101: Cloud Computing Seminar (2012)Amazon Web Services
 

Viewers also liked (9)

AWS Network Topology/Architecture
AWS Network Topology/ArchitectureAWS Network Topology/Architecture
AWS Network Topology/Architecture
 
Enabling Broad Organisational Transformation through the Adoption of AWS
Enabling Broad Organisational Transformation through the Adoption of AWSEnabling Broad Organisational Transformation through the Adoption of AWS
Enabling Broad Organisational Transformation through the Adoption of AWS
 
Amazon Virtual Private Cloud VPC Architecture AWS Web Services
Amazon Virtual Private Cloud VPC Architecture AWS Web ServicesAmazon Virtual Private Cloud VPC Architecture AWS Web Services
Amazon Virtual Private Cloud VPC Architecture AWS Web Services
 
AWS vs. Azure
AWS vs. AzureAWS vs. Azure
AWS vs. Azure
 
Microsoft Azure vs Amazon Web Services (AWS) Services & Feature Mapping
Microsoft Azure vs Amazon Web Services (AWS) Services & Feature MappingMicrosoft Azure vs Amazon Web Services (AWS) Services & Feature Mapping
Microsoft Azure vs Amazon Web Services (AWS) Services & Feature Mapping
 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web Services
 
Overview of Amazon Web Services
Overview of Amazon Web ServicesOverview of Amazon Web Services
Overview of Amazon Web Services
 
Know Before You Go - AWS Online Tech Talks
Know Before You Go - AWS Online Tech TalksKnow Before You Go - AWS Online Tech Talks
Know Before You Go - AWS Online Tech Talks
 
AWS 101: Cloud Computing Seminar (2012)
AWS 101: Cloud Computing Seminar (2012)AWS 101: Cloud Computing Seminar (2012)
AWS 101: Cloud Computing Seminar (2012)
 

Similar to Introduction to AWS VPC, Guidelines, and Best Practices

Creating Your Virtual Data Center
Creating Your Virtual Data CenterCreating Your Virtual Data Center
Creating Your Virtual Data CenterMonica Trantow
 
Network & Connectivity Fundamentals
Network & Connectivity FundamentalsNetwork & Connectivity Fundamentals
Network & Connectivity FundamentalsAmazon Web Services
 
AWS re:Invent 2016: How Harvard University Improves Scalable Cloud Network Se...
AWS re:Invent 2016: How Harvard University Improves Scalable Cloud Network Se...AWS re:Invent 2016: How Harvard University Improves Scalable Cloud Network Se...
AWS re:Invent 2016: How Harvard University Improves Scalable Cloud Network Se...Amazon Web Services
 
An Overview to Networking in the AWS Cloud for Education [Webinar Slides]
An Overview to Networking in the AWS Cloud for Education [Webinar Slides]An Overview to Networking in the AWS Cloud for Education [Webinar Slides]
An Overview to Networking in the AWS Cloud for Education [Webinar Slides]Amazon Web Services
 
(ARC205) Creating Your Virtual Data Center: VPC Fundamentals and Connectivity...
(ARC205) Creating Your Virtual Data Center: VPC Fundamentals and Connectivity...(ARC205) Creating Your Virtual Data Center: VPC Fundamentals and Connectivity...
(ARC205) Creating Your Virtual Data Center: VPC Fundamentals and Connectivity...Amazon Web Services
 
PLNOG 17 - Tomasz Stachlewski - Infrastruktura sieciowa w chmurze AWS
PLNOG 17 - Tomasz Stachlewski - Infrastruktura sieciowa w chmurze AWSPLNOG 17 - Tomasz Stachlewski - Infrastruktura sieciowa w chmurze AWS
PLNOG 17 - Tomasz Stachlewski - Infrastruktura sieciowa w chmurze AWSPROIDEA
 
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easily
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and EasilyAWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easily
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easilyakramemohemat
 
AWS BaseCamp: AWS Architecture Fundamentals
AWS BaseCamp: AWS  Architecture FundamentalsAWS BaseCamp: AWS  Architecture Fundamentals
AWS BaseCamp: AWS Architecture FundamentalsNicole Maus
 
AWS re:Invent 2016: Creating Your Virtual Data Center: VPC Fundamentals and C...
AWS re:Invent 2016: Creating Your Virtual Data Center: VPC Fundamentals and C...AWS re:Invent 2016: Creating Your Virtual Data Center: VPC Fundamentals and C...
AWS re:Invent 2016: Creating Your Virtual Data Center: VPC Fundamentals and C...Amazon Web Services
 
Brk30176 enterprise class networking in azure
Brk30176 enterprise class networking in azureBrk30176 enterprise class networking in azure
Brk30176 enterprise class networking in azureAbou CONDE
 
High Availability Application Architectures in Amazon VPC (ARC202) | AWS re:I...
High Availability Application Architectures in Amazon VPC (ARC202) | AWS re:I...High Availability Application Architectures in Amazon VPC (ARC202) | AWS re:I...
High Availability Application Architectures in Amazon VPC (ARC202) | AWS re:I...Amazon Web Services
 
Aws Architecture Fundamentals | Dallas
Aws Architecture Fundamentals | DallasAws Architecture Fundamentals | Dallas
Aws Architecture Fundamentals | DallasNicole Maus
 
(NET406) Deep Dive: AWS Direct Connect and VPNs
(NET406) Deep Dive: AWS Direct Connect and VPNs(NET406) Deep Dive: AWS Direct Connect and VPNs
(NET406) Deep Dive: AWS Direct Connect and VPNsAmazon Web Services
 
打破時空藩籬,輕鬆存取您的雲端工作負載
打破時空藩籬,輕鬆存取您的雲端工作負載打破時空藩籬,輕鬆存取您的雲端工作負載
打破時空藩籬,輕鬆存取您的雲端工作負載Amazon Web Services
 
打破時空藩籬-輕鬆存取您的雲端工作負載
打破時空藩籬-輕鬆存取您的雲端工作負載打破時空藩籬-輕鬆存取您的雲端工作負載
打破時空藩籬-輕鬆存取您的雲端工作負載Amazon Web Services
 
Creating Your Virtual Data Center - AWS Summit Bahrain 2017
Creating Your Virtual Data Center - AWS Summit Bahrain 2017Creating Your Virtual Data Center - AWS Summit Bahrain 2017
Creating Your Virtual Data Center - AWS Summit Bahrain 2017Amazon Web Services
 

Similar to Introduction to AWS VPC, Guidelines, and Best Practices (20)

Creating Your Virtual Data Center
Creating Your Virtual Data CenterCreating Your Virtual Data Center
Creating Your Virtual Data Center
 
Creating a Virtual Data Center
Creating a Virtual Data CenterCreating a Virtual Data Center
Creating a Virtual Data Center
 
Network & Connectivity Fundamentals
Network & Connectivity FundamentalsNetwork & Connectivity Fundamentals
Network & Connectivity Fundamentals
 
AWS re:Invent 2016: How Harvard University Improves Scalable Cloud Network Se...
AWS re:Invent 2016: How Harvard University Improves Scalable Cloud Network Se...AWS re:Invent 2016: How Harvard University Improves Scalable Cloud Network Se...
AWS re:Invent 2016: How Harvard University Improves Scalable Cloud Network Se...
 
An Overview to Networking in the AWS Cloud for Education [Webinar Slides]
An Overview to Networking in the AWS Cloud for Education [Webinar Slides]An Overview to Networking in the AWS Cloud for Education [Webinar Slides]
An Overview to Networking in the AWS Cloud for Education [Webinar Slides]
 
(ARC205) Creating Your Virtual Data Center: VPC Fundamentals and Connectivity...
(ARC205) Creating Your Virtual Data Center: VPC Fundamentals and Connectivity...(ARC205) Creating Your Virtual Data Center: VPC Fundamentals and Connectivity...
(ARC205) Creating Your Virtual Data Center: VPC Fundamentals and Connectivity...
 
Getting Started on AWS
Getting Started on AWS Getting Started on AWS
Getting Started on AWS
 
PLNOG 17 - Tomasz Stachlewski - Infrastruktura sieciowa w chmurze AWS
PLNOG 17 - Tomasz Stachlewski - Infrastruktura sieciowa w chmurze AWSPLNOG 17 - Tomasz Stachlewski - Infrastruktura sieciowa w chmurze AWS
PLNOG 17 - Tomasz Stachlewski - Infrastruktura sieciowa w chmurze AWS
 
VPC and DX PoP @ HKG
VPC and DX PoP @ HKGVPC and DX PoP @ HKG
VPC and DX PoP @ HKG
 
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easily
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and EasilyAWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easily
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easily
 
AWS VPC
AWS VPCAWS VPC
AWS VPC
 
AWS BaseCamp: AWS Architecture Fundamentals
AWS BaseCamp: AWS  Architecture FundamentalsAWS BaseCamp: AWS  Architecture Fundamentals
AWS BaseCamp: AWS Architecture Fundamentals
 
AWS re:Invent 2016: Creating Your Virtual Data Center: VPC Fundamentals and C...
AWS re:Invent 2016: Creating Your Virtual Data Center: VPC Fundamentals and C...AWS re:Invent 2016: Creating Your Virtual Data Center: VPC Fundamentals and C...
AWS re:Invent 2016: Creating Your Virtual Data Center: VPC Fundamentals and C...
 
Brk30176 enterprise class networking in azure
Brk30176 enterprise class networking in azureBrk30176 enterprise class networking in azure
Brk30176 enterprise class networking in azure
 
High Availability Application Architectures in Amazon VPC (ARC202) | AWS re:I...
High Availability Application Architectures in Amazon VPC (ARC202) | AWS re:I...High Availability Application Architectures in Amazon VPC (ARC202) | AWS re:I...
High Availability Application Architectures in Amazon VPC (ARC202) | AWS re:I...
 
Aws Architecture Fundamentals | Dallas
Aws Architecture Fundamentals | DallasAws Architecture Fundamentals | Dallas
Aws Architecture Fundamentals | Dallas
 
(NET406) Deep Dive: AWS Direct Connect and VPNs
(NET406) Deep Dive: AWS Direct Connect and VPNs(NET406) Deep Dive: AWS Direct Connect and VPNs
(NET406) Deep Dive: AWS Direct Connect and VPNs
 
打破時空藩籬,輕鬆存取您的雲端工作負載
打破時空藩籬,輕鬆存取您的雲端工作負載打破時空藩籬,輕鬆存取您的雲端工作負載
打破時空藩籬,輕鬆存取您的雲端工作負載
 
打破時空藩籬-輕鬆存取您的雲端工作負載
打破時空藩籬-輕鬆存取您的雲端工作負載打破時空藩籬-輕鬆存取您的雲端工作負載
打破時空藩籬-輕鬆存取您的雲端工作負載
 
Creating Your Virtual Data Center - AWS Summit Bahrain 2017
Creating Your Virtual Data Center - AWS Summit Bahrain 2017Creating Your Virtual Data Center - AWS Summit Bahrain 2017
Creating Your Virtual Data Center - AWS Summit Bahrain 2017
 

Recently uploaded

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Recently uploaded (20)

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

Introduction to AWS VPC, Guidelines, and Best Practices

  • 1. Introduction to AWS VPC Gary Silverman Certified AWS Solution Architect AWS Chicago Meetup
  • 2. Agenda 1. VPC Intro & Benefits 2. VPC Building Blocks 3. Reference Architecture 4. VPC Considerations & Best Practices 5. Wrap-up & Questions 2 But first a quick poll …
  • 3. 1 VPC Intro & Benefits
  • 4. What is Amazon’s VPC? Logically isolated network in the AWS Cloud that you control AWS Reference Model 10K Foot View “You are here” 4 Internet AWS VPC
  • 5. 5 Why use VPC?  Control of network architecture  Topology & subnet architecture, IP address ranges, routing, & gateways  Further secure your resources  Egress sec groups, routing rules, & NACL’s  Evolving EC2 feature set  Multiple NIC’s  Modifiable security groups on instances  Static Private IP Address  T2 instances exclusively in VPC  Enables Hybrid Cloud architectures  Extend your on-prem network into the AWS cloud  Privately Internetwork with other organizations  VPC Peering  Lines of business, Partners, Communities  Intelligently address increasing Infrastructure demands  Environments, applications, and workloads Your workloads can be better integrated and secured using AWS VPC
  • 6. Who can use VPC? You  >= 12/04/2013  EC2-VPC  < 03/18/2013  EC2-Classic & EC2-VPC  EC2 Classic in regions already launched  Otherwise, Default VPC in region  03/18/2013 < Account registered <= 12/14/2013  Depends: Might be EC2-VPC only. VPC Cost = $0  VPN $0.05/hr VPC Enabled Services EC2 (incl. Dedicated instances) AutoScaling Elastic Load Balancer RDS RedShift Elastic Map Reduce ElasticCache Elastic Beanstalk Data Pipeline 6
  • 7. 2 VPC Building Blocks
  • 8. VPC Topology    Subnet 1 Subnet 2 Subnet 3 Subnet 4 Availability Zone ‘A’ Availability Zone ‘B’ 8 us-west-2
  • 9. 9 IP Address Blocks Shape private network Select VPC network size  CIDR/16 down to CIDR/28  Select IP prefix Partition network space  Subnet / instance ratio  AWS reserves 5 addr per subnet VPC VPC CIDR/16 ~65536 Addresses CIDR/28 ~16 Addresses VPC is a private network in AWS only CIDR = Classless Inter-domain Routing Coarse Grained Control Fine Grained Control
  • 10. VPC Example: Topology + IP Address Blocks 158.16.45.12 Availability Zone ‘A’ Availability Zone ‘B’    10.0.0.0/24 10.0.1.0/24 us-west-2 10.0.0.0/16 10.0.2.0/24 10.0.3.0/24 10.0.0.5 10.0.1.2 10.0.2.52 10.0.3.101 10.0.sub.host 10.0.2.52 158.16.45.12 Instance Private IP Public IP 256 256 Network Subnets Addr per Subnet 10
  • 11. Gateways VPN’s 11 VPC Access  Internet Gateway (IGW)  Ingress & egress internet access  Virtual Private Gateway (VPG)  AWS side of secure VPN connection  Customer Gateway (CG)  Customer side of VPN connection  Direct Connect  Dedicated & isolated bandwidth to AWS  No internet  HA connectivity supported  Hardware based VPN  On-prem device to AWS over internet  Major brands: Cisco, Juniper, & generic supported  HA connectivity supported (& recommended)
  • 12. VPC Gateways & Hardware VPN  IGW  Internet access  Access to regional AWS Services (e.g. S3, DynamoDB)  Virtual Private Gateway & Customer Gateway  Redundant Connections for High availability  IPSec secure tunnel 12 Internet On-prem VPN Internet DynamoDB
  • 13. AWS Direct Connect  Private connectivity between your site & VPC (e.g. not over Internet)  Secure IPSec connection  QOS: 1 Gbps or 10 Gbps fiber cross connect  Consistent Network Performance  Highly Available, redundant connectivity Customer Network AWS Direct Connect Location Customer WAN 13 Internet
  • 14. Routing Traffic Determines where network traffic is directed  Route tables  Main  Custom  Optionally contain Gateways targets  Route table association  Main the default  1 to N relationship  Subnet associations  Public Subnet  Routes through IGW  Private Subnet  Does not route through IGW  NATs may be used 14 NAT Public Subnet Private Subnet 2 Customer 10.0.0.0/16 Private Subnet 1 Custom Route Table
  • 15. 15 VPC Peering Inter-VPC Routing 18.52.0.0/16 PCX-1 172.16.0.0/16 10.0.0.0/16  Features  Topology flexibility  Same or another AWS Account  Additional dimension of isolation  Considerations  Single Region only  No overlapping network addresses  No transitive peering property
  • 16. VPC Network Controls  VPC Security Groups  Resource level traffic firewall (instance, ELB, etc.)  Ingress & Egress  Stateful  Return traffic always allowed  Network Access Control Lists  Source and Protocol filtering  Subnet level traffic firewall  Separate Inbound & Outbound rule set  Stateless  Traffic strictly filtered 16 Web (HTTP) Security Group Firewall Load Balancer Security Group Firewall Security Group Firewall DB Server 3306 Web Server Web Server NACL (3306, 49152-65535) VPC Security Group NACL Ruleset
  • 17. VPC Network Control Example  Tiered Security Groups  Restrict ingress Source IP to ELB_SG for Web Tier  NACL Rules  Block all inbound traffic to Private Subnet except 3306 or 22  Block all outbound traffic from Private Subnet except 80, 443, & 49152+ 17 Public Subnet Private Subnet Port 3306 packets Availability Zone ‘A’ Port: 80 Port: 80 Port 23 packets NACL: Source IP: 10.0.12.0/24 IN=3306, 22 OUT=80, 443, 49152-65535 ELB_SG Port: 23 WebApp_SG 10.0.12.0/24 DB_SG
  • 19. Reference Architecture: HA Web App with VPN 19 Availability Zone ‘B’ DB Tier NACL: Source IP: 10.0.[2|12].0/24 IN=3306, 22 OUT=80, 443, 3306, 49152-65535 us-west-2 10.0.0.0/16 10.0.12.0/24 Web/App Tier 10.0.13.0/24 NAT ELB Tier 10.0.11.0/24 Availability Zone ‘A’ DB Tier 10.0.2.0/24 Web/App Tier 10.0.3.0/24 NAT ELB Tier 10.0.1.0/24 On-prem
  • 20. 4 Considerations & Best Practices
  • 21. VPC Considerations Topic Tradeoff Consideration Environments Segregate at VPC or subnet level? Hybrid Cloud Private or Internet based VPN connectivity? Network Topology Subnets with large # instances / NAT bottlenecks Network Auditing Control, monitor, filter outbound traffic ? 21
  • 22. Best Practice  Use VPC!  Plan your Network  Subnet strategy, avoid overlapping CIDR blocks  Reserve address space (subnets and instance addresses) across AZ’s for future expansion  Control your Network  Align subnets to Tiers (e.g. DMZ/proxy, ELB, Web/App, DB)  Leverage appropriate control per tier (subnet tiering, NACLs, etc…)  Everything in private subnets by default  Only ELB or Filter/monitoring solutions in Public Subnets  Secure IGW usage  Don’t add IGW to main routing table  Minimize use of IGW enabled Custom route table(s)  Minimize subnet size holding NAT or internet facing proxy services (e.g. Squid)  Use IAM for Access Control  Supplement with AWS Marketplace Solutions 22
  • 23. 5 Wrap-up & Questions
  • 24. Gary Silverman Gary.Mail.Mba@gmail.com @Tdream linkedIn.com/in/garysilvermanmba Thank You! 24

Editor's Notes

  1. Long time AWS Chicago community member, Certified AWS SA, and am excited to provide you an Introduction to Amazon VPC