0% found this document useful (0 votes)
10 views11 pages

EBS Volume

Amazon EBS provides raw block-level storage that can be attached to EC2 instances, with features like dynamic capacity increase and durable snapshots. EBS Data Lifecycle Manager automates the creation and management of EBS snapshots, allowing for efficient backup, retention, and disaster recovery strategies. Users can create, attach, and detach volumes, as well as set up policies for automated snapshot management through the AWS Management Console.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views11 pages

EBS Volume

Amazon EBS provides raw block-level storage that can be attached to EC2 instances, with features like dynamic capacity increase and durable snapshots. EBS Data Lifecycle Manager automates the creation and management of EBS snapshots, allowing for efficient backup, retention, and disaster recovery strategies. Users can create, attach, and detach volumes, as well as set up policies for automated snapshot management through the AWS Management Console.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Amazon EBS is like a harddisk or root volume.

We will be focussing on EBS volume, EBS Snapshot, Datalifecycle


Manager.

EBS volume is raw unformated block level storage that we can attach to
ec2 instance.
An ebs volume can attach to a single ec2 instance at a time.
Both EBS volume and EC2 should be in same availability zone.

Feature of EBS Volume

Allow you to dynamically increase capacity.


Attach them to Amazon EC2 instance.
Offer durable snapshot capabilities.
Allow us to optimize storage performance.

Demo - How to create a volume.


Go to EC2 > Elastic Block Storage > Volumes
Click on Create Volumes.
Select size 10 Gib. and change the availability zone. Click on create

Click on Create Volume.


Diff type of EBS Volume
SSD - Solid state drive backend volume
HDD - Hard Disk Drive Backend Volume
MS - Magnetic Standard Backed Volume

Let's go back to Volume.


Lets see the diff type of EBS volume.
How to attach and detach to multiple instance

How to attach volume.

Create an EC2 instance. MAke sure you have same availability zone in this
case us-east-1b.
Go to Volumes.
Go to Volumes.

Click on attach volume.

Attach Volumes.

Go and check EC2 instance and check volumes.


We can attach more than one instance if they are in same availability zone.

You can detach the volume by going to volume > detach volumes.

Click on Detach volume.


EBS Snapshot.

Click on EC2 > Elastic Block share > Snapshots

Click on Create Snapshot.


Click on create snapshot.

To create an image or volume from snapshot you can go to snapshot.


If you want to modify permission.

Delete Snapshot.
EBS Data lifecycle Manager.

EBS (Elastic Block Store) Data Lifecycle Manager (DLM) is a feature


provided by AWS (Amazon Web Services) that allows you to automate the
creation, retention, and deletion of EBS snapshots. This helps in managing
the lifecycle of EBS volumes by defining policies that automate these
processes, reducing manual effort and improving data backup strategies.

Key Features of EBS Data Lifecycle Manager:

1. Automated Snapshot Management: You can set up policies that


automatically create EBS snapshots at specified intervals, such as
daily or weekly.
2. Retention Rules: Define how long to retain snapshots before they
are automatically deleted, helping to manage storage costs and
ensuring that you are only keeping data that you need.
3. Cross-Region and Cross-Account Copying: You can copy
snapshots to other AWS regions or accounts for disaster recovery or
compliance purposes.
4. Tagging and Policy Control: DLM policies can be applied based on
tags, allowing you to selectively manage the lifecycle of certain EBS
volumes.
5. Resource Efficiency: By automating snapshot management, you
can ensure that your data backup processes are consistent and
efficient, reducing the risk of data loss.

Common Use Cases:

● Backup and Recovery: Ensuring that critical data is regularly


backed up and can be restored quickly in case of failure.
● Disaster Recovery: Automating the process of copying snapshots to
other regions or accounts for recovery in case of regional failures.
● Compliance: Managing data retention to meet regulatory
requirements by ensuring that data is kept for a specific period and
then deleted.
How to Set Up EBS Data Lifecycle Manager:

1. Create a Lifecycle Policy: In the AWS Management Console, go to


the "Data Lifecycle Manager" section under the EC2 Dashboard.
2. Define Policy Rules: Set up rules for when snapshots should be
created, how long they should be retained, and any cross-region or
cross-account copying requirements.
3. Apply Tags: If needed, apply tags to the EBS volumes that you want
the policy to manage.
4. Monitor and Manage: Use AWS CloudWatch and other monitoring
tools to track the performance of your lifecycle policies.

You might also like