Generating AMI (Image) from Base Instance
Now that our base instance is configured, we can generate an AMI (Amazon Machine Image) from the instance. The AMI will allow us to create our other two EC2 instances as exact copies of the one we've already configured.
Create the image
To generate the AMI, select your instance and then actions โ Image and templates โ Create Image
We can repeat the same name when configuring the image:
Press Create image
This step will take some time but you can follow progress on the AMIs page.
Wait until the image is in available status
Delete base instance
Once the image is ready we can delete the instance used to generate the image. To do this, go back to the instances page, select the instance, and then press Terminate instance
.