Any EC2 instance you create using the ArcGIS Enterprise Amazon Machine Images (AMIs) has a root volume and data volume attached. The root volume on Windows is the C: drive. The data volume is the D: drive on Windows and /gisdata on Ubuntu Linux.
Set EBS volume size on creation
If you use ArcGIS Server Cloud Builder on Amazon Web Services (AWS) to deploy an ArcGIS Server site, the root volume is set to 100 GB and the data volume is set to 100 GB. These values cannot be configured.
If you use the sample AWS CloudFormation templates provided by Esri or the AWS Management Console to deploy a site, you can set the size of the root and data volumes for your instances when you create them.
Modify or move the data EBS volume
If you want to alter your data volume after the instance has started, for example, to increase the data volume size or move the volume to another instance to transfer data, you can use an AWS EC2 snapshot.
Follow these steps to create a snapshot to increase volume size or move a volume:
- Connect to your instances and stop ArcGIS Server, Portal for ArcGIS, and ArcGIS Data Store if they are running.
- If your deployment includes a PostgreSQL or SQL Server instance, stop the database instance.
- On Windows, stop the SQL Server service.
- On Ubuntu, stop PostgreSQL by running the following command as the postgres user at a shell prompt:
sudo -u postgres -i pg_ctl stop
- Stop other services that have data folders on the data drive.
- In the AWS Management Console EC2 service, locate the data volume you want to modify or move, and create a snapshot of this volume using AWS tools.
- Locate the newly created snapshot and create a new volume from it. You can define the size of the new volume when you create it.
- If you created the snapshot to increase its size or if you want to move the data to another instance and replace the existing data volume on that instance, you must remove the existing data drive from the target instance. Repeat steps 1 through 3 on the second instance before removing the existing data drive. Note the mapping of the volume before you remove it.
- Attach the newly created volume to the target instance. If replacing the data volume, be sure the disk mapping matches that of the data volume you removed.
The data volume on instances created from Esri AMIs is set to xvdg on Windows and /dev/sdx on Ubuntu.
- Start services that have data folders on the data drive.
- Start the database instances.
- Start ArcGIS software services.
- If you no longer need the detached data volume or the snapshot you created, delete them using tools in the AWS Management Console.