This document discusses Amazon Linux for Premium Support and options for running MongoDB on AWS. It provides information on:
1) Starting with Amazon Linux is easy with no extra cost for Premium Support.
2) New storage options on AWS like Provisioned IOPS EBS volumes and SSD-backed instances can provide thousands to tens of thousands of IOPS for I/O intensive MongoDB workloads.
3) Techniques for scaling MongoDB deployments on AWS both horizontally by sharding and vertically by changing instance types to adapt to growth or reduced usage.
10. Nested
Nodes + Storage
Configurable
AWS CloudFormation:
Infrastructure belongs in your
source control
mongodb.org/display/DOCS/Automating+Deployment+with+CloudFormation
11.
12. 3.75
7.5
15
Where your data should be
17.1
30
34.2
68.4
60.5
14. New Storage Options
• Amazon EBS – Provisioned IOPS volumes
EBS • Deliver predictable, high performance for I/O-intensive workloads
PIOPS
• Specify IOPS required upfront, and Amazon EBS provisions for lifetime of volume
– 2000 IOPS per volume, can stripe to get thousands of IOPS to EC2 instance
• High IO Instances – hi1.4xlarge
SSD
• For applications that require 10s of thousands of IOPS
• Eliminates network latency as a performance constraint to storage
+ • EBS Optimized Instances
• Enables instances to fully utilize IOPS provisioned on an Amazon EBS volume
• Dedicated instance throughput to Amazon EBS – 500 Mbps and 1000 Mbps
15. New Storage Options
Testing: random 4k reads
One volume: ~200 MongoOPS with some variability, <1mb/s
EBS
Loaded instance: ~ 1000 MongoOPS with some variability <10mb/s
+
PIOPS One Volume: 2000 MongoOPS with <1% variability, 3mb/s
Loaded Instance: 20000 MongoOPS with <1% variability, 60mb/s
SSD Hi1.4xlarge ephemeral: ~64,000 MongoOPS with low variability, ~245mb/s