Creating an Amazon Machine Image (AMI)

Amazon Machine Image (AMI) is the machine image used by EC2. An AMI is a template that contains configuration for operating systems and software packages. We can start EC2 instances from preexisting or personalized AMIs. AWS offers a large number of public AMIs that can be used for free.

Generally, there are two types of AMIs one is EBS-backed AMI (Elastic Block Storage-backed AMI) and the other is instance store-backed AMI. In this recipe, we will first outline steps to create an instance store-backed AMI and briefly introduce how to create an EBS-backed AMI.

Getting ready

Before getting started, we assume that you have successfully registered with AWS. And, we also assume that a client machine has been configured ...

Get Hadoop Operations and Cluster Management Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.