Ebs AWS-(Virtual Hard Drive)
Ebs AWS-(Virtual Hard Drive)
EBS
- Amazon Elastic Block Store (EBS) is a persistent, high-performance block storage service designed for use with Amazon EC2 instances.
- It functions like a virtual hard drive, providing durable, scalable storage that persists independently of the EC2 instance lifecycle—meaning data remains even if the instance is stopped or terminated.
Aws Configure
1
2
# Aws keys setup!
aws configure
List Snapshots
Using AWS-CLI
1
aws ec2 describe-snapshots --restorable-by-user-ids all --owner-ids <Account ID>
1
aws ec2 describe-snapshots --query "Snapshots[*].[OwnerId,SnapshotId,VolumeSize,Description]" --output text | grep "Account ID"
Using Dsnap
1
dsnap list
Download snapshots
1
2
3
4
dsnap get <Snapshot ID>
# Example
dsnap get snap-0xxb8xx5e3a7bxxxx
This post is licensed under CC BY 4.0 by the author.
