Azure DocumentDB Migration tool - using Python
BrijRaj Singh (~brijraj) |
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.
- Python 2.7
- PyDocumentDb Package - https://github.com/Azure/azure-documentdb-python
- MongoDB Installation - https://www.mongodb.com/download-center
Preparing the Dev environment
- Install Git
Install PyDocumentDB Driver from https://pypi.python.org/pypi/pydocumentdb -
pip install pydocumentdb3. 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/
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.
- Azure DocumentDB knowledge - https://azure.microsoft.com/en-us/services/documentdb/
- Azure DocumentDB Migration tool - https://github.com/azure/azure-documentdb-datamigrationtool
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.
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/