Skip to main content

Command Palette

Search for a command to run...

Images in EC2 (Day 8)

Published
1 min read
Images in EC2 (Day 8)
M

As a DevOps learner, I'm committed to sharing my ongoing education through blogs. Don't hesitate to reach out if you have any questions or uncertainties. We all start somewhere, and I'm here to assist you during your early days of learning! Feel free to contact me directly for assistance.

AMI - Amazon Machine Images

  • Copy of the OS is called image

  • Image = AMI

  • Template of the OS is called image

  • Amazon machine images contains OS or OS + apps

Snapshot: snapshot is copy of the volume

AMI--> Copy of the entire EC2 Instance including Volumes.

** 1 AMI can be used multiple times to launch multiple ec2 instances AMI's are reusable AMI does not have any availability zone.

** we cannot directly use AMI to login instead launch EC2 instance from the image and login to the EC2 instances.

  • By default ami are private if required we can make it public ami are regional.

  • AMI can be copied from one region to another region in same account.

  • AMI can be shared from one account to another AWS account using AWS ID

  • Images Contain: Root Volume (EBS) and Instance store volume (ISV)

  • AMI's are stored in S3

If we want to take images automatically use EC2 image builder which generate Golden AMI.

when ever we are creating image, snapshots will also get created on how many volume we have in the EC2 instance.

No need to stop EC2 instance to create image but recommended is to stop.