3 networking in aws - macul community€¦ · vpc –extend your network into a virtual private...

34
Networking in AWS © 2017 Amazon Web Services, Inc. and its affiliates. All rights served. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon Web Services, Inc.

Upload: others

Post on 24-May-2020

13 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Networking in AWS

©2017AmazonWebServices,Inc.anditsaffiliates.Allrightsserved.Maynotbecopied,modified,ordistributedinwholeorinpartwithouttheexpressconsentofAmazonWebServices,Inc.

Page 2: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Overview

• AWS networking services including:

VPC – Extend your network into a virtual private cloud

Direct Connect – Physical cross connect into AWS

ELB – Managed load balancer service

Route53 – Managed DNS service

EIP – Elastic IP

Page 3: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

1Amazon VPC

Page 4: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Amazon VPC

• Virtual network topology that you define• Your own logically isolated section of AWS• Complete control of your networking environment

– IP ranges– Subnets– Routing tables– Gateways

• Multiple Connectivity Options• Advanced Security Features

Page 5: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Networking Building Blocks

Your network goes here

• Bring your own network

Page 6: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Networking Building Blocks

VPC Subnet 1 VPC Subnet 2 VPC Subnet ‘n’

Page 7: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Networking Building Blocks

VPC Subnet 1 VPC Subnet 2

• Configure custom routing rules

Page 8: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Plan your VPC IP space before creating it

• Consider future AWS region expansion• Consider future connectivity to corporate networks• Consider subnet design• VPC can be /16 between and /28• CIDR cannot be modified once created• Overlapping IP spaces = future headache

Page 9: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Network Building Blocks

Security Group Firewall

Load Balancer

Security Group Firewall

Security Group Firewall

DB Server

Web(HTTP)

8080Web

ServerWeb

Server

Page 10: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Network Building Blocks

Availability Zone ‘A’ Availability Zone ‘B’

Page 11: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Network Building Blocks

• Routing rules

Availability Zone ‘A’ Availability Zone ‘B’

Page 12: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Network Building Blocks

Customer Network

Page 13: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Network Building Blocks

Customer NetworkAWS Direct

Connect Location

Customer WAN

Page 14: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Network Building Blocks

Customer Network

Page 15: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Network Building Blocks

Customer Network

Page 16: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Network Building Blocks

• Load Balancer• Internet Elastic Load Balancing• Mid-tier Elastic Load Balancing

Customer Network

Page 17: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

VPC NAT Gateway

NatGateway

• High availability – built-in redundancy• High bandwidth – up to 10Gbps• Fully Managed by AWS• Assign an EIP to each NAT Gateway• View NAT gateways’ traffic using Flow

Logs• NAT gateways support TCP, UDP, and

ICMP protocols• Network ACLs apply to NAT gateway’s

traffic• CloudTrail Support

Private Route Table

Destination Target

10.0.0.0/16 Local

0.0.0.0/0 IGW

Private Route Table

Destination Target

10.0.0.0/16 Local

0.0.0.0/0 NGW

Page 18: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

VPC Endpoints: Amazon S3 access without an Internet Gateway

• No IGW• No NAT• No public IPs• Free • Robust access control

Amazon S3

Page 19: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Connecting to other VPCs - VPC peering

VPC Peering

172.31.0.0/16 10.55.0.0/1610.0.0.0/16

Private Route Table

Destination Target

10.0.0.0/16 Local

172.31.0.0/16 VPC Peer

Private Route Table

Destination Target

171.31.0.0/16 Local

10.0.0.0/16 VPC Peer

Page 20: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

2Direct Connect

Page 21: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

AWS Direct Connect

Page 22: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

AWS Direct Connect Cont’d

Page 23: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

3ELB

Page 24: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Elastic Load Balancing• Elastic Load Balancing automatically distributes incoming

application traffic across multiple Amazon EC2 instances.• Two Types: Classic & Application Load Balancer

Page 25: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Elastic Load Balancing

• In-Region Load Balancing Service

• Distributes traffic across multiple Availability Zones – HTTP/S, TCP/S

• Built-in Health Check

• Fully fault-tolerant – Can span multiple AZs

Web Server

AZ-3

Web Server

Web Server

AZ-2

Web Server

Region

Elastic LoadBalancer

Web Server

AZ-1

Web Server

Page 26: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Classic Load Balancer Features:

• High Availability• Health Checks• Security Features• SSL Offloading• Sticky Sessions• IPv6 Support• Layer 4 or 7 Load Balancing• Operational Monitoring• Logging

Page 27: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Application Load Balancer Features:

• Content-Based Routing• Containerized Application Support• HTTP/2 Support• WebSockets Support• Layer-7 Load Balancing• Delete Protection• Request Tracing• Web Application Firewall (WAF)

Page 28: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

4Route53

Page 29: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Route53

Page 30: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Route53

Page 31: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Global Traffic Management Example:

Page 32: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Route53 Pricing Dimensions

Page 33: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Route53

Page 34: 3 Networking in AWS - MACUL Community€¦ · VPC –Extend your network into a virtual private cloud ... Route53 –Managed DNS service EIP –Elastic IP. 1 Amazon VPC. Amazon VPC

Any Questions?