I'm looking for a redundancy solution for EBS. Ideally we would have an EBS volume in each AZ - in something similar to a master-slave configuration. Upon the failure of the primary EBS volume, all reads/writes would be directed to the secondary volume.
The volume is to store user data for the application, no OS or application files or anything like that.
The EC2 instances that will mount this volume are running centos, and I haven't looked into any sort of linux solution just quite yet. If there isn't any amazon solution, perhaps there is a linux one that you know of?
It just doesn't make sense to me to have a multi-az deployment if we are stuck with a critical EBS volume in a single AZ.
Thanks!!
Amazon EBS volumes are designed to be highly available, reliable, and durable. At no additional charge to you, Amazon EBS volume data is replicated across multiple servers in an Availability Zone to prevent the loss of data from the failure of any single component.
You can attach multiple EBS volumes to a single instance. The volume and instance must be in the same Availability Zone.
AWS EBS volumes are already stored in multiple copies behind the scenes. So there is no need to add extra redundancy by way of RAID setup on the instance. Amazon EBS volumes are designed to be highly available and reliable.
Amazon EBS offers a straight-forward encryption solution of data at rest , data in transit, and all volume backups. Amazon EBS encryption is supported by all volume types, and includes built-in key management infrastructure without having you to build, maintain, and secure your own keys.
No. Amazon EBS volumes reside only in one AZ. Snapshots are stored across AZs, but not 'live' volumes.
Your use-case sounds suitable for Amazon Elastic File System (EFS) for Linux or Amazon FSx for Windows File Server. They are shared network volumes that are replicated across AZs and can attach to multiple Amazon EC2 instances simultaneously.
I like to think of EBS like a directly-attached drive and EFS/FSx as a network drive. (Those aren't accurate descriptions, but they fit my mental model.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With