34. Headaches: Disk Performance
Ephemeral versus Elastic Block Store (EBS)
EBS Performance
Choosing a RAID type (0, 1, or 5)
Instance or EBS based AMI (machine images)
35. Headaches: Disk Performance
Ephemeral versus Elastic Block Store (EBS)
EBS Performance
Choosing a RAID type (0, 1, or 5)
Instance or EBS based AMI (machine images)
36. Headaches: Disk Performance
Ephemeral versus Elastic Block Store (EBS)
EBS Performance
Choosing a RAID type (0, 1, or 5)
Instance or EBS based AMI (machine images)
37. Headaches: Disk Performance
Ephemeral versus Elastic Block Store (EBS)
EBS Performance
Choosing a RAID type (0, 1, or 5)
Instance or EBS based AMI (machine images)
38. Our Suggestion
Use RAID-0 (if acceptable) and an EBS-based
AMI. Do not rely on EBS performance to be
constant.
40. Headaches: Growth/Expansion
EBS Resizing (they must be detached)
RAID 0 & RAID 1 can’t be resized
LVM and XFS provide answers, but also add
complexity
{fsync: 1, lock: 1} is important. Also don’t close the
session!
41. Headaches: Growth/Expansion
EBS Resizing (they must be detached)
RAID 0 & RAID 1 can’t be resized
LVM and XFS provide answers, but also add
complexity
{fsync: 1, lock: 1} is important. Also don’t close the
session!
42. Headaches: Growth/Expansion
EBS Resizing (they must be detached)
RAID 0 & RAID 1 can’t be resized
LVM and XFS provide answers, but also add
complexity
{fsync: 1, lock: 1} is important. Also don’t close the
session!
43. Headaches: Growth/Expansion
EBS Resizing (they must be detached)
RAID 0 & RAID 1 can’t be resized
LVM and XFS provide answers, but also add
complexity
{fsync: 1, lock: 1} is important. Also don’t close the
session!
44. Our Suggestion
Use mdadm with LVM for RAID to enhance IO
performance while keeping the ability to expand.
This makes snapshotting volumes very hard.*
* - alternative option is using RAID-5 but you will lose some performance.
46. Headaches: Disaster Recovery
Can feel a bit like “Yak Shaving”
To be good at it you will have to practice.
Knowing what can fail (ex: entire availability zones)
... this is going to take a few slides ...
47. Headaches: Disaster Recovery
Can feel a bit like “Yak Shaving”
To be good at it you will have to practice.
Knowing what can fail (ex: entire availability zones)
... this is going to take a few slides ...
48. Headaches: Disaster Recovery
Can feel a bit like “Yak Shaving”
To be good at it you will have to practice.
Knowing what can fail (ex: entire availability zones)
... this is going to take a few slides ...
49. Headaches: Disaster Recovery
Can feel a bit like “Yak Shaving”
To be good at it you will have to practice.
Knowing what can fail (ex: entire availability zones)
... this is going to take a few slides ...
50. Headaches: Disaster Recovery
EBS Reliability (better than physical, but not by much)
Snapshotting to S3 (expensive)
Replication Scenarios
Connection Strings
51. Headaches: Disaster Recovery
EBS Reliability (better than physical, but not by much)
Snapshotting to S3 (expensive)
Replication Scenarios
Connection Strings
52. Headaches: Disaster Recovery
EBS Reliability (better than physical, but not by much)
Snapshotting to S3 (expensive)
Replication Scenarios
Connection Strings
53. Headaches: Disaster Recovery
EBS Reliability (better than physical, but not by much)
Snapshotting to S3 (expensive)
Replication Scenarios
Connection Strings
54. Our Suggestion
- Practice recovery scenarios even the unlikely ones.
- Replication only gets you so far unless you go across
availability zones.
- Calculate your “acceptable downtime” and base your
infrastructure around that. If you want high availability &
recovery, your better off paying someone else.
59. mongo machine hosted MongoDB + data management
Managed MongoDB Infrastructure
Our infrastructure on AWS or Rackspace
Management & Deployment to your own infrastructure
Management Console
Instantly create new databases
Track database trends
Scale up & down on-demand