What is Amazon Machine Image (AMI)
An Amazon Machine Image (AMI) provides the data needed to launch an instance. The instance is a virtual server in the AWS cloud. AMI is a packaged environment with all the necessary parts to set up and boot an EC2 instance correctly. You can define an Amazon Machine Images (AMI) when you launch an instance. Moreover, you can start as many instances as you want from the Amazon Machine Images (AMI). Amazon EC2 provides some tools to creating an AMI quickly including the AWS management console.
An AMI carries the following option:
* A template of the root volume to access the instance
* Launch permissions to control AWS accounts
* A block device mapping that describes the volumes to attach to the instance
How to open Amazon Machine Image (AMI)
To start just logged into AWS management console from your browser. You can see there all of the AWS services available for now. As AMI is part of the EC2 service, just start EC2 and chose AMIs after that. You can see a list of running AMIs there. They can also filter with other AMIs. You can see public images present in your account. There you can either check all the images or filter just by Amazon images or Marketplace. You can also filter AMIs by platforms.
If you go to “instances” for “Launch instance,” the very first step you have to choose is your Amazon Machine Images (AMI). AMIs allow you to start a new instance from an existing Amazon package directly. These include the operating system and other essential tools needed for standard applications.
Once you have an EC2 instance up and running, and configured as required, you create an AMI of that instance. Then, you can use this AMI to create the instance as many times as want from multiple Availability Zones. You can also do this automatically using the API. You can also use the auto-scaling service or the console.
How to Create Your Own Amazon Machine Image (AMI)
You can save the configuration as a custom Amazon Machine Images (AMI) that you launch from a public AMI for your use. After the start, an Instances use all the customization’s that you have made.
Instance’s root storage device represents the process you use to generate an AMI. An instance root volume is either instance store volume or an Amazon EBS volume. You can also deregister an AMI but after you deregister you cannot use it to launch new instances.
To categorize and manage all your AMIs quickly you can specify custom labels to them.