Amazon Machine Images


An AMI is an object that encapsulates a base OS image (e.g., Redhat, Centos, Debian), any 3rd party software packages (e.g., CASA, SciPy) and any OS level run time modifications (e.g., accounts, data, working directories). Since an AMI is a discrete object, it can be mapped onto differing hardware instances to provide a consistent work environment independent of the instance's number of processors, available memory, or total storage space.

The NRAO provides a set of pre-made images based on the standard Amazon image, which include specific release versions of CASA and Python and AWS's command line interface (CLI) and application programming interface (API). The appropriate AMI can be used to start an image with operating system and software ready to run CASA.

Finding an NRAO AMI

As new NRAO AMIs are published, they will appear here:

Name ID Date
CASA-4.5.3 ami-2409c344 21Oct2016
CASA-4.6.0  ami-5808c238  21Oct2016
CASA-4.7.2 ami-4539ae25 03Apr2017

You can also search for NRAO AMIs using the console.

  • Open the AWS Console and click on "EC2 Dashboard".
  • Click on "AMIs" to bring up the interface for selecting AMIs.
  • The AMI selection interface by default displays only AMIs "Owned by me". Change it to "Public Images".
  • Narrow this long list to only NRAO images.
    • Click in the box to the right of the magnifying glass.
    • A menu listing "Resource Attributes" will pop up below the box you clicked on. Ignore it and type "NRAO" in the box and press the Enter key.
  • The list of AMIs has been narrowed to NRAO AMIs only.
  • New NRAO AMIs will be released periodically.

Using an AMI

Click the box next to the AMI you want. Click Launch. The Instances section of this document covers starting instances.

Geographic Locales

AWS has the concept of Regions and Zones in which Instances, EBS volumes, S3 buckets, and other resources are run. So an S3 bucket may be in region us-west-2 and not directly accessible if another IAM User is currently using us-east-1. However, a user may select the region they run in. And users may also duplicate some resouces across regions if access latency is the concern. To find the latency from your computer to all the AWS regions, try the cloudping tool:

AMIs are Region-specific

An AWS AMI User can only use AMIs stored in its region. However, copying an AMI to another region is straightforward. The copy gets a new AMI-ID, so it effectively becomes a new AMI; the original AMI-ID is appended to the new AMI's "Description". The new AMI always starts out private and may need to be made public. (It takes about 15 minutes after making an AMI public for it to show up in a search.) In every other way, it is a duplicate of the original.

To make the image public, select the AMI and from the "Actions" menu and pick "Modify Image Permissions". As in this image select "Public" and click Save.