An Amazon Machine Image (AMI) defines the programs and settings that will be applied when you launch an EC2 instance. Once you have finished configuring the data, services, and applications on your ArcGIS Server instance, you can save your work as a custom AMI stored in Amazon EC2. You can scale out your site by using this custom AMI to launch additional instances.
Once you have launched new instances using the custom AMI, place them beneath an Amazon Load Balancer, thereby creating a siloed architecture. However, this architecture does not provide any way for the GIS servers to communicate with each other. If you want the full benefits of the newer ArcGIS Server architecture, build your site using ArcGIS Server Cloud Builder on Amazon Web Services.
Creating a custom AMI copies any Elastic Block Store (EBS) volumes that you may have attached. Be aware that this affects your costs when the custom AMI is deployed. For example, you may have a 100 GB attached EBS volume on your current EC2 instance. If you create a custom AMI from your instance and deploy it five times, you will be charged for five new EC2 instances and five 100 GB EBS volumes.
Use the following procedure to create your own AMI using the AWS Management Console:
- Configure an EC2 instance and its attached EBS volumes in the exact way you want them created in the custom AMI.
- Log out of your instance, but do not stop or terminate it.
- Log in to the AWS Management Console, display the EC2 page for your region, then click Instances.
- Choose the instance from which you want to create a custom AMI.
- Click Actions and click Create Image.
- Type a name for Image Name that is easily identifiable to you and, optionally, input text for Image Description.
- Click Create Image.
- Read the message box that appears. To view the AMI status, go to the AMIs page. Here you can see your AMI being created. It can take a while to create the AMI. Plan for at least 20 minutes, or longer if you've installed a lot of additional applications or data.
You launch an instance from a custom AMI the same way you launch an instance from the ArcGIS Server AMI; however, in the first page of the Request Instances Wizard, click the My AMIs tab and choose your custom AMI. If there are many AMIs in the list, you should be able to discern your AMI using the Name field, which includes the image name you typed when you created the AMI.