Amazon Elastic Compute Cloud
User Guide (API Version 2012-04-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

Describing Snapshots

This section describes how to view snapshots that you created.

AWS Management Console

To describe snapshots

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

  2. Click Snapshots in the Navigation pane.

    The console displays a list of all snapshots to which you have access and their status.

  3. To reduce the list, select an option from the Viewing list box. For example, to view only your snapshots, select Owned by Me.

    The console displays a new list of snapshots.

  4. To view more information about a snapshot, select it.

    Information about the snapshot appears in the lower pane.

Command Line Tools

To describe snapshots

  • Enter the following command.

    PROMPT>  ec2-describe-snapshots snap-78a54011

    Amazon EC2 returns information about the snapshot.

    SNAPSHOT snap-78a54011 vol-4d826724 pending 2008-02-15T09:03:58+0000   60% 

If the snapshot is in the process of being created, the status is pending and a percentage complete is displayed (e.g., 60%). Once the snapshot is complete, its status changes to completed.

[Tip]Tip

If you have a large number of snapshots, you can filter the results to return information only about snapshots that match the criteria you specify. For more information about how to filter the results, go to ec2-describe-snapshots in the Amazon Elastic Compute Cloud Command Line Reference.

API

To describe snapshots

  • Construct the following Query request.

    https://ec2.amazonaws.com/
    ?Action=DescribeSnapshots
    &SnapshotId=snapshot-id
    &...auth parameters...
    

    Following is an example response.

    <DescribeSnapshotsResponse xmlns="http://ec2.amazonaws.com/doc/2012-04-01/">
      <requestId>26245bae-2c70-4846-82d3-65784e298820</requestId>
      <snapshotSet>
          <item>
             <snapshotId>snap-05b4aa6c</snapshotId>
             <volumeId>vol-d11fbbb8</volumeId>
             <status>completed</status>
             <startTime>2010-03-23T09:43:52.000Z</startTime>
             <progress>100%</progress>
             <ownerId>999988887777</ownerId>
             <volumeSize>20</volumeSize>
             <description/>
          </item>
      </snapshotSet>
    </DescribeSnapshotsResponse>
[Tip]Tip

If you have a large number of snapshots, you can filter the list to return only certain types of interest to you. For more information about how to filter the results, go to DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.