Elastic Block Storage (EBS)

 Elastic Block Storage (EBS)



Elastic Block Storage (EBS) - 
  • AWS Elastic Block Storage is a web service that provides block level storage volumes for use with amazon EC2 instances
  • Amazon EBS volumes are highly available and reliable storage volumes that can be attached to any running instance and used like hard drive
  • Amazon EBS allows you to create storage volumes and attach them to EC2 instances 
  • It is used for various databses (both relational and non relational) as well as a wide range of application such as software testing and development 
  • EBS provides a high performance option for many use cases it is directly attached to the instance

Features of EBS  - 
  • Amazon Elastic Block Storage 
  • Region and availability zones are multiple physical location for your resources such as instances and EBS volumes
  • Using security groups, you can specify the protocols, ports and source IP ranges that can reach your instances
  • Elastic IP addresses are static IPv4 addresses used for dynamic cloud computing 

Volumes Type - 

General Purpose SSD - 
  • Good for system boot volumes, virtual desktop 
  • Storage 1GB to 16TB
  • Gp3 -  
  • 3,000 IOPS baseline (max 16000-independant of size)
  • 125 MiB/s throughput (max 1000MiB/s - independent of size) 
  • Gp2 - 
  • Burst IOPS up to 3000
  • 3 IOPS per GB
  • Max IOPS : 16000 (5,334GB)

Provisioned IOPS SSD - 
  • Optimized for transaction-intensive Application with high frequency of small and random IO operations. They are sensitive increased I/O latency 
  • Maintain high IOPS while keeping I/O latency down by maintaining a low queue length and a high number of IOPS available to the volume 
  • Support Multi Attach (not supported by other types)
  • io1 and io2 - 
  • Storage - 4GB to 16TB
  • Max IOPS: 64000 for nitro EC2 instances and 32000 for non-nitro
  • 50 IOPS per GB (64,000 at 1,280GB)
  • io2 have more durability and more IOPS per GB (at the same price as io1) 

Hard Disk Drives (HDD) -
  • Optimized for Throughput-intensive Applications that require and sequential IO operations and are less sensitive to increase I/O latency (big data, data warehousing, log processing)
  • Maintain high throughput to HDD-backed volumes by maintaining a high queue length when performing large, sequential IO 
  • Cannot be used as a boot volume for an EC2 imstance
  • Storage:125GB to 16TB
  • Throughput Optimized HDD (st1) - 
  • Optimized for large sequential reads and write (big data, data warehousing, log processing)
  • Max throughput - 500 MB/s
  • Max IOPS - 500
  • Cold HDD -  
  • For infrequently accessed data
  • Cheapest 
  • Max throughput - 250 MB/s
  • Max IOPS - 250


Encyption - 

For encypted EBS volume - 
  • Data at rest is encrypted 
  • Data in-flight between the instance and the volume is encrypted
  • All snapshots are encrypted 
  • All volumes created from the snapshot are encrypted
Encrypt an un-encrypted EBS volumes - 
  • Create an EBS snapshot of volume 
  • Copy the EBS snapshot and encrypt the new copy 
  • Create a new EBS volume from the ecrypted snapshot (the volume will be automatically encypted )

Snapshots - 
  • Data Lifecycle Manager can be used to automate the creation,retention and deletation of snapshots of EBS volume
  • Snapshots are incremental
  • Only the most recent snapshots is required to reset the volume

Raid 0 - 
  • Improve performance of a storage volume by distributing reads and write in a stripe across attached volumes
  • If you add a storage volume,you get the straight addition of throughgput and IOPS
  • For high performance application
Raid 1 -  Improve data availability by mirroring data in multiple volumes 
  • For critical applications

Comments

Popular posts from this blog

AWS Instance Store

AWS Identity and Access Management