Amazon Elastic Compute Cloud
User Guide (API Version 2012-04-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

Bundling Amazon EC2 instance store-backed Linux/UNIX AMIs

For Linux/UNIX systems, you have two common ways to prepare Amazon EC2 instance store-backed AMIs. The easiest method (A) involves launching an existing public AMI and modifying it according to your requirements. For more information, see From an Existing AMI.

Another approach (B) is to build a fresh installation either on a stand-alone machine or on an empty file system mounted by loopback. The process entails building an operating system installation from scratch. After you've built the installation package to your satisfaction, you must bundle it using the AMI tool for bundling volumes and register it using the command line tool for registering images. For information, see From a Loopback.

The following diagram shows the general tasks in creating Amazon EC2 instance store-backed Linux/UNIX AMIs.

Overall process to create Amazon EC2 instance store-backed Linux/UNIX AMI with two paths

This section discusses the steps for creating AMIs from an existing file and from a loopback, and some basics about the AMI tools.