Skip To Content

Add disk space to your Windows site

Any EC2 instance you create using the ArcGIS Server Amazon Machine Images (AMIs) has an EBS volume attached. The size of this volume is set at 100 GB by default when you build your site with ArcGIS Server Cloud Builder on Amazon Web Services. If you build your site with the AWS Management Console, the size is 10 GB. If you need more space, you can create additional volumes and attach them to your EC2 instance.

The steps below explain how to create a new EBS volume and attach it to your EC2 instance.

  1. Open the AWS Management Console and display the EC2 page corresponding to your Amazon region.
  2. On the left menu, click Volumes.
  3. Click the Create Volume button.
  4. Type a value for Size. Remember that you will be charged by Amazon for the size you choose, and you cannot change this size once you've created the volume.
  5. Choose a value for Availability Zone. You need to match the zone of the EC2 instance to which you will attach the volume.

    If you don't know the zone of the instance to which you want to attach the volume, return to the AWS Management Console, click Instances, click your instance, then examine the Description tab to find the zone.

  6. Optionally, choose a snapshot. Snapshots are a way of preformatting a disk with certain datasets. To create a new empty disk, choose No Snapshot.
  7. Click Yes, Create to create the volume. This can take a while. When the volume is ready, you'll see its status change from creating to available in AWS Management Console.
  8. You've successfully created your EBS volume, but it's not attached to your EC2 instance yet. The remaining steps explain how to format the disk and attach it to your instance.

  9. Right-click the volume and click Attach Volume.
  10. Choose your instance from the drop-down list. Remember that you can only attach your volume to instances that reside in the same availability zone.
  11. Type the four-letter code for an available Windows device, such as xvdf, and click Attach.

    It may take a few minutes to attach your volume. You can see the status in the Attachment Information column in the AWS Management Console list of volumes. After a while, attaching changes to attached.

  12. Log in to your EC2 instance using Windows Remote Desktop.
  13. Click Start and type diskmgmt.msc in the search box. Then press Enter.

    At this point, a message may appear about choosing a partition style. If this happens, you can go to Step 16 and continue from there.

  14. In the bottom section of the Disk Management console, scroll through the list of disks until you find an unallocated disk matching the size of the volume you just attached.
  15. Right-click the disk and click Online.
  16. Right-click the disk again and click Initialize Disk.
  17. Ensure your new disk is checked and choose a partition style (if you are unsure which partition style to use, choose MBR). Then click OK.

    Now you can choose to partition all or part of your disk and assign the partition(s) a drive letter.

  18. Right-click the box containing the label Unallocated (which represents your disk's unallocated space) and click New Simple Volume.
  19. Follow the prompts in the New Simple Volume wizard to select the amount of space you want to assign to a drive and the drive letter you want to use. If you want the whole disk to be available as one standard drive, you can leave most of the defaults in this wizard. You may want to change Volume label to give the drive a name.