Creating an AMI

An Amazon Machine Image (AMI) is a master image used for creating virtual servers on the Amazon cloud. An AMI contains instructions to launch an EC2 instance, and includes information pertaining to an operating system, a machine architecture of 32 bit or 64 bit, the software stack of your applications, launch permissions, disk sizes, and so on. Typically, you will start with a basic AMI provided by Amazon, the user community, or the marketplace, and then customize it as per your requirements. You can also create an AMI from a pre-existing EC2 instance.

An AMI is a prerequisite for creating and using an auto scaling group. The way it works is that whenever a scale out is required, auto scaling uses the AMI to create an EC2 ...

Get Learning AWS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.