One running EC2 instance
- Make some changes in the operating system of your instance (create files, modify files, ...)
- Create an AMI image from running EC2 instance
- Launch a new instance using the custom AMI you've created
- Connect to your EC2 instance (ssh, console, ...)
- Make some changes in the operating system
- Go to EC2 service
- Right click on the instance where you made some changes -> Image and templates -> Create image
- Give the image a name and click on "Create image"
- Launch new instance and choose the image you've just created