Skip To Content

Create an Amazon VPC using CloudFormation

The arcgis-vpc.template.json template provisions an Amazon Virtual Private Cloud (VPC) with two public subnets. It sets up a VPC as shown in the diagram below.

Virtual private cloud with two public subnets

License:

Certain icons in the diagram are used with permission from Amazon Web Services.

Prerequisites

Prerequisites can be grouped by the items—such as files and accounts—that you must obtain and the tasks you must perform before running the CloudFormation template.

Required items

You need the following before running this template:

  • An Amazon Web Services account.

    The account must have access to basic AWS services such as CloudFormation, Amazon Elastic Compute Cloud (EC2), Amazon Virtual Private Cloud (VPC), Amazon Simple Storage Service (S3), Systems Manager, Amazon CloudWatch, Lambda, AWS Identity and Access Management (IAM), Amazon DynamoDB, Secrets Manager, AWS Certificate Manager, and Amazon Relational Database Service (RDS).

  • The arcgis-vpc.template.json CloudFormation template.

Required tasks

Complete the following task before running this template:

Confirm that the number of Virtual Private Clouds in the region where you want to create this VPC does not exceed the number allowed for the region. The default number is five per region, but you can increase this limit by sending a request to AWS.

Parameters

Refer to the following tables for descriptions of the parameters used in this CloudFormation template. Tables are grouped by parameter type.

VPC Configuration

Parameter nameRequired?Parameter description

Availability Zones

Required

Choose any two availability zones for your VPC and subnets.

VPC CIDR

Optional

Provide a Classless Inter-Domain Routing (CIDR) block of IP addresses for the VPC. The default is 10.0.0.0/16.

Public Subnet Configuration

Parameter nameRequired?Parameter description

Public Subnet 1 CIDR

Optional

Provide the first public subnet for the CIDR range. The default is 10.0.0.0/24.

Public Subnet 2 CIDR

Optional

Provide the second public subnet for the CIDR range. The default is 10.0.1.0/24.

Outputs

When your stack is created successfully, you can see the following output parameters on the Outputs tab of the CloudFormation stack in AWS Management Console.

Output nameOutput description

VPCId

The ID of the VPC in which you will create deployments. Choose this ID when launching ArcGIS stacks.

PublicSubnet1Id

The ID of public subnet 1, which you can choose when you use Esri CloudFormation templates to create ArcGIS deployments in this VPC.

PublicSubnet2Id

The ID of public subnet 2, which you can choose when you use Esri CloudFormation templates to create highly available ArcGIS deployments or enterprise geodatabases in this VPC.