Exercise4 2=Create Three Subnets for each Custom Amazon VPC
According to the above diagram, create the required subnet under each VPC.
Services Networking & Content Delivery VPC
On the left pane: Subnets Create subnet
VPC Subnet Name Availability Zone IPv4 CIDR block Visibility
VPC1 Pub1 us-east-1a 10.0.0.0/24 Public
App1 us-east-1b 10.0.1.0/24 Private within VPC1 & VPC2
DB1 us-east-1c 10.0.2.0/24
VPC2 Pub2 us-east-1d 10.1.0.0/24 Public
App2 us-east-1e 10.1.1.0/24 Private within VPC1 & VPC2
DB2 us-east-1f 10.1.2.0/24
As we have Two Public subnets, Pub1 and Pub2 we will allow auto IPv4 assignment for Pub1 so if we create an instance on this subnet it will get a public IP4 automatically from AWS public IPv4 pool. For Pub2 we will not enable this option, as we will manually assign Elastic IP.
To Enable auto-assign public IPv4 address on Pub1 select the subnet then click “Actions” then click “Modify auto-assign IP settings” then check “Auto-assign IPv4” checkbox then click save.
ipv4