You can upgrade a single-machine ArcGIS Enterprise deployment 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:
- Obtain the required ArcGIS licenses for the current software version. You can download these from My Esri.
- Accept the AWS Marketplace terms for the new version of the ArcGIS Enterprise Amazon Machine Images (AMIs) before you upgrade.
- Create a backup of the deployment so you can restore if there are any problems with the upgrade procedure.
You can use the webgisdr utility provided with Portal for ArcGIS to create a backup of most components in an ArcGIS Enterprise deployment. Spatiotemporal big data stores are not included in this backup, however. If your deployment includes a spatiotemporal big data store, create a separate backup of it using the ArcGIS Data Store backupdatastore utility.
Upgrade using manual upgrade procedures
The manual upgrade procedure for updating software on your single-machine ArcGIS Enterprise deployment on Amazon Web Services is similar to updating software on-premises; download software updates from My Esri onto your Amazon Elastic Compute Cloud (EC2) instance, and apply the updates directly to your existing deployment. All ArcGIS Enterprise components must be running the same software version. The main difference in updating on AWS is how you create a backup of your existing deployment.
- Sign in to AWS Management Console and create an Amazon Machine Image (AMI) from your existing instance.
This is your backup that you can use to redeploy if any issues arise during upgrading. If you have to redeploy, you must deploy using the same portal URL.
- Obtain new Portal for ArcGIS and ArcGIS GIS Server licenses from Esri.
- Download new versions of Portal for ArcGIS, ArcGIS Web Adaptor, ArcGIS Server, and ArcGIS Data Store from My Esri.
- Make a remote desktop connection (Microsoft Windows) or SSH (Linux) connection to the machine on AWS. Connect as the arcgis user. Place all the software downloads on this machine.
If this is the first time you are upgrading a deployment on a Windows AWS instance, change the arcgis user's password.
If you deployed the ArcGIS Enterprise on this machine using the AWS Management Console, be sure this machine is allowed to create Amazon Simple Storage Service (S3) buckets in your AWS account, as the Portal for ArcGIS upgrade procedure creates an S3 bucket for temporary storage of the content directory. If you deployed using a CloudFormation template provided by Esri, the template already configured this.
- Follow the steps in Upgrade Portal for ArcGIS to update your portal and its web adaptor, and update your Portal for ArcGIS license.
- Follow the single-machine site steps in Upgrade ArcGIS Server to update ArcGIS Server and its web adaptor, and update your ArcGIS Server site with an ArcGIS GIS Server license.
- If your deployment is on a Windows instance on AWS, follow the steps in Upgrade ArcGIS Data Store to update the data store.
- If you are upgrading a 10.5 or newer deployment on Linux on AWS, follow the steps in Upgrade ArcGIS Data Store to update the data store.
- If you are upgrading a 10.3.1, 10.4, or 10.4.1 deployment on Linux on AWS, you must make a copy of the hostidentifier.properties file before you begin upgrading. Follow these steps to copy the file and upgrade ArcGIS Data Store:
- Change directories to <ArcGIS Data Store installation directory>/arcgis/datastore/framework/etc.
- Make a copy of the hostidentfier.properties file and place the copy in a safe location.
- Install the new version of ArcGIS Data Store, but do not run the Data Store Configuration wizard.
- Run the stopdatastore.sh command to stop ArcGIS Data Store.
The command is located in <ArcGIS Data Store installation directory>/arcgis/datastore.
- Replace the hostidentfier.properties file in <ArcGIS Data Store installation directory>/arcgis/datastore/framework/etc with the copy of the file you made in step b.
- Run the startdatastore.sh command to start ArcGIS Data Store.
The command is located in <ArcGIS Data Store installation directory>/arcgis/datastore.
- Open the Data Store Configuration wizard or run the configuredatastore command utility to upgrade the data store.
- When you finish upgrading and testing your updated deployment, you can delete your backup AMI.
Note:
You must upgrade ArcGIS Server before upgrading ArcGIS Data Store.
Upgrade using Chef scripts
Upgrade steps are different for deployments on Microsoft Windows and Ubuntu. Follow the instructions applicable to the operating system of your deployment.
Upgrade a single-machine ArcGIS Enterprise deployment on Windows
Follow these steps to use Chef to upgrade ArcGIS Enterprise on a single Amazon Elastic Compute Cloud (EC2) instance.
- Make a remote desktop connection to the EC2 instance.
- Download and install Chef or Cinc client 15. If you have an older version of Chef installed, update it to version 15.
- Download the 10.9 installation files from your account in My Esri and upload the files to a folder on the EC2 instance:
- ArcGIS_Web_Adaptor_for_Microsoft_IIS_109_177789.exe
- Portal_for_ArcGIS_Windows_109_177787.exe
- ArcGIS_Server_Windows_109_177775.exe
- ArcGIS_DataStore_Windows_109_177788.exe
- Portal_for_ArcGIS_Web_Styles_Windows_109_177786.exe
- Obtain the Portal for ArcGIS 10.9 authorization file (.json) and ArcGIS Server authorization licensed for ArcGIS GIS Server (.epc or .prvc) and place them on 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.
- Delete the following folders:
- C:\chef\nodes
- C:\Users\Administrator\.chef\local-mode-cache
- Create a copy of the C:\chef\node.json file and rename it to upgrade_base_enterprise_allinone_windows.json.
- Open the upgrade_base_enterprise_allinone_windows.json file in a text editor and modify the following parameters:
- Set the ArcGIS version to 10.9.
"arcgis" : { "version": "10.9",
- Set the ArcGIS archive repository to the folder where you placed the software files on the EC2 instance.
"arcgis" : { "repository": { "archives": "<drive>\\<folder>"
- Set the server authorization to the location of your ArcGIS Server 10.9 authorization file.
"server" : { "authorization_file" : "<drive>:\\<folder path>\\My_New_Server.prvc"
- Set the portal authorization to the location of your Portal for ArcGIS 10.9 authorization file.
"portal" : { "authorization_file" : "<drive>:\\<folder path>\\my_new_portal.json",
- Modify the run list to use the following recipes:
"recipe[arcgis-enterprise::install_portal]", "recipe[arcgis-enterprise::webstyles]", "recipe[arcgis-enterprise::portal]", "recipe[arcgis-enterprise::portal_wa]", "recipe[arcgis-enterprise::server]", "recipe[arcgis-enterprise::server_wa]", "recipe[arcgis-enterprise::datastore]"
- Set the ArcGIS version to 10.9.
- Save and close the upgrade_base_enterprise_allinone_windows.json file.
- Open a command line window as an administrator, change directory to C:\chef, and run the following command: chef-client -z -j c:\chef\upgrade_base_enterprise_allinone_windows.json
The script runs to upgrade your deployment. This can take up to several hours, depending on the size of your deployment.
If the deployment upgrade fails, contact Esri support (in the United States) or your distributor (outside the United States) to help you troubleshoot.
Upgrade a single-machine ArcGIS Enterprise deployment on Ubuntu
Follow these steps to use Chef to upgrade ArcGIS Enterprise on a single EC2 instance.
- SSH to the EC2 instance as the ubuntu user.
- 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 10.9 installation files from your account in My Esri and upload the files to a folder on the EC2 instance:
- ArcGIS_Web_Adaptor_Java_Linux_109_177888.tar.gz
- Portal_for_ArcGIS_Linux_109_177885.tar.gz
- ArcGIS_Server_Linux_109_177864.tar.gz
- ArcGIS_DataStore_Linux_109_177887.tar.gz
- Portal_for_ArcGIS_Web_Styles_Linux_109_177886.tar.gz
- Obtain the Portal for ArcGIS 10.9 authorization file (.json) and ArcGIS Server authorization licensed for ArcGIS GIS Server (.epc or .prvc) and place them on 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 /var/chef/nodes directory.
- Create a copy of the /etc/chef/node.json file and rename it to upgrade_base_enterprise_allinone_ubuntu.json.
- Open the upgrade_base_enterprise_allinone_ubuntu.json file in a text editor and modify the following parameters:
- Set the ArcGIS version to 10.9.
"arcgis" : { "version": "10.9",
- Set the ArcGIS archive repository to the folder where you placed the software files on the EC2 instance.
"arcgis" : { "repository": { "archives": "/<path and folder>"
- Set the server authorization to the location of your ArcGIS Server 10.9 authorization file.
"server" : { "authorization_file" : "/<path>/my_new_server.prvc"
- Set the portal authorization to the location of your Portal for ArcGIS 10.9 authorization file.
"portal" : { "authorization_file" : "/<path>/my_new_portal.json",
- Modify the run list to use the following recipes:
"recipe[arcgis-enterprise::install_portal]", "recipe[arcgis-enterprise::webstyles]", "recipe[arcgis-enterprise::portal]", "recipe[arcgis-enterprise::portal_wa]", "recipe[arcgis-enterprise::server]", "recipe[arcgis-enterprise::server_wa]", "recipe[arcgis-enterprise::datastore]"
- Set the ArcGIS version to 10.9.
- Save and close the upgrade_base_enterprise_allinone_ubuntu.json file.
- As the ubuntu user, change directory to /var/chef, and run the following command: sudo chef-client -z -j /etc/chef/upgrade_base_enterprise_allinone_ubuntu.json
The script runs to upgrade your deployment. This can take up to several hours, depending on the size of your deployment.
If the deployment upgrade fails, contact Esri support (in the United States) or your distributor (outside the United States) to help you troubleshoot.