• Like

MongoDB and Windows Azure

  • 2,281 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,281
On Slideshare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
30
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. MongoDB and Windows AzureDoug Mahugh Sridhar NanjundeswaranSenior Technical Evangelist Software EngineerMicrosoft Open Technologies, Inc. 10gen
  • 2. Agenda
  • 3. Windows Azure
  • 4. Applicationbuilding blocks
  • 5. Open Source on Windows AzureLearn more: http://www.windowsazure.com/en-us/community/open-source-software/
  • 6. Microsoft Open Technologies, Inc.
  • 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. Windows Azure Cloud Service
  • 9. Windows AzureVirtual Machines
  • 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. Windows Azure ManagementPortalhttp://manage.windowsazure.com https://windows.azure.com
  • 12. Getting Started http://www.windowsazure.com/en-us/pricing/free-trial/
  • 13. MongoDB + Windows Azure
  • 14. Replica Sets: high availability Your Driver Replica Set Application Replica set hosted on Windows Azure worker roles or virtual machines
  • 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. 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. 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. 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. Example: Provisioning a ReplicaSetTo set up MongoDB, SSH into each instance and:
  • 21. DEMO-PaaSApp deployed with the MongoDB Replica Set wrapper for Windows Azurehttp://beefb1a5abb743f086e57c5f7bf5d3cf.cloudapp.net:8080/Monitoring service:http://beefb1a5abb743f086e57c5f7bf5d3cf.cloudapp.net/
  • 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. 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. Q&A