Table of contents
An AMI is used to create virtual servers ( EC2 instances) in the AWS environment.
The basic unit of deployment that will define the services provided by the EC2.
it is nothing but the executable image of an already running instance that will include all the software and applications.
For e.g, I want 40 instances of the same type so AMI will solve the problem.
We can use it for cloning purposes and autoscaling.
With the help of templates, a lot of time is saved.
What is Template ?
If we launch using the wizard, every time we need to select Instance Type, Network Settings, Storage etc.
By using a template we predefine all the properties that we don’t need to select every time.
Let’s look at the example.
Let’s clear some doubts
Snapshot | AMI | Template |
only captures the data from EBS. | Includes O.S & applications and their settings. | Includes O.S & applications and all parameters like networking, ec2 type, security groups etc. |
executable image/bootable copy | Good for launching 100’s instances using launch CloudFromation. | |
Good for launching a few instances using the launch |
wizard. | |
Thanks for reading !