Create Subnets

Create Subnets

  1. In VPC interface, choose Subnets on the sidebar, then click Create subnet Create subnet

  2. In Create subnet interface, choose the VPC just created is my-vpc Create subnet

  3. After choosing VPC, the Subnet settings will appear

    • Subnet name, enter Public Subnet 1
    • Availability Zone, choose AZ Singapore ap-southeast-1a
    • IPv4 CIDR block, enter 10.10.1.0/24
    • Choose Create subnet Create subnet
  4. Finish creating Subnet Subnet created

  5. Perform the same steps to create more subnets

    • Public subnet 2 with CIDR 10.10.2.0/24 and AZ ap-southeast-1b. Subnet created

    • Private subnet 1 with CIDR 10.10.3.0/24 and AZ ap-southeast-1a. Subnet created

    • Private subnet 2 with CIDR 10.10.4.0/24 and AZ ap-southeast-1b. Subnet created

    • Private DB Subnet 1 with CIDR 10.10.5.0/24 and AZ ap-southeast-1a. Subnet created

    • Private DB Subnet 2 with CIDR 10.10.6.0/24 and AZ ap-southeast-1b. Subnet created

    • Finish creating 6 subnets. Subnet created

Allow auto-assign public IP address for 2 public subnets

  1. In Subnets interface, choose Public Subnet 1, choose Actions and choose Edit subnet settings Edit subnet settings

  2. Tick Enable auto-assign public IPv4 address, then choose Save Edit subnet settings Edit subnet settings

  3. Repeat the steps above to apply for Public subnet 02 Edit subnet settings

  4. Go back to Your VPCs and view the Resource map of my-vpc Resource map