Amazon AMI Vs Snapshot
2 min readApr 9, 2024
Amazon Machine Image (AMI):
- Think of an AMI as a ready-to-use computer setup in the cloud. It includes everything your computer needs to run, like the operating system and any software you want.
- When you want to start a new virtual computer on Amazon Web Services (AWS), you can use an AMI as a blueprint.
- AMIs can be publicly available, shared within an AWS account, or created from existing instances.
Snapshots:
- Snapshots are like taking a picture of your computer’s hard drive at a certain moment. It captures all the files and data stored on that drive.
- You take snapshots to create backups of your data stored on Amazon’s cloud storage. If something goes wrong, you can use these snapshots to recover your data.
- They capture the exact state of an EBS volume at the time the snapshot is taken.
Here are some key differences between AMIs and snapshots:
- Purpose: AMIs are used to create instances, while snapshots are used for backup and recovery of data stored in EBS volumes.
- Contents: AMIs contain the entire setup required to launch an instance, including the operating system and applications. Snapshots contain the data stored on an EBS volume.
- Usage: AMIs are used to launch instances, while snapshots are used to create new volumes or restore existing ones.
- Portability: AMIs can be shared between AWS accounts and regions, while snapshots are typically limited to the region in which they were created.