Create VPC

Creating an Amazon Virtual Private Cloud (VPC)

ℹ️ Objectives

  • Create an isolated virtual network environment in AWS
  • Set up the IP address space for the VPC
  • Configure the basic DNS features

🔒 Steps

  1. Sign in to the AWS Management Console
    • Search for the VPC service
    • Select VPC from the search results

Create VPC

  1. From the VPC Dashboard
    • Select Your VPCs from the left-hand menu
    • Click Create VPC

Create VPC

  1. Configure the VPC settings
    • Resources: Select VPC only
    • Name tag: Enter ASG
    • IPv4 CIDR: Enter 10.10.0.0/16 (providing 65,536 IP addresses)

ℹ️ About the CIDR Block
The 10.10.0.0/16 CIDR block belongs to the RFC 1918 private address space (10.0.0.0/8), which is suitable for internal networks and doesn’t conflict with public internet addresses. This range provides plenty of IP addresses for most enterprise workloads.

Create VPC

⚠️ A Note on Tenancy Keep the Tenancy setting at its default value (Default). Switching to Dedicated tenancy can limit the EC2 instance types supported in the VPC and adds extra cost.

  1. Confirm the VPC creation
    • Double-check the configuration
    • Click Create VPC to finish

Create VPC

  1. Check the VPC status after creation
    • You’ll see a success message
    • The new VPC appears in the list with the name “ASG”
    • Note down the VPC ID for later use

Create VPC

💡 DNS Configuration

  1. Enable the DNS features for the VPC
    • Select the VPC you just created from the list
    • Click Actions > Edit VPC settings
    • Under DNS settings, enable both options:
      • Enable DNS hostnames: Allows instances to receive a DNS hostname
      • Enable DNS resolution: Enables DNS resolution through the Amazon DNS server
    • Click Save to apply the changes

Create VPC Create VPC