You can upgrade an ArcGIS GeoEvent Server site on Amazon Web Services (AWS) by running through manual upgrade procedures or, if you created the deployment using 10.8 or 10.8.1 Esri Amazon Web Services CloudFormation templates, you can upgrade using Chef scripts.
Before you upgrade
No matter which upgrade method you use, review the following information before you upgrade your deployment:
- Accept the AWS Marketplace terms for the new version of the ArcGIS Enterprise Amazon Machine Images (AMIs) before you upgrade.
- You need a new ArcGIS GeoEvent Server license file to upgrade to 10.9.
- Make a backup of the ArcGIS GeoEvent Server site before upgrading.
- If the ArcGIS GeoEvent Server site is federated with an ArcGIS Enterprise portal, you must upgrade the portal before upgrading this federated server.
- Starting with 10.9, ArcGIS GeoEvent Server sites on AWS can only contain one Amazon Elastic Compute Cloud (EC2) instance.
You must remove the EC2 instances in the ArcGIS GeoEvent Server site from the AWS Auto Scaling group (if it is in one) and remove all but one EC2 from the site. Multiple machine ArcGIS GeoEvent Server sites are no longer supported on AWS.
Once upgraded, do not put the remaining instance back in the Auto Scaling group because the site can contain only one instance.
You cannot use the Lambda functions created using Amazon Web Services CloudFormation templates provided by Esri to stop and start the remaining instance after upgrading.
Upgrade using manual upgrade procedures
The manual upgrade procedure for an ArcGIS GeoEvent Server site on AWS requires you to remove all but one instance from the site. If the instances are deployed in an AWS Auto Scaling group, you must remove them from the Auto Scaling group before you upgrade. Once these steps are complete, you can follow the same procedure for upgrading as you would an ArcGIS GeoEvent Server site on premises.
See the ArcGIS GeoEvent Server installation guide for upgrade instructions:
- Upgrade GeoEvent Server (Linux)
- Upgrade GeoEvent Server (Windows)
Upgrade using Chef scripts
When you use Chef scripts to upgrade an ArcGIS GeoEvent Server site on AWS that was created using a 10.8.x Esri Amazon Web Services CloudFormation template, you must bring the ArcGIS GeoEvent Server site down to a single EC2 instance plus the file server instance, because multiple machine ArcGIS GeoEvent Server sites are no longer supported on AWS.
Upgrade steps are different for deployments on Microsoft Windows and Ubuntu. Follow the instructions applicable to the operating system of your deployment.
Upgrade a site on Windows
You can no longer use the Auto Scaling group with the ArcGIS GeoEvent Server site, and you will remove all but the file server instance and a single ArcGIS GeoEvent Server EC2 instance from the ArcGIS GeoEvent Server stack. The remaining instance in the site must be added to the site's load balancer, and then you can upgrade ArcGIS GeoEvent Server.
Alter and delete the Auto Scaling group
First, remove the ArcGIS GeoEvent Server EC2 instances from the AWS Auto Scaling group and delete the group.
- Sign in to your account in AWS Management Console and access the Auto Scaling group for the ArcGIS GeoEvent Server site.
- Change the minimum capacity property of the stack's Auto Scaling group to 0.
- Change the maximum capacity and desired capacity properties of the stack's Auto Scaling group to 1.
This leaves a single GeoEvent Server instance. Multimachine ArcGIS GeoEvent Server sites are no longer supported.
- Once all but one of the instances in the group have been terminated, detach the remaining ArcGIS GeoEvent Server EC2 instance from the Auto Scaling group.
See Detach EC2 instances from your Auto Scaling group in AWS documentation for more information.
- Once the instance has finished detaching, change the maximum capacity and desired capacity properties of the stack’s AutoScaling group to 0.
- Record the instance ID of the remaining EC2 instance.
- Delete the Auto Scaling group to prevent anyone from adding the instances back after the data store is upgraded.
Add the remaining instance to the load balancer target groups
You need to add the remaining EC2 instance to the load balancer because the instances were removed from the Auto Scaling group.
Follow these steps to add the ArcGIS GeoEvent Server EC2 instance that was detached from the Auto Scaling group in step 4 in the previous section to the four target groups that are associated with the load balancer.
- Open the AWS EC2 in the AWS Management Console.
- Click Load Balancers to view the load balancers in your account.
- Select the load balancer used for your ArcGIS GeoEvent Server site.
- Click the Listeners tab and make note of the four target groups listed under Default action.
- Click Target Groups to access the target groups so you can add the remaining ArcGIS GeoEvent Server instance to each of the target groups you recorded in substep d above.
- Register the instance ID of the remaining ArcGIS GeoEvent Server instance to each of the four target groups.
See AWS documentation for information on how to register an instance with target groups.
Upgrade ArcGIS GeoEvent Server
Now you can upgrade the ArcGIS GeoEvent Server.
- Make a remote desktop connection to the remaining EC2 instance in the ArcGIS GeoEvent Server site.
- Download and install Chef or Cinc client 15. If you have an older version of Chef installed, update it to version 15.
- Download the following 10.9 installation setup files from your account in My Esri and upload them to the C:\Software\Archives folder on the EC2 instance:
- ArcGIS_Server_Windows_109_177775.exe
- ArcGIS_GeoEvent_Server_109_177813.exe
- Obtain an ArcGIS GeoEvent Server 10.9 authorization file (.epc or .prvc) and place it in a local folder on the EC2 instance or a file share that you can access from the EC2 instance.
- Download the ArcGIS Cookbook version 3.7.0 (arcgis-3.7.0-cookbooks.zip) to the EC2 instance, unzip the file, and place the contents of the unzipped file in the C:\chef folder.
- Create a copy of your original C:\chef\node.json file and rename it to upgrade-geoevent-server.json.
- Open upgrade-geoevent-server.json in a text editor and modify the following parameters:
- Set the ArcGIS version to 10.9.
"arcgis" : { "version": "10.9",
- Specify the location where you placed the ArcGIS GeoEvent Server authorization file.
"arcgis" : { "server": { "authorization_file" : "<drive>\\<folder>"
- Add the archive repository node and set it to the folder where you placed the software installation files on the EC2 instance.
"arcgis" : { "repository": { "archives": "C:\\Software\\Archives"
- Remove the following recipes from the run list:
"recipe[arcgis-enterprise::system]", "recipe[arcgis-enterprise::post_install]"
- Change "recipe[arcgis-enterprise::server_node]", recipe to "recipe[arcgis-enterprise::server]".
The run list should now contain the following recipes:
"run_list" : [ "recipe[arcgis-enterprise::server]", "recipe[arcgis-geoevent]" ]
- Set the ArcGIS version to 10.9.
- Save and close the upgrade-geoevent-server.json file.
- Open a command line window as an administrator, change the directory to C:\chef, and run the following command: chef-client -z -j c:\chef\upgrade-geoevent-server.json.
Upgrade a site on Ubuntu
You can no longer use the Auto Scaling group with the ArcGIS GeoEvent Server site, and you will remove all but the file server instance and a single ArcGIS GeoEvent Server EC2 instance from the ArcGIS GeoEvent Server stack. The remaining instance in the site must be added to the site's load balancer, and then you can upgrade ArcGIS GeoEvent Server.
Alter and delete the Auto Scaling group
First, remove the ArcGIS GeoEvent Server EC2 instances from the AWS Auto Scaling group and delete the group.
- Sign in to your account in AWS Management Console and access the Auto Scaling group for the ArcGIS GeoEvent Server site.
- Change the minimum capacity property of the stack's Auto Scaling group to 0.
- Change the maximum capacity and desired capacity properties of the stack's Auto Scaling group to 1.
This leaves a single GeoEvent Server instance. Multimachine ArcGIS GeoEvent Server sites are no longer supported.
- Once all but one of the instances in the group have been terminated, detach the remaining ArcGIS GeoEvent Server EC2 instance from the Auto Scaling group.
See Detach EC2 instances from your Auto Scaling group in AWS documentation for more information.
- Once the instance has finished detaching, change the maximum capacity and desired capacity properties of the stack’s AutoScaling group to 0.
- Record the instance ID of the remaining EC2 instance.
- Delete the Auto Scaling group to prevent anyone from adding the instances back after the data store is upgraded.
Add the remaining instance to the load balancer target groups
You need to add the remaining EC2 instance to the load balancer because the instances were removed from the Auto Scaling group.
Follow these steps to add the ArcGIS GeoEvent Server EC2 instance that was detached from the Auto Scaling group in step 4 in the previous section to the four target groups that are associated with the load balancer.
- Open the AWS EC2 in the AWS Management Console.
- Click Load Balancers to view the load balancers in your account.
- Select the load balancer used for your ArcGIS GeoEvent Server site.
- Click the Listeners tab and make note of the four target groups listed under Default action.
- Click Target Groups to access the target groups so you can add the remaining ArcGIS GeoEvent Server instance to each of the target groups you recorded in substep d above.
- Register the instance ID of the remaining ArcGIS GeoEvent Server instance to each of the four target groups.
See AWS documentation for information on how to register an instance with target groups.
Upgrade ArcGIS GeoEvent Server
Now you can upgrade the ArcGIS GeoEvent Server.
- As the ubuntu user, SSH into the remaining EC2 instance in the ArcGIS GeoEvent Server site.
- Use one of the following commands to download and install Chef or Cinc client 15. If you have an older version of Chef installed, update it to version 15.
- Chef client: sudo curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -v 15.14.0
- Cinc client: sudo curl -L https://omnitruck.cinc.sh/install.sh | sudo bash -s -- -v 15.14.0
- Download the following 10.9 installation setup files from your account in My Esri and upload them to the /opt/software/archives folder on the remaining EC2 instance:
- ArcGIS_Server_Linux_109_177864.tar.gz
- ArcGIS_GeoEvent_Server_Linux_109_177900.tar.gz
- Obtain an ArcGIS GeoEvent Server 10.9 authorization file (.epc or .prvc) and place it in a local folder on the EC2 instance or a file share that you can access from the EC2 instance.
- Download the ArcGIS Cookbook version 3.7.0 (arcgis-3.7.0-cookbooks.tar.gz) to the EC2 instance, untar and unzip the file, and place the files contents in the /var/chef directory.
- Delete the nodes directory under /var/chef/, and delete the local-mode-cache directory under /etc/chef/.
- Create a copy of your original /etc/chef/node.json file and rename it to upgrade-geoevent-server.json.
- Open upgrade-geoevent-server.json in a text editor and modify the following parameters:
- Set the ArcGIS version to 10.9.
"arcgis" : { "version": "10.9",
- Specify the location where you placed the ArcGIS GeoEvent Server authorization file.
"arcgis" : { "server": { "authorization_file" : "/<folder>/subfolder"
- Add the archive repository node and set it to the folder where you placed the software installation files on the EC2 instance.
"arcgis" : { "repository": { "archives": "/opt/software/archives"
- Remove the following recipes from the run list:
"recipe[arcgis-enterprise::system]", "recipe[arcgis-enterprise::post_install]"
- Change "recipe[arcgis-enterprise::server_node]", recipe to "recipe[arcgis-enterprise::server]".
The run list should now contain the following recipes:
"run_list" : [ "recipe[arcgis-enterprise::server]", "recipe[arcgis-geoevent]" ]
- Set the ArcGIS version to 10.9.
- Save and close the upgrade-geoevent-server.json file.
- As the ubuntu user, run the following command: chef-client -z -j /etc/chef/upgrade-geoevent-server.json.