CloudFormation templates to set up ArcGIS for Server on Amazon Web Services

The following templates use CloudFormation to automate the deployment of GIS server or web GIS sites on Amazon Web Services (AWS).

Esri CloudFormation templates

 

Templates for Regular AWS regions

Template Name Description View Launch

ArcGIS for Server WebGIS on one instance in EC2-VPC (Windows)

Provision an ArcGIS site with Portal for ArcGIS, ArcGIS Server, ArcGIS Data Store, and ArcGIS Web Adaptor on one AWS instance. This instance is on Windows 2012 R2. ReadMeView

ArcGIS for Server WebGIS on one instance in EC2-VPC (Ubuntu)

Provision an ArcGIS site with Portal for ArcGIS, ArcGIS Server, ArcGIS Data Store, and ArcGIS Web Adaptor on one AWS instance. This instance is on Ubuntu 14.04 LTS. ReadMeView

Siloed ArcGIS Server Site in EC2-VPC

Creates an auto scaling group of stand alone ArcGIS Server sites behind an Elastic Load Balancer in Amazon VPC. ReadMeView

ArcGIS for Server WebGIS on one instance in EC2-Classic (Windows)

Provision an ArcGIS site with Portal for ArcGIS, ArcGIS Server, ArcGIS Data Store, and ArcGIS Web Adaptor on one AWS instance. This instance is on Windows 2012 R2. ReadMeView

ArcGIS for Server WebGIS on one instance in EC2-Classic (Ubuntu)

Provision an ArcGIS site with Portal for ArcGIS, ArcGIS Server, ArcGIS Data Store, and ArcGIS Web Adaptor on one AWS instance. This instance is on Ubuntu 14.04 LTS. ReadMeView

Siloed ArcGIS Server Site in EC2-Classic

Creates an auto scaling group of stand alone ArcGIS Server sites behind an Elastic Load Balancer in Amazon EC2-Classic. ReadMeView

 

Templates for GovCloud Region.

Template Name Description View Launch

ArcGIS for Server WebGIS on one instance in EC2-VPC (Windows)

Provision an ArcGIS site with Portal for ArcGIS, ArcGIS Server, ArcGIS Data Store, and ArcGIS Web Adaptor on one AWS instance. This instance is on Windows 2012 R2. ReadMeView

ArcGIS for Server WebGIS on one instance in EC2-VPC (Ubuntu)

Provision an ArcGIS site with Portal for ArcGIS, ArcGIS Server, ArcGIS Data Store, and ArcGIS Web Adaptor on one AWS instance. This instance is on Ubuntu 14.04 LTS. ReadMeView

Siloed ArcGIS Server Site in EC2-VPC

Creates an auto scaling group of stand alone ArcGIS Server sites behind an Elastic Load Balancer in Amazon VPC. ReadMeView

 

Templates for China (Beijing) Region.

Template Name Description View Launch

ArcGIS for Server WebGIS on one instance in EC2-VPC (Windows)

Provision an ArcGIS site with Portal for ArcGIS, ArcGIS Server, ArcGIS Data Store, and ArcGIS Web Adaptor on one AWS instance. This instance is on Windows 2012 R2. ReadMeView

ArcGIS for Server WebGIS on one instance in EC2-VPC (Ubuntu)

Provision an ArcGIS site with Portal for ArcGIS, ArcGIS Server, ArcGIS Data Store, and ArcGIS Web Adaptor on one AWS instance. This instance is on Ubuntu 14.04 LTS. ReadMeView

Siloed ArcGIS Server Site in EC2-VPC

Creates an auto scaling group of stand alone ArcGIS Server sites behind an Elastic Load Balancer in Amazon VPC. ReadMeView

 

Automate CloudFormation Stack creation.

Clouldformation stack creation can be ran from command line. You can check Amazon Cloudformation for more information.

Below is a sample python script to create cloudformation stacks. To run it:

 

Troubleshooting Guide

If AWS CloudFormation fails to create a stack, you can check the event tab in CloudFormation console. It usually gives you a general idea what has gone wrong. The "ArcGIS for Server WebGIS" templates also have error messages and logs created with Cloud Watch to help you learn about the issue.

CloudFormation Event Tab

First, use the AWS CloudFormation console to view the status of your stack. In the console, you can view a list of stack events while your stack is being created, updated, or deleted. From this list, find the failure event and then view the status reason for that event. The status reason might contain an error message from AWS CloudFormation or from a particular service that can help you troubleshoot your problem.

CloudWatch Log Group

The "ArcGIS for Server WebGIS" templates write error messages and logs to CloudWatch log group. If stack creation failed during set up of the EC2 instance, check the log files for cfn-init and chef-solo bootstrapping tools for error messages. CloudFormation copies these log files to the CloudWatch log group created for the stack, so there is no need to log in to the instances to get the logs. You can find the CloudWatch log group for failed stacks in the list of resources created for the stack. Log files for successfully created stacks are available in the stack’s output parameters.

The log files copied to CloudWatch log group are from the following location of bootstrapping log files on the EC2 instances:

Note: Some Amazon Web Services regions, like Gov Cloud and China region, do not have Logging implemented. You won't be able to see the loggings in AWS console for these regions. You can still check the log files on the instance.

Error messages

 

 

Copyright © Esri 2015