Follow these steps to create a Virtual Private Cloud (VPC) in AWS using the AWS Management Console.
- Open your web browser and navigate to the AWS Management Console.
- Enter your AWS account email and password to log in.
- Once logged in, use the search bar at the top of the console to search for "VPC".
- Click on the VPC service from the dropdown list to open the VPC Dashboard.
- In the VPC Dashboard, click on the Launch VPC Wizard button.
- The VPC Wizard page will open, displaying various configuration options.
- Select the desired VPC configuration. For a simple setup, choose VPC with a Single Public Subnet.
- Click Select to proceed with your configuration choice.
- Enter a name for your VPC in the VPC name field, e.g.,
MyVPC
. - Specify the IPv4 CIDR block, e.g.,
10.0.0.0/16
. - For the public subnet:
- Enter a name in the Subnet name field, e.g.,
MyPublicSubnet
. - Specify the Subnet's IPv4 CIDR, e.g.,
10.0.1.0/24
. - Select an Availability Zone, or choose No Preference for AWS to allocate one automatically.
- Enter a name in the Subnet name field, e.g.,
- If needed, adjust options for Service Endpoints, VPC endpoint, Enable DNS hostnames, and Hardware tenancy.
- These settings are optional and can be left with their default values for most scenarios.
- Review all settings to make sure they are correct.
- Click Create VPC to launch your configured VPC.
- You will see a confirmation screen with details about the resources being created.
- Once the VPC is successfully created, you will receive a message confirming the creation.
- You can now begin deploying applications and services within your new VPC.