How to check the state of the snapshot from the command line in AWS

0 votes

Hi Guys,

I have copied one snapshot in AWS. I want to check if the snapshot is copied properly or not. How can I do that?

Oct 20, 2020 in AWS by akhtar
• 38,260 points
1,369 views

1 answer to this question.

0 votes

Hi@akhtar,

You can check the state of the snapshot from the command line, as shown in the following example.

$ aws ec2 describe-snapshots --snapshot-id ID

If the copy failed because of insufficient key permissions, you see the following message: "StateMessage": "Given key ID is not accessible".

answered Oct 20, 2020 by MD
• 95,460 points

Related Questions In AWS

–1 vote
1 answer

How to find AWS instance Ids in yaml format from command line?

Hi@akhtar, By default AWS gives output in json ...READ MORE

answered Jun 2, 2020 in AWS by MD
• 95,460 points
812 views
0 votes
2 answers

How to display just the name of files using aws s3 ls command?

aws s3 ls s3://<your_bucket_name>/ | awk '{print ...READ MORE

answered Mar 17, 2019 in AWS by anonymous
22,390 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,079 views
+2 votes
1 answer
0 votes
1 answer

How to copy a snapshot in AWS from the command line?

Hi@akhtar, The following copy-snapshot example command copies the specified snapshot ...READ MORE

answered Oct 20, 2020 in AWS by MD
• 95,460 points
1,137 views
+1 vote
1 answer

How to find all instance Ids In AWS from command line?

Hi@akhtar, You can find one keyword --query in ...READ MORE

answered Jun 2, 2020 in AWS by MD
• 95,460 points
5,629 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP