On this page

    Create a VPC and Subnets

    Following are steps for creating an Amazon Virtual Private Cloud (VPC) and subnets through the AWS Management Console.

    Creating a VPC

    To create a VPC in your Amazon account:

    1. Go to the AWS Management Console and sign in with your credentials.

    2. Navigate to Services > Networking & Content Delivery > VPC.

    3. On the VPC homepage, click the Create VPC button.

    4. On the Create VPC page, set the following:

      a. For Resources to create, select VPC only.

      b. (Optional) For Name tag, enter a name for your new VPC.

      c. For IPv4 CIDR, enter 10.0.0.0/16.

      d. Keep all other default settings.

    5. Click the Create VPC button.

    Creating Private or Public Subnets

    To create a subnet in your Amazon account:

    1. Select Subnets from the side navigation bar.

    2. Click the Create subnet button in the top right.

    3. On the Create subnet page, set the following:

      a. For VPC ID, select your newly created VPC.

      b. For Subnet name, enter a name for your subnet.

      c. For Availability zone, select a compatible availability zone.

      d. For IPv4 CIDR block, enter 10.0.0.0/16.

      e. Keep all other default settings.

    4. Click the Create subnet button.

    For public subnets only:

    1. On the Subnets page, select your subnet by checking the box next to it.
    2. Go to Actions > Edit subnet settings.
    3. Check the box next to Enable auto-assign public IPv4 address to enable.
    4. Click Save.
    5. On the Your VPCs page, select your VPC by checking the box next to it.
    6. Go to Actions > Edit VPC Settings.
    7. For Enable DNS hostnames, check the box to enable the setting.
    8. For Enable DNS resolution, check the box to enable the setting.
    9. Click Save.