Skip to main content

VPC Setup for Lambda function

The simplest way to achieve this is to use the AWS Create VPC Wizard:

  1. Open VPC by either searching for VPC in AWS Search bar on top or click on this link https://console.aws.amazon.com/vpc/
  2. Click on Create VPC.
  3. Select the following:
    • Resources to create: VPC and more
    • Name tag auto-generation: your VPC name
    • IPv4 CIDR block: 10.0.0.0/16
    • IPv6 CIDR block: No IPv6 CIDR block
    • Tenancy: Default
    • Number of Availability Zones (AZs): 2
    • Number of public subnets: 2
    • Number of private subnets: 2
    • NAT gateways ($): None
    • VPC endpoints: None
    • Checked DNS options: Eenable DNS hostnames and DNS resolution
  4. Click Create VPC.