MongoDB on Amazon Web Services - Nosh Petigara, 10gen
MongoSeattle 2011
In this session we'll explore scaling and performance characteristics of running MongoDB in the cloud as well as best practices for running on platforms like Amazon EC2.
Disk IO • Stores sharding configuration • Stores small amounts of data • Infrequently queried/updated by MongoS • Stateless router • Typically run on App Servers • Can run as Arbiter • No data • Just votes to elect primary
for rapid replica provisioning – Slightly more complicated to orchestrate 4ming • LVM Snapshot (config+shard) • Use secondaries for zero down4me backups • hfp://www.mongodb.org/pages/ viewpage.ac4on?pageId=19562846
27017, 28017 (Status page) MongoD Shard Server 27018 MongoS 27017 ConfigDB 27019 • All nodes listen on all interfaces unless –bind_ip is specified • Specify alternate port with –port • Don’t mix names & IP’s. Names preferred (not ec2s) • Use security groups as access control lists • (e.g. allow 27017 from app servers, but not everybody)