/
Configure Subnets

Configure Subnets

To configure a NAT gateway, you will need a Private and Public subnet. To create these subnets, perform the following steps:

  1. Log in to your AWS account. Once logged in, input VPC into the search bar located at the top of the AWS interface.

image-20240409-210516.png
  1. Click the text VPC in the list that is revealed.

 

  1. In the left navigation panel of the VPC page, click Subnets.

  1. Click the Create subnet button located on the top right of the Subnets page. Note that this will be a public subnet intended for external traffic via the NAT Gateway.

  1. On the Create Subnet page perform the following steps:

    • Select the VPC that you would like to associate with this Subnet via the VPC ID dropdown menu

  • In the Subnet settings panel that is revealed, input a Subnet name.

  • Select an Availability Zone via the Availability Zone dropdown menu.

image-20240409-210058.png
  • Input an IPv4 CIDR via the IPv4 CIDR block. Note pick a range that allows remaining IPs in the VPC as a second Subnet will be created later in this guide:

image-20240409-210221.png
  • Click Create subnet to confirm the creation of the subnet.

  1. Click the Create subnet button located on the top right of the Subnets page. Note that this will be a private subnet intended for internal traffic.

  1. On the Create Subnet page perform the following steps:

    • Select the same VPC that you selected with the previously created Subnet via the VPC ID dropdown menu.

image-20240409-210320.png
  • In the Subnet settings panel that is revealed, input a Subnet name.

image-20240409-210638.png
  • Select an Availability Zone via the Availability Zone dropdown menu.

image-20240409-211108.png
  • Input an IPv4 CIDR via the IPv4 CIDR block. Note pick a range that allows remaining IPs in the VPC as a second Subnet will be created later in this guide.

image-20240409-211137.png
  • Click Create subnet to confirm the creation of the subnet.

image-20240409-211220.png