MongoDB and Windows AzureDoug Mahugh                         Sridhar NanjundeswaranSenior Technical Evangelist         Sof...
Agenda
Windows Azure
Applicationbuilding blocks
Open Source on Windows AzureLearn more: http://www.windowsazure.com/en-us/community/open-source-software/
Microsoft Open Technologies, Inc.
Windows Azure Developer Center                                    .NET driver                                    Node.js d...
Windows Azure Cloud Service
Windows AzureVirtual Machines
Virtual Machine Sizes          CPU                Bandwidth   # DataVM Size            Memory          Cores              ...
Windows Azure ManagementPortalhttp://manage.windowsazure.com                                 https://windows.azure.com
Getting Started http://www.windowsazure.com/en-us/pricing/free-trial/
MongoDB + Windows Azure
Replica Sets: high availability        Your        Driver       Replica Set      Application                             R...
Sharding: high scalability andthroughput        Mongos      Your                                       (router)           ...
MongoDB + Windows Azurebenefits                         • PaaS or IaaS deployment                         • Java, PHP, Nod...
Deploying MongoDB as a Cloud Service  http://www.mongodb.org/display/DOCS/MongoDB+on+Azure+Worker+Roles
Deploying to Virtual Machines   http://www.mongodb.org/display/DOCS/MongoDB+on+Azure+VM   +-+Windows+Installer http://www....
Command Line Syntaxprompt> azure Overview               topic verb optionsaccount                  download      usernamea...
Example: Provisioning a ReplicaSetTo set up MongoDB, SSH into each instance and:
DEMO-PaaSApp deployed with the MongoDB Replica Set wrapper for Windows Azurehttp://beefb1a5abb743f086e57c5f7bf5d3cf.clouda...
DEMO-IaaSmongo-demo.php?host=localhostLocal MongoDBinstancemongo-demo.php?host=linuxReplica set onLinux VMsmongo-demo.php?...
Resources http://www.mongodb.org/display/DOCS/MongoDB+on+Azure+-+Overview http://blogs.msdn.com/b/interoperability/archive...
Q&A
MongoDB and Windows Azure
Upcoming SlideShare
Loading in …5
×

MongoDB and Windows Azure

3,091 views
2,863 views

Published on

Published in: Technology

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 AzureLearn 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 Shared 768 MB 5 1SmallSmall 1 1.75 GB 100 2Medium 2 3.5 GB 200 4Large 4 7 GB 400 8Extra 8 14 GB 800 16Large
  11. 11. Windows Azure ManagementPortalhttp://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 Driver Replica Set Application Replica set hosted on Windows Azure worker roles or virtual machines
  15. 15. Sharding: high scalability andthroughput Mongos Your (router) 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 Azurebenefits • 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 sharding Scalable • Windows Azure’s built-in support for responsive auto-scalingMongoDB on Windows Azure provides all the benefits customers havecome to expect from cloud computing: elasticity, on-demand capacity,faster time to market, 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 Syntaxprompt> azure Overview topic verb optionsaccount download usernameaccount location import passwordaccount affinity-group list dns-prefixvm show vm-namevm disk delete lb-portvm endpoint start target-image-namevm image restart source-pathservice shutdown disk-image-nameservice cert capture size-in-gbsite create thumbprintconfig create-from value attach -v attach-new -vv detach browse set
  20. 20. Example: Provisioning a ReplicaSetTo 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=windows Replica set on Windows 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

×