subnets, vpc routers, and route tables part 1…subnets subnets, vpc routers, and route tables a...

10
Subnets, VPC Routers, and Route Tables Part 1 Brock Tubre TECHNICAL INSTRUCTOR

Upload: others

Post on 11-Apr-2021

25 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Subnets, VPC Routers, and Route Tables Part 1…Subnets SUBNETS, VPC ROUTERS, AND ROUTE TABLES A segment of a VPC that lives entirely within a single Availability Zone. Subnets cannot

Subnets, VPC Routers, and Route Tables Part 1

Brock TubreTECHNICAL INSTRUCTOR

Page 2: Subnets, VPC Routers, and Route Tables Part 1…Subnets SUBNETS, VPC ROUTERS, AND ROUTE TABLES A segment of a VPC that lives entirely within a single Availability Zone. Subnets cannot

SubnetsSUBNETS, VPC ROUTERS, AND ROUTE TABLES

A segment of a VPC that lives entirely within a single Availability Zone. Subnets cannot span more than one AZ. Subnets can be public, private, or VPN only.

SubnetsSeparates a specified CIDR range within an AZ.

Page 3: Subnets, VPC Routers, and Route Tables Part 1…Subnets SUBNETS, VPC ROUTERS, AND ROUTE TABLES A segment of a VPC that lives entirely within a single Availability Zone. Subnets cannot

VPC, Subnets, CIDR BlocksSUBNETS, VPC ROUTERS, AND ROUTE TABLES

Default VPC: 172.31.0.0/16

VPC VPC

Choosing a Private Addressing Space

• 192.168.0.0 - 192.168.255.255 (offers 1 /16 range)

• 172.16.0.0 - 172.31.255.255 (offers 16 /16 ranges)

• 10.0.0.0 - 10.255.255.255 (offers 256 /16 ranges)

Page 4: Subnets, VPC Routers, and Route Tables Part 1…Subnets SUBNETS, VPC ROUTERS, AND ROUTE TABLES A segment of a VPC that lives entirely within a single Availability Zone. Subnets cannot

VPC VPC

SUBNETS, VPC ROUTERS, AND ROUTE TABLES

Choosing VPC CIDR Block

Integration with other VPCs1

Integration with on-premise networks2

Plans for subnetting3

VPC, Subnets, CIDR Blocks

Page 5: Subnets, VPC Routers, and Route Tables Part 1…Subnets SUBNETS, VPC ROUTERS, AND ROUTE TABLES A segment of a VPC that lives entirely within a single Availability Zone. Subnets cannot

VPC, Subnets, CIDR BlocksSUBNETS, VPC ROUTERS, AND ROUTE TABLES

VPC VPC

Default VPC: 172.31.0.0/16

VPC 10.0.0.0/16

AZ a 10.0.0.0/18 AZ b 10.0.64.0/18 AZ c 10.0.128.0/18

Database

Web Server

Management

Page 6: Subnets, VPC Routers, and Route Tables Part 1…Subnets SUBNETS, VPC ROUTERS, AND ROUTE TABLES A segment of a VPC that lives entirely within a single Availability Zone. Subnets cannot

VPC, Subnets, CIDR BlocksSUBNETS, VPC ROUTERS, AND ROUTE TABLES

VPC VPC

Default VPC: 172.31.0.0/16

VPC 10.0.0.0/16

AZ a 10.0.0.0/18 AZ b 10.0.64.0/18 AZ c 10.0.128.0/18

Database

Web Server

Management

/21 /21 /21 /21 /21 /21

/21 /21 /21 /21 /21 /21

/21 /21/21 /21/21 /21

Page 7: Subnets, VPC Routers, and Route Tables Part 1…Subnets SUBNETS, VPC ROUTERS, AND ROUTE TABLES A segment of a VPC that lives entirely within a single Availability Zone. Subnets cannot

VPC, Subnets, CIDR BlocksSUBNETS, VPC ROUTERS, AND ROUTE TABLES

VPC VPC

Default VPC: 172.31.0.0/16

VPC 10.0.0.0/16

AZ a 10.0.0.0/18 AZ b 10.0.64.0/18 AZ c 10.0.128.0/18

Database

Web Server

Management

/21 /21 /21 /21 /21 /21

/21 /21 /21 /21 /21 /21

/21 /21/21 /21/21 /21

Default VPC: 172.31.0.0/16

Intercommunication Between VPCs

Default VPC: 172.31.0.0/16

Avoid using the default VPC if your VPC will communicate with other VPCs.

Page 8: Subnets, VPC Routers, and Route Tables Part 1…Subnets SUBNETS, VPC ROUTERS, AND ROUTE TABLES A segment of a VPC that lives entirely within a single Availability Zone. Subnets cannot

AWS Subnet AddressingSUBNETS, VPC ROUTERS, AND ROUTE TABLES

AWS Reserved AddressesAWS reserves the first four IPv4 addresses and the last IPv4 address of every subnet for internal networking purposes. So five addresses are always reserved by AWS.

3

Determine CIDR RangeWhen creating a subnet, the smallest CIDR range you can allocate is /28 netmask and the largest is /16 netmask. That’s 16 IPv4 address and 65,536 IPv4 addresses respectively.

2

Specify Target AZYou can create zero, one, or more subnets in an AZ. When creating a subnet you must specify the target AZ.

1

Page 9: Subnets, VPC Routers, and Route Tables Part 1…Subnets SUBNETS, VPC ROUTERS, AND ROUTE TABLES A segment of a VPC that lives entirely within a single Availability Zone. Subnets cannot

Default SubnetsSUBNETS, VPC ROUTERS, AND ROUTE TABLES

Page 10: Subnets, VPC Routers, and Route Tables Part 1…Subnets SUBNETS, VPC ROUTERS, AND ROUTE TABLES A segment of a VPC that lives entirely within a single Availability Zone. Subnets cannot

Default SubnetsSUBNETS, VPC ROUTERS, AND ROUTE TABLES