Introduction to AWS Elastic Block Store
In this article, we are going to learn about AWS EBS service and we will be covering the below topics,
- Introduction to AWS Elastic Block Store.
- The real-life use case for using AWS EBS service.
So, let’s get started step by step.
INTRODUCTION TO AWS ELASTIC BLOCK STORE
Amazon Elastic Block Store (Amazon EBS) provides persistent block storage volumes for use with Amazon EC2 instances. Each EBS volume is automatically replicated within its Availability Zone to protect you from the component failure, offering high availability and durability.
EBS volumes offer the consistent and low-latency performance needed to run your workloads. With EBS, we can scale our usage up or down within minutes, all by paying a low price for only what you provision.
IMPORTANT TO NOTE HERE,
- EBS volumes cannot be copied from one AWS region to another.
- To make a volume available outside of the Availability Zone, you can create a snapshot and restore that snapshot to a new volume anywhere in that region.
- You can copy snapshots to other regions and then restore them to new volumes there, making it easier to leverage multiple AWS regions for geographical expansion or disaster recovery.
We will be learning Snapshot in the coming parts of Introduction to AWS Elastic Block Store.
REAL LIFE USE CASE FOR USING AWS EBS SERVICE
We may get a requirement where we need to increase the disk space after we launch our EC2 instance from the AMI.
AMI will have some size like 8GB or 10GB and that will be the root volume. So, if we want extra disk space then we can extend the root volume from 8GB to suppose 100GB. But usually, we don’t do it this way.
Instead, we create a new volume and attach it with our instance.
Now let’s take the requirement which we are going to fulfill,
- Create a new EC2 instance with CentOS 7 for QA Environment.
- Storage size should be 5 GB for directory /opt/devdata.
- Allow port 80 for HTTP and port 22 for SSH.
- The owner has to be the QA team.
Here we need to have a 5GB of storage on directory /opt/devdata and this directory should be a separate partition with 5GB of storage size.
SOLUTION
We can achieve the above-mentioned requirement by using ELASTIC BLOCK STORAGE and we can think of it as a virtual hard disk, which one can plug and use.
This is block-based storage which means that we have to create a partition, format it, and then mount it, i.e., we store data. Each block acts as an individual hard drive.


Join the conversation! Your thoughts help the community grow.