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.
- Open the AWS Management Console and display the EC2 page corresponding to your Amazon region.
- On the left menu, click Volumes.
- Click the Create Volume button.
- 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.
- Choose a value for Availability Zone. You need to match the zone of the EC2 instance to which you will attach the volume.
- Optionally, choose a snapshot. Snapshots are a way of preformatting a disk with certain datasets. To create a new empty disk, choose No Snapshot.
- 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.
- Right-click the volume and click Attach Volume.
- 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.
- 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.
- Log in to your EC2 instance using Windows Remote Desktop.
- 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.
- 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.
- Right-click the disk and click Online.
- Right-click the disk again and click Initialize Disk.
- 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.
- Right-click the box containing the label Unallocated (which represents your disk's unallocated space) and click New Simple Volume.
- 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.
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.