Amazon Elastic Block Store - Agoge Labs...
Amazon Elastic Block Store by
Cloud Computing Training Company
About Agoge Labs • Hardcore Cloud Training • Focused on Amazon Web Services & Big Data • Architects with Passion on training
What is Amazon Elastic Block Store ? • Block Level Storage volumes • Network attached • Persistent storage
Amazon Elastic Block Store • EBS Volume can only be attached to one instance 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
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
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
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
Monitoring EBS Pre selected metrics in CloudWatch for monitoring EBS • Read/Write Bytes • Read/Write Ops • Total read/write time • Idle time • Queue length • Throughput % • ConsumedReadWriteOps
Performance : EBS Optimized • EBS Optimized have dedicated bandwidth • 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
Performance : EBS Striping • Stripe Multiple EBS Volumes for performance • 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
Performance : Queue Depth • Queue Depth : maintains the number of pending I/O requests • Queue Depth of 5 per 1000 IOPS is recommended
EBS Volume Durability • Highly available & reliable • Volume data Replicated across multiple servers in an Availability Zone • Snapshots to s3
EBS Snapshots • Point in time snapshots • Written to S3 ( not to buckets) • Incremental backup • Create new volume from snapshots
EBS Snapshot Best practices (1) • Freeze data while snapshots are taken • XFS File system has freeze command
• Always snapshot after un mount • Create fresh volume from snapshot and mount it
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
EBS - Free Tier • 30 GB of storage • 2 million I/O • 1 GB of Snapshot storage • Refer : aws.amazon.com/ebs for latest info
Contact Agoge Labs If you need training on Amazon Web Services, contact us:
[email protected] Connect with us @ www.twitter.com/agogelabs www.slideshare.net/agogelabs Visit us @ www.agogelabs.com