Day 13 : Create AMI from EC2 Instance
100 Days of Cloud (AWS)

I'm Zin Lin Htet. Who love to learn and share about Linux, Cloud, Docker and K8s. Currently working as a DevOps Engineer at one of the famous Fintech Company in Myanmar.
Welcome to Day 13. In this lab, you will learn how to create an AMI from an EC2 instance. The EC2 instance datacenter-ec2 is already set up. You just need to create an AMI from this EC2 instance. You need to name the AMI as datacenter-ec2-ami.
What is AMI and how it work?
An AWS AMI (Amazon Machine Image) is a preconfigured template used to launch EC2 instances. Think of it as a "golden image" that contains everything needed for a virtual server to start running.
Types of AMI
| Type | Description |
| AWS managed AMI | Provided by AWS (Amazon Linux, Windows Server). |
| Custom AMI | Created by you from a running EC2 instance. |
| Marketplace AMI | Provided by vendors (e.g., Bitnami NGINX, RedHat, Cisco). |
| Community AMI | Shared by AWS community users. |
Why do we use AMIs?
1. Launch servers quickly
No need to install OS and apps each time.
2. Create identical environments
Perfect for production, scaling, auto-scaling groups (ASG).
3. Backup and recovery
You can create a “snapshot-based” backup of your system.
4. Scaling auto-scaling groups
ASG uses AMIs to create identical instances during scaling.













Congratulations you did it. It looks good. This lab was successfully completed without any errors. See you in day 14. If you have any issues please let me know I will be happy to assist you. Stay tuned and learn together. If you find my article useful, please kindly like and share it.




