Skip To Content

Deploy ArcGIS Enterprise components on separate machines using CloudFormation

In the workflow described below, multiple Esri Amazon Web Services (AWS) CloudFormation templates are used to create an ArcGIS Enterprise deployment with each component on separate Amazon Elastic Compute Cloud (EC2) instances in the same Amazon Virtual Private Cloud (VPC). Using this workflow, you will also federate an additional ArcGIS Server site to fill a role of your choosing.

Placing components on separate EC2 instances allows you to use different instance types (sizes), numbers of instances, and configuration types for each component. Use the same operating system for each instance. In addition to making it more customizable, having components on separate instances allows you to more quickly recover if an instance fails.

Using this workflow, you can create a deployment architecture similar to the one shown in the diagram below. It deploys Portal for ArcGIS, ArcGIS GIS Server (for the hosting server), and a relational ArcGIS Data Store each on its own EC2 instance. Each component contains two EC2 instances to provide high availability. This diagram shows a federated ArcGIS GeoAnalytics Server site, which requires a spatiotemporal big data store; however, you can license a different ArcGIS Server role. You can also include additional types of federated ArcGIS Server sites.

Base ArcGIS Enterprise components, federated GeoAnalytics Server, and spatiotemporal big data store on separate EC2 instances in same VPC

Create a VPCand application load balancer

All components in ArcGIS Enterprise on AWS are deployed in an Amazon VPC, so you'll run a CloudFormation template to create a VPC. Communication between the components and clients in this deployment is controlled through an application load balancer that you will create using another CloudFormation template.

  1. Complete all the prerequisites for the Esri AWS CloudFormation template for a VPC with two public subnets.
  2. Sign in to your account in AWS Management Console and open the CloudFormation service.
  3. Use the Esri AWS CloudFormation template for a VPC with two public subnets to create a VPC.
  4. Complete all the prerequisites for and run the Esri AWS CloudFormation template to create an application load balancer.

    Create the load balancer in the same AWS region as the VPC.

    Record the DNSName value from the load balancer template's output.

  5. In the Domain Name Service (DNS), map the Elastic Load Balancer (ELB) DNSName value to the domain name for the ArcGIS Enterprise deployment.

    If you do not know how to do this, contact your IT department.

At this point, you have the following components:

VPC and application load balancer

Create a highly available Portal for ArcGIS

The next step in creating an ArcGIS Enterprise deployment is to configure Portal for ArcGIS.

  1. Complete the prerequisites for the template that deploys Portal for ArcGIS on two machines.
  2. In the CloudFormation service in AWS Management Console, use the Portal for ArcGIS on two machines template to deploy a highly available portal.

    Deploy in the VPC and subnets you created in the previous section.

    Provide the Elastic Load Balancer DNSName value for the application load balancer you created in the previous section.

The deployment now contains the Portal for ArcGIS component.

Portal for ArcGIS component added to the deployment

Create a highly available ArcGIS GIS Server site

An ArcGIS Enterprise portal requires a hosting server, so you'll add a multiple machine ArcGIS GIS Server site to the deployment.

  1. Complete the prerequisites for the highly available ArcGIS Server site CloudFormation template.

    You must have an ArcGIS GIS Server license.

  2. In the CloudFormation service in AWS Management Console, use the highly available ArcGIS Server site template to create the site.

    Use the same platform, VPC, and subnets as you did for the Portal for ArcGIS component.

    The diagram for this workflow shows two EC2 instances in the site; however, you can create the site with more than two instances.

    Take note of the ArcGIS Server services URL in the stack output; you need it when creating data stores and when you federate the site to the portal.

A GIS Server site now exists in the VPC but it is not yet set as the hosting server, as shown in the following diagram. You must add a relational data store to the GIS Server site before you can set the site as the hosting server.

GIS Server site added to the VPC

Create a relational and spatiotemporal big data stores

Before you can set the ArcGIS GIS Server site as the hosting server for the portal, you must create a relational data store.

In the workflow shown in the first diagram, a spatiotemporal big data store is necessary because an ArcGIS GeoAnalytics Server will be federated with the portal. If you federate a different type of ArcGIS Server role to the portal, you may not need a spatiotemporal big data store.

Create a relational data store

To create a relational data store, complete the following steps:

  1. Complete the prerequisites for the ArcGIS Data Store primary-standby mode CloudFormation template.
  2. In the CloudFormation service in AWS Management Console, use the ArcGIS Data Store primary-standby mode template to create a relational data store and register it with the ArcGIS GIS Server site you created in the previous section.

    Use the same platform, VPC, and subnets as you did for the Portal for ArcGIS and ArcGIS GIS Server components.

The deployment now contains a relational data store.

Relational data store registered to the GIS Server

Create a spatiotemporal big data store

To create a spatiotemporal big data store for the federated server, complete the following steps:

  1. Complete the prerequisites for the ArcGIS Data Store cluster mode CloudFormation template.
  2. In the CloudFormation service in AWS Management Console, use the ArcGIS Data Store cluster mode template to create a spatiotemporal big data store and register it with the ArcGIS GIS Server site you created in the previous section.

    Use the same platform, VPC, and subnets as you did for the Portal for ArcGIS and ArcGIS GIS Server components.

    The data store must contain an odd number of EC2 instances.

The spatiotemporal big data store is registered to the ArcGIS GIS Server site.

Spatiotemporal big data store registered with the GIS Server site

Configure the ArcGIS GIS Server site as the hosting server

Now that the ArcGIS GIS Server site includes a relational data store, you can set it as the portal's hosting server.

  1. Identify and record the instance ID of one of the EC2 instances in the Portal for ArcGIS deployment.

    You can do this in the EC2 service in AWS Management Console.

    If you used a file server for the Portal for ArcGIS content directory, ensure that the instance ID you use is not for the file server instance.

  2. Identify and record the instance ID of one of the EC2 instances in the ArcGIS GIS Server site.

    Do not use the instance ID of the file server that was created to store ArcGIS Server directories.

  3. In the CloudFormation service in AWS Management Console, use the CloudFormation template to federate an ArcGIS Server site to add the ArcGIS GIS Server site as a hosting server to the Portal for ArcGIS deployment you created in the second section of this workflow.

    Choose HostingServer for the ArcGIS Server role.

The hosing server is set for the portal.

GIS Server site set as the portal's hosting server

Create and federate an additional ArcGIS Server site

You'll create another ArcGIS Server site and federate it with the portal. In this case, it will be a ArcGIS GeoAnalytics Server site.

  1. Complete the prerequisites for the highly available ArcGIS Server site CloudFormation template.

    You must have an ArcGIS GeoAnalytics Server license to create an ArcGIS GeoAnalytics Server site. To federate an ArcGIS Image Server or another ArcGIS GIS Server, use the appropriate license.

  2. In the CloudFormation service in AWS Management Console, use the highly available ArcGIS Server site template to create the site.

    Use the same platform, VPC, and subnets as you did for all the other components in this deployment.

    The site contains at least three EC2 instances if you created an ArcGIS GeoAnalytics Server site.

  3. Identify and record the instance ID of one of the EC2 instances in the ArcGIS GeoAnalytics Server site.

    You can do this in the EC2 service in AWS Management Console.

    Do not use the instance ID of the file server that was created to store ArcGIS Server directories.

  4. In the CloudFormation service in AWS Management Console, use the CloudFormation template to federate an ArcGIS Server site to add the ArcGIS GeoAnalytics Server site to the Portal for ArcGIS deployment you created in the second section of this workflow.
    • If you created an ArcGIS GeoAnalytics Server site, choose GeoAnalytics for the ArcGIS Server role.
    • If you created an ArcGIS GIS Server site, choose GISServer.
    • If you created an ArcGIS Image Server site, choose RasterAnalytics.

The deployment contains all the software components.

If you created an ArcGIS GeoAnalytics Server site, you must alter a couple of the security groups to allow the ArcGIS GeoAnalytics Server site to communicate with the spatiotemporal big data store. This is explained in the next section.

Update security groups for an ArcGIS GeoAnalytics Server site

If you created an ArcGIS GeoAnalytics Server site, you must enable TCP communication between the spatiotemporal big data store and the ArcGIS GeoAnalytics Server site.

See Security group rules in the AWS documentation for more information about adding security group rules.

  1. Add a rule to the ArcGIS GeoAnalytics Server site's security group to allow All TCP traffic, with the spatiotemporal big data store security group as the source.
  2. Add a rule to the spatiotemporal big data store's security group to allow All TCP traffic, with the ArcGIS GeoAnalytics Server security group as the source.
  3. To copy data generated from GeoAnalytics Tools from the spatiotemporal big data store to the relational data store, repeat the previous two steps for the relational data store's security group.

The deployment contains all components and communication channels shown in the diagram at the top of this page.