MongoDB and Windows Azure

1,438 views

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
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,438
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
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: http://www.windowsazure.com/en-us/community/open-source-software/
  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 http://www.windowsazure.com/en-us/develop/overview/
  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 Portalhttp://manage.windowsazure.com https://windows.azure.com
  12. 12. Getting Started http://www.windowsazure.com/en-us/pricing/free-trial/
  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 http://www.mongodb.org/display/DOCS/MongoDB+on+Azure+Worker+Roles
  18. 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. 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 Azurehttp://beefb1a5abb743f086e57c5f7bf5d3cf.cloudapp.net:8080/Monitoring service:http://beefb1a5abb743f086e57c5f7bf5d3cf.cloudapp.net/
  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 http://www.mongodb.org/display/DOCS/MongoDB+on+Azure+- +Overview http://blogs.msdn.com/b/interoperability/archive/2012/06/01/mongodb-experts-video- series.aspx www.WindowsAzure.com http://windowsazure-trainingkit.github.com/ http://ossonazure.interoperabilitybridges.com/tutorials http://www.windowsazure.com/en-us/manage/linux/common-tasks/mongodb-on-a- linux-vm/ http://waweb.windowsazure.com/en-us/develop/nodejs/tutorials/website-with- mongodb-(mac)/
  24. 24. Q&A

×