Azure DocumentDB Migration tool - using Python

BrijRaj Singh (~brijraj)


4

Votes

Description:

Azure DocumentDB is a NoSQL Database service in cloud. DocumentDB is compatible with MongoDb and developers can write SQL Like queries to work with DocumentDB. During this dev-sprint we will develop a Migration tool to export a MongoDb database to Azure DocumentDb. A windows application exists at the moment to help developers do the migration https://github.com/azure/azure-documentdb-datamigrationtool, we plan to make a python application to help developers achieve the same using Python.

Prerequisites:

  1. Python 2.7
  2. PyDocumentDb Package - https://github.com/Azure/azure-documentdb-python
  3. MongoDB Installation - https://www.mongodb.com/download-center

Preparing the Dev environment

  1. Install Git
  2. Install PyDocumentDB Driver from https://pypi.python.org/pypi/pydocumentdb -

    pip install pydocumentdb 3. Install MongoDB

      For Ubuntu - https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-16-04 
      For Mac - https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/ 
      For Windows - https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/
    
  3. A Sample Mongodb to be ported - https://raw.githubusercontent.com/mongodb/docs-assets/primer-dataset/primer-dataset.json import using command mongoimport --db test --collection restaurants --drop --file ~/downloads/primer-dataset.json

Azure DocumentDb connection will be given on the spot. We'll be starting with a fresh repo at github.

Content URLs:

  1. Azure DocumentDB knowledge - https://azure.microsoft.com/en-us/services/documentdb/
  2. Azure DocumentDB Migration tool - https://github.com/azure/azure-documentdb-datamigrationtool

Speaker Info:

I am a Sr. Technology Evangelist (Open Source solutions) with Microsoft. I have a decade worth of experience in both Microsoft technologies as well as with open source technologies. I have architected highly scalable and reliable solutions using Open source technologies. I regularly speak at 3rd party conferences including the local PyDelhi Chapter. I love to work with technologies that make developers lives easy, every now and then a new product comes out that makes the processes more easier, my job is to bring that knowledge to devs and make our lives simpler, because there are better things to do than to write code.

Speaker Links:

http://www.developermarch.com/developersummit/session.html?insert=BrijSingh1 http://www.developermarch.com/developersummit/session.html?insert=BrijSingh2 http://www.unicomlearning.com/2016/Test_Automation_Agile_Testing_and_DevOps_Summit_Delhi/ Contributor to - https://github.com/Azure/azure-quickstart-templates/

Section: Infrastructure
Type: Dev Sprint
Target Audience: Intermediate
Last Updated:

Hello Brijraj, Please add information for setting up developer environment. Thanks!

UltimateCoder (~ultimatecoder)
The comment is marked as spam.

Ricaeur Mone (~ricaeur)
The comment is marked as spam.

Colin Cooper (~colin)

Login to add a new comment.