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


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


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.


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


Choose any two availability zones for your VPC and subnets.



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

Public Subnet Configuration

Parameter nameRequired?Parameter description

Public Subnet 1 CIDR


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

Public Subnet 2 CIDR


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


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


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


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


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.