Creating a Test VPC

Creating a Test VPC

  1. Access the Amazon VPC Console:

  2. Visit the Amazon VPC dashboard at AWS VPC Console.

  3. Initiate VPC Creation:

    • On the VPC dashboard, select Create VPC.
  4. Specify Resources:

    • For Resources to create, choose VPC and more.
  5. Configure Name Tag:

    • Keep Name tag auto-generation selected to automatically create name tags for VPC resources, or deselect to provide custom name tags.
  6. Set Up IPv4 CIDR Block:

    • Enter the IPv4 address range for the VPC. This is mandatory as VPC requires an IPv4 range.

Create VPC

  1. Configure IPv6 (Optional):
    • To support IPv6, select IPv6 CIDR block and choose Amazon-provided IPv6 CIDR block.
  2. Choose Tenancy:
    • Select a tenancy option, determining whether EC2 instances will run on shared or dedicated hardware.
  3. Default Tenancy: Instances use the tenancy attribute specified at launch.
  4. Dedicated Tenancy: Instances always run as Dedicated Instances.
  5. Set Availability Zones:
    • To ensure diversity in a production environment, have subnets in at least two Availability Zones (AZs).
  6. You may manually select AZs or allow AWS to choose them.
  7. Configure Subnets:
  8. Choose the number of public and private subnets.
  9. You can customize the CIDR blocks for subnets or let AWS select them.
  10. Configure NAT Gateway (Optional):
  11. If private subnets need IPv4 internet access, decide the number of NAT gateways per AZ.
  12. Remember, NAT gateways incur additional costs.
  13. Egress-Only Internet Gateway (Optional):
    • If private subnets need IPv6 internet access, select Yes for the Egress-only internet gateway.
  14. Set up VPC Endpoints for S3 (Optional):
    • Choose VPC endpoints, S3 Gateway for direct access to Amazon S3 from your VPC.
  15. DNS Options (Optional):
    • Adjust DNS options if the default settings do not meet your requirements.
  16. Add Additional Tags (Optional):
    • Expand Additional tags, select Add new tag, and enter the key and value for the tag.
  17. Review Configuration in Preview Pane:
    • The Preview Pane shows the relationships between VPC resources. Solid lines indicate resource connections, while dashed lines represent network traffic paths.
  18. Create VPC:
    • Once you have configured the VPC to your specifications, press Create VPC.

Create VPC

Create VPC