This document discusses MongoDB options on Azure, including running MongoDB on virtual machines or using hosted MongoDB services. It provides an example of how to provision a MongoDB replica set across multiple Azure virtual machines and configure endpoints. Automation support is available for deploying and configuring MongoDB on Azure virtual machines. Links are also included for tutorials and other resources on MongoDB and Azure.
Working with Chef on Microsoft Windows and Microsoft Azure
Mongo db world 2014 nyc mongodb on azure - tips tricks and examples
1. MongoDB on Azure -Tips, Tricks and ExamplesMongoDB world 2014
David Makogon, Enterprise Architect, Azure
Brian Benz, Sr. Technical Evangelist, Microsoft Open Technologies, Inc.
13. The Landscape –MongoDB on Azure
MongoDB is easily installable on Linux or Windows
VMs up to 112GB + 16TB attached storage
Easy to ACL input traffic or just place in VNet
Hosted MongoDB too -
–MongoLab
–MongoDB Inc.
14. Support and Alerts
Custom Admin Tools
Backup and Recover
Performance Analysis –Slow Query Analyzer
Monitoring and Support
16. Replica set hostedon Azurevirtual machines
Replica Set
Driver
Your Application
Replica Sets: High Availability
17. Shards, configservers and mongos (router) hosted on Azure virtual machines
Key range A-D
Sharding: Scalability
Key range E-G
Key range G-Z
Your Application
Mongos (router)
19. azure
topic
verb
options
Command Line Syntax Overview
prompt>
account
account location
account affinity-group
vm
vmdisk
vmendpoint
vmimage
service
service cert
site
config
download
import
list
show
delete
start
restart
shutdown
capture
create
attach
detach
browse
set
username
password
dns-prefix
vm-name
lb-port
target-image-name
source-path
disk-image-name
size-in-gb
thumbprint
value
-v
-vv
20. Automation Support
•
•
Capabilities
•
•
•
•
•
•Fully Customize VM with Data Disks and Endpoint Configuration
•Automate Virtual Network Settings
21.
22.
23. Where to learn more
Tutorial: Building a multi-tier cloud application on Azure using MongoLab, node.js, and Socket.IOhttp://aka.ms/C72pp8
Tutorial: Using MongoDB, Windows Communication Foundation, OData, and PowerBI to build a Business Intelligence solution on Azurehttp://aka.ms/Di7d4r
MongoDB on Azure VM - http://aka.ms/Nnjwgu
Install MongoDB on a virtual machine running Windows Server in Azure: http://aka.ms/Py8c6b
Node.js Web Application with Storage on MongoDB (Virtual Machine): Create an Azure web site that connects to MongoDB running on a virtual machine in Azure: http://aka.ms/Xyzxgd
24. Other Resources
Microsoft Open Technologies Blog: http://msopentech.com/blog/
VM Depot: http://vmdepot.msopentech.com
Azure development: http://azure.microsoft.com
SDKs and Command Line Tools: http://azure.microsoft.com/en-us/downloads/
Azure Training Kit: http://aka.ms/Mjqnk6
Microsoft Web Platform Installer: http://www.microsoft.com/web/downloads/platform.aspx
Web Matrixhttp://www.microsoft.com/web/webmatrix/
Project Kuduhttps://github.com/projectkudu/kudu