Create an image snapshot from an EC2 instance.
Section: AMIs and Key Pairs
Create an AMI from an instance
bash
bash
aws ec2 create-image --instance-id i-0123456789abcdef0 --name web-ami-2026-03-05Explanation
Useful for golden-image or backup workflows.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing AMIs and Key Pairs