Create an AMI from an Amazon EC2 Instance
From the Amazon EC2 Instances view, you can create Amazon Machine Images (AMI) from either running or stopped instances.
To create an AMI from an instance
Right-click the instance that you would like to use as the basis for your AMI. Click Create Image (EBS AMI) on the context menu.
In the Create Image dialog box, provide a unique name and a description. Click OK.
It may take a few minutes for the AMI to be created. Once it is created, it will appear in the AMIs view in AWS Explorer. To display this view, double-click the Amazon EC2 | AMIs node in AWS Explorer. To see your AMIs, click Owned By Me in the Viewing drop-down. You may need to click Refresh to see your new AMI. When the AMI first appears, it may be in a pending state. After a few moments, it transitions into an available state.