This guide will walk you through the process of setting up an Amazon Virtual Private Cloud (VPC) using the AWS Management Console.
Before you begin, ensure you have the following:
- An AWS account
- Access to the AWS Management Console
- IAM permissions to create VPC resources
-
Log in to the AWS Management Console.
-
Navigate to the VPC Dashboard by searching for
VPC
in the AWS services search bar. -
Click on the Create VPC button.
-
Fill in the details of your VPC and then Click Create VPC:
- Resources to create: Choose
VPC and more
- Name tag: Enter a name for your VPC (e.g.,
sap-pal-eic
). - IPv4 CIDR block: Enter a CIDR block (e.g.,
10.0.0.0/16
). - IPv6 CIDR block: Leave this as
No IPv6 CIDR block
unless you need IPv6. - Tenancy: Choose
Default
. - Number of Availability Zones (AZs):
3
[2 for quick setup]
- Number of public subnets:
3
[2 for quick setup]
- Number of private subnets:
3
[2 for quick setup]
- NAT gateways ($): Choose
1 per AZ
- VPC endpoints: Choose
None
- Resources to create: Choose
-
Wait for couple of seconds, then you will see the VPC and all related resources will be created.
-
Click
Redirect
icon for the first Public Subnet displaying in the Resource map tab. It will open a new tab and redirect you to the Manage Subnet screen. -
In the new screen, click Actions button and choose Edit subnet settings from drop down menu.
-
Under the Auto-assign IP settings section, check Enable auto-assign public IPv4 address and click Save to apply the changes.
-
Apply the same process to all of the public subnet in your created VPC.
You have successfully configured an AWS VPC with public and private subnets. You can now Amazon EKS Cluster within this VPC and configure them according to your requirements.
For more information, refer to the AWS VPC documentation.