SlideShare a Scribd company logo
MongoDB on Amazon Web ServicesWebinar 3-14-2011
AgendaMongoDB deployment componentsAmazon EC2 infrastructureDeployment scenarios
Mongodb components
MongoDB ComponentsActual data
Needs RAM + Disk IO
Can run as Arbiter
No data
Just votes to elect primary
Stateless router
Typically run on App Servers
Stores sharding configuration
Stores small amounts of data
Infrequently queried/updated by MongoSReplica SetsPrimaryPrimaryPrimarySecondarySecondarySecondarySecondaryArbiterSecondarySecondarySecondary
ShardingMongoDMongoDMongoDMongoDMongoSMongoSMongoSConfigDMongoDMongoDMongoDMongoDConfigDConfigDMongoDMongoDMongoDMongoD
Amazon EC2
Amazon EC2 Instance Types32-bit = Don’t UseTypical MongoDConfigD/ ArbiterBig MongoD32-bit = Don’t UseHigh CPU not necessary
OSTurn off atimeRaise file descriptor limitscat >> /etc/security/limits.conf << EOF* hard nofile 65536* soft nofile 65536EOFDO NOT use large VM pagesUse ext4, xfsUse RAIDRAID10 on MongoDRAID1 on ConfigbDBWarning! Known problems with Ubuntu 10.04 & EBShttps://bugs.launchpad.net/ubuntu/+source/linux-ec2/+bug/614853https://bugzilla.kernel.org/show_bug.cgi?id=16991
Mongodb components on ec2
MongoD on EC2MongoD64-Bit EC2 InstanceLVM orMDADMRAID 10EBS Volumes
MongoS on EC2Language Specific DriverYour App32- or 64-Bit EC2 Instance(Typically your app server)MongoS
Arbiter on EC264-Bit EC2 Instance(Micro Instance is Fine)ArbiterLocal Instance Storage
ConfigDB on EC264-Bit EC2 Instance(Micro Instance is Fine)ConfigDBLVM or MDADMRAID 1EBS Volumes
Deployment Scenarios
3-Node Replica Set Your AppLargeLargeLargeMongoD(Primary)MongoD(Secondary)MongoD(Secondary)RAID 10RAID 10RAID 10
2-Nodes + ArbiterYour AppLargeLargeMicroMongoD(Primary)MongoD(Secondary)ArbiterRAID 10RAID 10

More Related Content

PDF
Zabbix最新情報 ~Zabbix 6.0に向けて~ @OSC2021 Online/Fall
ODP
Monitoring IO performance with iostat and pt-diskstats
PDF
なかったらINSERTしたいし、あるならロック取りたいやん?
PDF
binary log と 2PC と Group Commit
PPTX
MongoDBの監視
PPTX
Introduction to Redis
PDF
Spark SQL - The internal -
PPTX
初心者向けMongoDBのキホン!
Zabbix最新情報 ~Zabbix 6.0に向けて~ @OSC2021 Online/Fall
Monitoring IO performance with iostat and pt-diskstats
なかったらINSERTしたいし、あるならロック取りたいやん?
binary log と 2PC と Group Commit
MongoDBの監視
Introduction to Redis
Spark SQL - The internal -
初心者向けMongoDBのキホン!

What's hot (20)

PDF
MySQL5.7 GA の Multi-threaded slave
PDF
Hadoopを用いた大規模ログ解析
PDF
OSC北海道2014_JPUG資料
PDF
SSH力をつけよう
PPTX
WiredTigerを詳しく説明
PPTX
NGINX Plus Hands On Training
PDF
AWS Black Belt Online Seminar 2016 AWS上でのファイルサーバ構築
PDF
sysloadや監視などの話(仮)
PPTX
Découverte de Redis
PDF
MongoDBを用いたソーシャルアプリのログ解析 〜解析基盤構築からフロントUIまで、MongoDBを最大限に活用する〜
PPTX
Java 17直前!オレ流OpenJDK「の」開発環境(Open Source Conference 2021 Online/Kyoto 発表資料)
PDF
MongoDBとAjaxで作る解析フロントエンド&GraphDBを用いたソーシャルデータ解析
PDF
[D20] 高速Software Switch/Router 開発から得られた高性能ソフトウェアルータ・スイッチ活用の知見 (July Tech Fest...
PDF
MongoDBのアレをアレする
PDF
Yahoo! JAPANのプライベートRDBクラウドとマルチライター型 MySQL #dbts2017 #dbtsOSS
PDF
AWSのセキュリティについて
PDF
InnoDBのすゝめ(仮)
PPTX
Monitoramento e Gerenciamento de Infraestrutura com Zabbix - Patrícia Ladislau
PDF
Apache Arrow - データ処理ツールの次世代プラットフォーム
PDF
show innodb status
MySQL5.7 GA の Multi-threaded slave
Hadoopを用いた大規模ログ解析
OSC北海道2014_JPUG資料
SSH力をつけよう
WiredTigerを詳しく説明
NGINX Plus Hands On Training
AWS Black Belt Online Seminar 2016 AWS上でのファイルサーバ構築
sysloadや監視などの話(仮)
Découverte de Redis
MongoDBを用いたソーシャルアプリのログ解析 〜解析基盤構築からフロントUIまで、MongoDBを最大限に活用する〜
Java 17直前!オレ流OpenJDK「の」開発環境(Open Source Conference 2021 Online/Kyoto 発表資料)
MongoDBとAjaxで作る解析フロントエンド&GraphDBを用いたソーシャルデータ解析
[D20] 高速Software Switch/Router 開発から得られた高性能ソフトウェアルータ・スイッチ活用の知見 (July Tech Fest...
MongoDBのアレをアレする
Yahoo! JAPANのプライベートRDBクラウドとマルチライター型 MySQL #dbts2017 #dbtsOSS
AWSのセキュリティについて
InnoDBのすゝめ(仮)
Monitoramento e Gerenciamento de Infraestrutura com Zabbix - Patrícia Ladislau
Apache Arrow - データ処理ツールの次世代プラットフォーム
show innodb status
Ad

Similar to MongoDB on EC2 and EBS (20)

PDF
MongoDB: Advantages of an Open Source NoSQL Database
PPTX
mongoDB for sysadmins
PDF
Pandora FMS: MongoDB plugin
PPTX
AEM WITH MONGODB
PPTX
EVOLVE'14 | Enhance | Nate Nelson | AEM with MongoDB
PPTX
Mongo DB
PDF
Do it Yourself Testing
PDF
A Front-Row Seat to Ticketmaster’s Use of MongoDB
ODP
Mastering InnoDB Diagnostics
ODP
Harrison fisk masteringinnodb-diagnostics
PPTX
MongoDB basics & Introduction
PDF
Growing MongoDB on AWS
PPTX
Computer Hardware-Software Requirments In Computer Devices And Mobiles
PPTX
MongoDB Introduction, Installation & Execution
PDF
MongoDB Developer's Notebook, March 2016 -- MongoDB Connector for Business In...
PDF
Quick & Dirty & MEAN
PPTX
Introducing MongoDB in a multi-site HA environment
PDF
So go installation guide
PDF
Basic Ops Skills and Tools for Beginners
PDF
Ops Skills and Tools for Beginners [#MongoDB World 2014]
MongoDB: Advantages of an Open Source NoSQL Database
mongoDB for sysadmins
Pandora FMS: MongoDB plugin
AEM WITH MONGODB
EVOLVE'14 | Enhance | Nate Nelson | AEM with MongoDB
Mongo DB
Do it Yourself Testing
A Front-Row Seat to Ticketmaster’s Use of MongoDB
Mastering InnoDB Diagnostics
Harrison fisk masteringinnodb-diagnostics
MongoDB basics & Introduction
Growing MongoDB on AWS
Computer Hardware-Software Requirments In Computer Devices And Mobiles
MongoDB Introduction, Installation & Execution
MongoDB Developer's Notebook, March 2016 -- MongoDB Connector for Business In...
Quick & Dirty & MEAN
Introducing MongoDB in a multi-site HA environment
So go installation guide
Basic Ops Skills and Tools for Beginners
Ops Skills and Tools for Beginners [#MongoDB World 2014]
Ad

More from Jared Rosoff (9)

PPTX
MongoDB Advanced Schema Design - Inboxes
PPTX
Mongosv 2011 - Sharding
PPTX
Mongosv 2011 - Replication
PPTX
Mongosv 2011 - MongoDB on Amazon EC2
PPTX
MongoDB Deployment Tips
PPTX
Scaling with mongo db - SF Mongo User Group 7-19-2011
PPT
Indexing & query optimization
PPTX
Web performance meetup bos 11 18-2010
PPTX
Scalable Event Analytics with MongoDB & Ruby on Rails
MongoDB Advanced Schema Design - Inboxes
Mongosv 2011 - Sharding
Mongosv 2011 - Replication
Mongosv 2011 - MongoDB on Amazon EC2
MongoDB Deployment Tips
Scaling with mongo db - SF Mongo User Group 7-19-2011
Indexing & query optimization
Web performance meetup bos 11 18-2010
Scalable Event Analytics with MongoDB & Ruby on Rails

Recently uploaded (20)

PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
KodekX | Application Modernization Development
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
NewMind AI Monthly Chronicles - July 2025
PPT
Teaching material agriculture food technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
A Presentation on Artificial Intelligence
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
cuic standard and advanced reporting.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Dropbox Q2 2025 Financial Results & Investor Presentation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
KodekX | Application Modernization Development
Review of recent advances in non-invasive hemoglobin estimation
Understanding_Digital_Forensics_Presentation.pptx
Network Security Unit 5.pdf for BCA BBA.
The Rise and Fall of 3GPP – Time for a Sabbatical?
NewMind AI Monthly Chronicles - July 2025
Teaching material agriculture food technology
Spectral efficient network and resource selection model in 5G networks
Diabetes mellitus diagnosis method based random forest with bat algorithm
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
20250228 LYD VKU AI Blended-Learning.pptx
A Presentation on Artificial Intelligence
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
cuic standard and advanced reporting.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

MongoDB on EC2 and EBS