CASA on Amazon Web Services: Amazon Machine Images

Overview

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). By separating the AMI into 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 CentOS 7 image which include specific release versions of CASA and Python and AWS CLI APIs. 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:

NRAO AMIs

Name ID Date
NRAO-CASA-4.5.3 ami-d4b115b4 21Oct2016
NRAO-CASA-4.6.0 ami-f4b31794 21Oct2016
NRAO-CASA-4.7.0 ami-c2bc18a2 21Oct2016



You can also search for NRAO AMIs using the console.
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html#finding-an-ami-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, as shown in this screenshot, 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 (as in this screenshot) 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 (as in this screenshot) has been narrowed to NRAO AMIs.
  • New NRAO AMIs will be released periodically.

Using an AMI

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

Geographic Locales

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html

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 users may select the region they run in. And users may also duplicate some resouces across regions if access latency is the concern. Latency. To find the latency from your computer to all the AWS regions, try the cloudping tool: http://www.cloudping.info.

AMIs are Region-specific

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html#ami-copy-steps

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 pick "Modify Image Permissions". As in this image select "Public" and click Save.

Staff  |   Policies  |   Diversity