Overview of Windows Azure's current support for MongoDB deployments on IaaS virtual machines or PaaS worker roles. Presented at MongoDB Seattle, 9/14/2012.
10. Virtual Machine Sizes
CPU Bandwidth # Data
VM Size Memory
Cores (Mbps) Disks
Extra Small Shared 768 MB 5 1
Small 1 1.75 GB 100 2
Medium 2 3.5 GB 200 4
Large 4 7 GB 400 8
Extra Large 8 14 GB 800 16
14. Replica Sets: high availability
Your Application Driver Replica Set
Replica set hosted
on Windows Azure
worker roles or
virtual machines
15. Sharding: high scalability and
throughput Mongos
(router) Your Application
Key range A-B Key range B-C Key range C-D Key range D-E
Shards and mongos (router) hosted on Windows Azure
worker roles or virtual machines
16. MongoDB + Windows Azure benefits
• PaaS or IaaS deployment
• Java, PHP, Node.JS, .NET, or Python
Flexible
• Many OS options including Windows
Server, CentOS, Ubuntu, SUSE
• MongoDB’s built-in support for horizontal scaling and
Scalable sharding
• Windows Azure’s built-in support for responsive auto-scaling
MongoDB on Windows Azure provides all the benefits customers have come to
expect from cloud computing: elasticity, on-demand capacity, faster time to
market, and pay-for-what-you-use pricing
17. Deploying MongoDB as a Cloud Service
http://www.mongodb.org/display/DOCS/MongoDB+on+Azure+Worker+Roles
18. Deploying to Virtual Machines
http://www.mongodb.org/display/DOCS/MongoDB+on+Azure+VM+-+Windows+Installer
http://www.windowsazure.com/en-us/manage/linux/common-tasks/mongodb-
on-a-linux-vm/
19.
20. Command Line Syntax Overview
prompt> azure topic verb options
account download username
account location import password
account affinity-group list dns-prefix
vm show vm-name
vm disk delete lb-port
vm endpoint start target-image-name
vm image restart source-path
service shutdown disk-image-name
service cert capture size-in-gb
site create thumbprint
config attach value
detach -v
browse -vv
set
22. DEMO-PaaS
App deployed with the MongoDB Replica Set wrapper for Windows Azure
http://beefb1a5abb743f086e57c5f7bf5d3cf.cloudapp.net:8080/
Monitoring service:
http://beefb1a5abb743f086e57c5f7bf5d3cf.cloudapp.net/