EBS
Last updated
Last updated
Amazon Elastic Block Store (Amazon EBS) provides block level storage volumes for use with EC2 instances.
EBS volumes behave like raw, unformatted block devices.mazon EBS for data that must be quickly accessible and requires long-term persistence.
EBS volumes are particularly well-suited for use as the primary storage for file systems, databases, or for any applications that require fine granular updates and access to raw, unformatted, block-level storage.
Amazon EBS volume is a durable, block-level storage device that you can attach to your instances.
After you attach a volume to an instance, you can use it as you would use a physical hard drive. EBS volumes are flexible.
For current-generation volumes attached to current-generation instance types, you can dynamically increase size, modify the provisioned IOPS capacity, and change volume type on live production volumes.
EBS provides different volume types to meet various performance and cost requirements:
General Purpose SSD (gp2/gp3): Provides a balance of price and performance for a wide range of workloads.
Provisioned IOPS SSD (io1/io2): Offers high-performance storage with customizable IOPS (Input/Output Operations Per Second) to meet demanding I/O requirements.
Throughput Optimized HDD (st1): Optimized for frequently accessed, throughput-intensive workloads, such as big data, data warehouses, and log processing.
Cold HDD (sc1): Designed for less frequently accessed workloads, offering low-cost storage for large volumes of data.
EBS volumes provide benefits that are not provided by instance store volumes.
1.Data availability
2.Data persistence
3.Data encryption
4.Data security
5.Snapshots
6.Flexibility
Amazon EBS provides the ability to create snapshots (backups) of any EBS volume and write a copy of the data in the volume to Amazon S3, where it is stored redundantly in multiple Availability Zones.
The volume does not need to be attached to a running instance in order to take a snapshot.
As you continue to write data to a volume, you can periodically create a snapshot of the volume to use as a baseline for new volumes.
These snapshots can be used to create multiple new EBS volumes or move volumes across Availability Zones. Snapshots of encrypted EBS volumes are automatically encrypted.
Snapshots are incremental backups, meaning that only the blocks on the volume that have changed after your most recent snapshot are saved.
Amazon Data Lifecycle Manager to automate the creation, retention, and deletion of EBS snapshots and EBS-backed AMIs. When you automate snapshot and AMI management, it helps you to:
Protect valuable data by enforcing a regular backup schedule.
Create standardized AMIs that can be refreshed at regular intervals.
Retain backups as required by auditors or internal compliance.
Reduce storage costs by deleting outdated backups.
Create disaster recovery backup policies that back up data to isolated Regions or accounts.
Your AWS account has the following quotas related to Amazon Data Lifecycle Manager:
Custom lifecycle policies per Region -100
Default policies for EBS snapshots per Region -1
Default policies for EBS-backed AMIs per Region -1
Tags per resource -45
Amazon EBS Elastic Volumes, you can increase the volume size, change the volume type, or adjust the performance of your EBS volumes.
If your instance supports Elastic Volumes, you can do so without detaching the volume or restarting the instance.
This enables you to continue using your application while the changes take effect.
There is no charge to modify the configuration of a volume. You are charged for the new volume configuration after volume modification starts.
Instance storage, also known as ephemeral storage, refers to the temporary block-level storage that is directly attached to an Amazon EC2 instance.
It provides high-performance, low-latency storage that is ideal for certain types of workloads.
Cloud file storage is a method for storing data in the cloud that provides servers and applications access to data through shared file systems.
This compatibility makes cloud file storage ideal for workloads that rely on shared file systems and provides simple integration without code changes.
There are many file storage solutions that exist, ranging from a single node file server on a compute instance using block storage as the underpinnings with no scalability or few redundancies to protect the data, to a do-it-yourself clustered solution, to a fully-managed solution.
An "EBS-backed" EC2 instance refers to an Amazon EC2 instance that uses an Amazon EBS (Elastic Block Store) volume as its root volume. In this configuration, the root volume, which contains the operating system and system files, is stored on an EBS volume.
AWS Elastic Block Store (EBS) is a block-level storage service provided by Amazon Web Services (AWS) for use with EC2 instances. It offers durable and persistent block storage volumes that can be attached to EC2 instances, providing reliable storage for your applications and data.
Amazon EC2 provides different resources that you can create and use.
Some of these resources include images, instances, volumes, and snapshots. When you create a resource, we assign the resource a unique resource ID.
Some resources can be tagged with values that you define, to help you organize and identify them.
Recycle Bin is a data recovery feature that enables you to restore accidentally deleted Amazon EBS snapshots and EBS-backed AMIs.
When using Recycle Bin, if your resources are deleted, they are retained in the Recycle Bin for a time period that you specify before being permanently deleted.
Step 1: Login to aws management console and go to EC2 dasboard and volumes click create volume
Step 2: Choose Volume type and size and input output
Step 3: Choose throughput and availability zone
Step 4: Click create volume
AWS Free Tier includes 30 GB of storage, 2 million I/Os, and 1 GB of snapshot storage with Amazon Elastic Block Store (EBS).