A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html below:

Identify the source AMI used to create a new Amazon EC2 AMI

Identify the source AMI used to create a new Amazon EC2 AMI

You can identify the source AMI used to create a new AMI by checking the Source AMI ID (console) or sourceImageId (AWS CLI) field on the new AMI. This field contains the ID of the original AMI that was copied to create the new AMI.

You can also find the Region where the source AMI was located by checking the Source AMI Region (console) or sourceImageRegion (AWS CLI) field.

Considerations
Console
To identify the source AMI used to create an AMI
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose AMIs.

  3. Select the AMI to view its details.

    The source AMI information appears in the following fields: Source AMI ID and Source AMI Region

AWS CLI
To identify the source AMI used to create an AMI

Use the describe-images command and specify the ID and Region of the AMI.

aws ec2 describe-images \
    --region us-east-1 \
    --image-ids ami-0abcdef1234567890 \
    --query "Images[].{ID:SourceImageId,Region:SourceImageRegion}"

The following is example output.

[
    {
        "ID": "ami-0abcdef1234567890",
        "Region": "us-west-2"
    }
}
PowerShell
To identify the source AMI used to create an AMI

Use the Get-EC2Image cmdlet.

Get-EC2Image -ImageId ami-0abcdef1234567890 | Select SourceImageId, SourceImageRegion

The following is example output.

SourceImageId           SourceImageRegion
-------------           -----------------
ami-0abcdef1234567890 us-west-2

Create a store image task

Check when an AMI was last used

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4