of 17
7/27/2019 Agoge Labs Amazon Elastic Block Store
1/17
Amazon Elastic Block Storeby
Cloud Computing Training Company
7/27/2019 Agoge Labs Amazon Elastic Block Store
2/17
About Agoge Labs
Hardcore Cloud Training
Focused on Amazon Web Services & Big
Data
Architects with Passion on training
7/27/2019 Agoge Labs Amazon Elastic Block Store
3/17
What is Amazon Elastic Block Store ?
Block Level Storage volumes
Network attached
Persistent storage
7/27/2019 Agoge Labs Amazon Elastic Block Store
4/17
Amazon Elastic Block Store
EBS Volume can only be attached to oneinstance at a time
Many EBS volumes can be attached to a
single instance
If an instance fails or is detached from
an Amazon EBS volume, the volume can
be attached to any other instance in
that Availability Zone
7/27/2019 Agoge Labs Amazon Elastic Block Store
5/17
Features
High performance file system
Flexibility: 1GB to 1TB
Availability: Replicated within a
Availability Zone
Security: Private to your EC2 instances
Performance: EBS Optimized + PIOPS
Backups: Point in time snapshots
7/27/2019 Agoge Labs Amazon Elastic Block Store
6/17
Standard vs Provisioned IOPS
Standard Volumes are suitable for Boot Volumes
Moderate and Bursty IO
Sequential IO
Provisioned IOPS Volumes are suitable
for Transactional applications
High & consistent IO
7/27/2019 Agoge Labs Amazon Elastic Block Store
7/17
Common Use cases
EBS is suitable for : Databases : MySQL, Oracle , SQL etc
File System: XFS, Ext 3 , Ext 4
NoSQL : MongoDB
Applications : Microsoft exchange
Search : Apache Solr Network File Systems : GlusterFS, Cerph
7/27/2019 Agoge Labs Amazon Elastic Block Store
8/17
Monitoring EBS
Pre selected metrics in CloudWatch formonitoring EBS
Read/Write Bytes
Read/Write Ops Total read/write time
Idle time
Queue length
Throughput %
ConsumedReadWriteOps
7/27/2019 Agoge Labs Amazon Elastic Block Store
9/17
Performance : EBS Optimized
EBS Optimized have dedicatedbandwidth
EC2 EBS optimized instances are:
M1.large (500 Mbps)
M2.Xlarge(1 Gbps)
M2.4Xlarge(1 Gbps)
More instance types are in roadmap EBS optimized are better choice for Std
or provisioned IOPS volumes
7/27/2019 Agoge Labs Amazon Elastic Block Store
10/17
Performance : EBS Striping
Stripe Multiple EBS Volumes forperformance
RAID 0:
Popular approach on AWS
Supports Std & Provisioned IOPS 10s of thousands IOPS
Increased IO and bandwidth
RAID 1+0:
Not very popular like RAID 0
Fault tolerance is critical
7/27/2019 Agoge Labs Amazon Elastic Block Store
11/17
Performance : Queue Depth
Queue Depth : maintains the number ofpending I/O requests
Queue Depth of 5 per 1000 IOPS is
recommended
7/27/2019 Agoge Labs Amazon Elastic Block Store
12/17
EBS Volume Durability
Highly available & reliable
Volume data Replicated across multiple
servers in an Availability Zone
Snapshots to s3
7/27/2019 Agoge Labs Amazon Elastic Block Store
13/17
EBS Snapshots
Point in time snapshots Written to S3 ( not to buckets)
Incremental backup
Create new volume from snapshots
7/27/2019 Agoge Labs Amazon Elastic Block Store
14/17
7/27/2019 Agoge Labs Amazon Elastic Block Store
15/17
EBS Snapshots Best practices (2)
Snapshot from read replica or slaves It reduces impact on your master
Snapshots during off peak usage
Snapshot every major deployments
Use XFS for consistent snapshot
7/27/2019 Agoge Labs Amazon Elastic Block Store
16/17
EBS - Free Tier
30 GB of storage
2 million I/O
1 GB of Snapshot storage
Refer : aws.amazon.com/ebs for latest
info
7/27/2019 Agoge Labs Amazon Elastic Block Store
17/17
Contact Agoge Labs
If you need training on Amazon Web Services,contact us:
Connect with us @www.twitter.com/agogelabs
www.slideshare.net/agogelabs
Visit us @www.agogelabs.com
mailto:[email protected]://www.twitter.com/agogelabshttp://www.slideshare.net/agogelabshttp://www.agogelabs.com/http://www.agogelabs.com/http://www.slideshare.net/agogelabshttp://www.twitter.com/agogelabsmailto:[email protected]