Menu
Amazon Elastic Compute Cloud
User Guide for Windows Instances

Finding Shared AMIs

You can use the Amazon EC2 console or the command line to find shared AMIs.

Finding a Shared AMI (Console)

To find a shared private AMI using the console

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose AMIs.

  3. In the first filter, choose Private images. All AMIs that have been shared with you are listed. To granulate your search, choose the Search bar and use the filter options provided in the menu.

To find a shared public AMI using the console

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose AMIs.

  3. In the first filter, choose Public images. To granulate your search, choose the Search bar and use the filter options provided in the menu.

  4. Use filters to list only the types of AMIs that interest you. For example, choose Owner : and then choose Amazon images to display only Amazon's public images.

Finding a Shared AMI (Command Line)

To find a shared public AMI using the command line tools

Use the describe-images command (AWS CLI) to list AMIs. You can scope the list to the types of AMIs that interest you, as shown in the following examples.

The following command lists all public AMIs using the --executable-users option. This list includes any public AMIs that you own.

Copy
C:\> aws ec2 describe-images --executable-users all

The following command lists the AMIs for which you have explicit launch permissions. This list excludes any such AMIs that you own.

Copy
C:\> aws ec2 describe-images --executable-users self

The following command lists the AMIs owned by Amazon. Amazon's public AMIs have an aliased owner, which appears as amazon in the account field. This enables you to find AMIs from Amazon easily. Other users can't alias their AMIs.

Copy
C:\> aws ec2 describe-images --owners amazon

The following command lists the AMIs owned by the specified AWS account.

Copy
C:\> aws ec2 describe-images --owners 123456789012

To reduce the number of displayed AMIs, use a filter to list only the types of AMIs that interest you. For example, use the following filter to display only EBS-backed AMIs.

Copy
--filters "Name=root-device-type,Values=ebs"

Alternatively, you can use the following AWS Tools for Windows PowerShell command: Get-EC2Image.