Data is the most important thing anywhere over the internet. Everyone wants to be more secure and save when it comes to their Data security. Data on your Amazon EBS volume can also be back up to Amazon S3 Bucket by taking the point-in-time Snapshot. Snapshots can be used to create a backup of critical workloads, such as a large database or a file system that spans across multiple EBS volumes.
EBS Snapshots are point-in-time image/copy of your EBS Volume. These are stored on S3 which can be accessed through EC2 APIs or AWS Console. While EBS volumes are availability zone (AZ’s) specific but, Snapshots are Region-specific. Your Snapshot size must be either same or larger than the size of the original volume from which the snapshot is taken. As per the Amazon, each AWS account can have a maximum of up to 5000 EBS Volumes and up to 10,000 EBS Snapshots created. Snapshot when created shows a ‘pending ‘status which then converts into ‘complete’ once the snapshot creation is successful.
Creating an EBS Snapshot is as easy as an apple- pie. So, let’s dive in.
- Step 1: To create a snapshot of a volume, simply select the AWS console’s Volumes container, right-click on the volume and choose the Create Snapshot option from the shortcut menu.
- Step 2: After entering the description of the snapshot, click Create to create the snapshot.
- Step 3: A popup will come stating the snapshot creation as started.
- Step 4: You can view the snapshot’s status on the console’s Snapshots tab.
One can not only create a snapshot but also can copy the already created snapshot. This copied snapshot can be shared with other accounts. If you share a snapshot with another account, then that person cannot directly create volume out of the shared snapshots. For creating volume from such a snapshot that person first needs to copy the snapshot so that the snapshot is now owned by him and can then create a volume out of it. Both encrypted and un-encrypted snapshots can be shared within the different AWS accounts. But, if you try to copy an encrypted snapshot without having the permissions to the encryption key, the copy process will “fail silently”.
Some use cases for copying Snapshot are:
- Geographic Expansion
- Disaster Recovery
- Migration of another Region
- Data Retention and Auditing
The deletion process of Snapshot is also very easy. To delete a snapshot using the console
- Open the Amazon EC2 console ..
- Choose Snapshots in the navigation pane.
- Select a snapshot and then choose Delete from the Actions list.
- Choose Yes, Delete.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Introduction to AWS Elastic Block Store(EBS)
- Introduction to AWS Elastic Beanstalk
- Elastic Load Balancer in AWS
- Introduction to AWS Elastic File System(EFS)
- Introduction to AWS Simple Storage Service (AWS S3)
- Difference between AWS Cloudwatch and AWS Cloudtrail
- Introduction to Amazon Elastic Container Service (ECS)
- What is Elastic Compute Cloud (EC2)?
- What is Elastic Stack and Elasticsearch?
- Identity and Access Management (IAM) in Amazon Web Services (AWS)
- AWS Cloud Support Associate Interview Experience
- Introduction to AWS Compute
- AWS - Types of Databases
- What are AWS Storage Options?
- What is AWS Cloudformation?
- What is SageMaker in AWS?
- Simple Notification Service (SNS) in AWS
- How to Configure AWS Lambda?
- What is AWS EC2 Instance Storage?
- Popular Programming Languages Supported by AWS
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.