MongoDB and Windows Azure


Published on

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.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

MongoDB and Windows Azure

  1. 1. MongoDB and Windows AzureDoug Mahugh Sridhar NanjundeswaranSenior Technical Evangelist Software EngineerMicrosoft Open Technologies, Inc. 10gen
  2. 2. Agenda
  3. 3. Windows Azure
  4. 4. Applicationbuilding blocks
  5. 5. Open Source on Windows Azure Learn more:
  6. 6. Microsoft Open Technologies, Inc.
  7. 7. Windows Azure Developer Center .NET driver Node.js driver Java driver PHP driver Python driver Driver download page
  8. 8. Windows Azure Cloud Service
  9. 9. Windows AzureVirtual Machines
  10. 10. Virtual Machine Sizes CPU Bandwidth # DataVM Size Memory Cores (Mbps) DisksExtra Small Shared 768 MB 5 1Small 1 1.75 GB 100 2Medium 2 3.5 GB 200 4Large 4 7 GB 400 8Extra Large 8 14 GB 800 16
  11. 11. Windows Azure Management Portal
  12. 12. Getting Started
  13. 13. MongoDB + Windows Azure
  14. 14. Replica Sets: high availability Your Application Driver Replica Set Replica set hosted on Windows Azure worker roles or virtual machines
  15. 15. Sharding: high scalability andthroughput 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. 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-scalingMongoDB on Windows Azure provides all the benefits customers have come toexpect from cloud computing: elasticity, on-demand capacity, faster time tomarket, and pay-for-what-you-use pricing
  17. 17. Deploying MongoDB as a Cloud Service
  18. 18. Deploying to Virtual Machines on-a-linux-vm/
  19. 19. Command Line Syntax Overviewprompt> 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
  20. 20. Example: Provisioning a Replica SetTo set up MongoDB, SSH into each instance and:
  21. 21. DEMO-PaaSApp deployed with the MongoDB Replica Set wrapper for Windows Azure service:
  22. 22. DEMO-IaaSmongo-demo.php?host=localhostLocal MongoDBinstancemongo-demo.php?host=linuxReplica set onLinux VMsmongo-demo.php?host=windowsReplica set onWindows VMs
  23. 23. Resources +Overview series.aspx linux-vm/ mongodb-(mac)/
  24. 24. Q&A