Problem:
Create and publish the AMI of a custom EC2 instance.
Solution Summary:
Create and publish the AMI of a custom EC2 instance from the console.
Solution Steps:
-
Login to AWS console and go to EC2.
-
Create a snapshot of the default root volume.
-
Go to Actions > Create Image
-
Give a name and description. E.g. DemoWebServerAMI and Demo WebServer AMI
-
Leave other details as is, but look into each of the options: Architecture, Virtualization Type, Root Device Name, Kernel ID, RAM Disk ID. You can also change the size and type of the root volume.
-
Click on Create
-
Go to AMIs (Under Images Sidebar) and wait for image to appear. It might take some time to create the Image.
-
-
Make the image public
-
Select the image and click on Modify Image Permissions (under Actions menu)
-
Click on public and save.
-
Guidelines are available at:
-
Exam Tips
-
Private images can be shared with another AWS account alone. Select the image and click on Modify Image Permissions (under Actions menu)
- AMIs are regional.
Recent comments