Create subnets

Create subnets

  1. After creating VPC, we continue create subnets. First, choose Subnets in current dashboard Subnets
  2. Choose Create subnet Subnets
  3. Choose recent VPC that you have just created Subnets
  4. After choosing VPC, we will configure the subnet as follows:
  • Subnet name: public-subnet-01
  • Availability Zone: choose US East (N. Virginia) / us-east-1a
  • IPv4 subnet CIDR block: 10.0.1.0/24 Subnets
  1. Choose Add new subnet and perform same configuration for other subnets: Subnets
  • public-subnet-02 in US East (N. Virginia) / us-east-1b withCIDR 10.0.2.0/24 Subnets
  • private-subnet-01 in US East (N. Virginia) / us-east-1a with CIDR 10.0.3.0/24 Subnets
  • private-subnet-02 in US East (N. Virginia) / us-east-1b with CIDR 10.0.4.0/24 Subnets
  • private-db-subnet-01 in US East (N. Virginia) / us-east-1a with CIDR 10.0.5.0/24 Subnets
  • private-db-subnet-02 in US East (N. Virginia) / us-east-1b with CIDR 10.0.6.0/24 Subnets
  1. Choose Create subnet to finish creating subnets Subnets
  2. After creating subnets, you can see the result as follows: Subnets
  3. Next, we enable public IPv4 address for two public subnets.
  • We choose each public subnet and choose Actions > Edit subnet settings Subnets
  • Choose Enable auto-assign public IPv4 address and choose Save Subnets Subnets
  • We do the same for public-subnet-01. After that, we can see the result as follows: Subnets Subnets