What is the difference between an Instance, AMI and Snaphots in AWS?

+1 vote
AMI, Snapshot and Instances all are related to Amazon EC2, it is confusing, can any one explain me, what is the difference between an Instance, AMI and Snaphots in AWS? also What are they used for?
May 24 in AWS by code_ninja
• 6,220 points

retagged May 31 by code_ninja 118 views

1 answer to this question.

+1 vote
  • AMI is the Amazon Machine Image which provides you the required information to launch the instance like what type of OS you need, what software you want to install in it and etc.
  • Basically, your AMI can be the one which AWS gives you like Linux, windows, Redhat, etc or it can be your custom AMI which saves your time and money as it creates a blueprint of the software you installed and configuration which you have in your instance, so that whenever there is a need you need just relaunch it, instead of recreating it.
  • It has also an option of transferring an AMI from one region to another region
  • Whereas your instance is like your building which you build on top of the blueprint that is your AMI. It is used to compute the data in your application or to host the application.
  • The major advantage of this is that you pay only for what you use and it can scale according to your need.
  • Snapshot is a just a snap of your volume which is attached with your instance or database. So that wherever you need to your data back, you can then create a volume from the snapshot.

To know how to retrive an EC2 instance from a Snapshot have a look at this - https://www.edureka.co/blog/restore-ec2-from-snapshot/

answered May 24 by ArchanaNagur
• 2,270 points

Related Questions In AWS

0 votes
1 answer
+5 votes
13 answers

AWS VPC - What is the difference between Internet Gateway & NAT

Internet Gateway An Internet Gateway is a logical connection ...READ MORE

answered Apr 24, 2018 in AWS by Flying geek
• 3,160 points
10,683 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

What is difference between Lightsail and EC2?

EC2 is one of the service by AWS ...READ MORE

answered Aug 7, 2018 in AWS by ArchanaNagur
• 2,270 points
382 views
+1 vote
1 answer