How to integrate Microsoft Azure with MongoDB?

A step-by-step tutorial about how to integrate popular NoSQL database with cloud compluting service by Microsoft
17 August 2017   1674

What is Microsoft Azure?

Microsoft Azure (formerly Windows Azure) is a cloud computing service created by Microsoft for building, testing, deploying, and managing applications and services through a global network of Microsoft-managed data centers. It provides software as a service (SAAS), platform as a service and infrastructure as a service and supports many different programming languages, tools and frameworks, including both Microsoft-specific and third-party software and systems.

What is MongoDB?

MongoDB (from humongous) is a free and open-source cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemas. MongoDB is developed by MongoDB Inc. and is free and open-source, published under a combination of the GNU Affero General Public License and the Apache License.

How to combine Microsoft Azure and MongoDB?

As announced at MongoDB World ‘17, MongoDB Atlas, the database-as-a-service provided by the creators of MongoDB, is now available on the three major public cloud providers: Amazon Web Services, Google Cloud Platform and Microsoft Azure. 

Thru this tutorial, you will be guided thru these steps:

  • Set up your development environment
  • Create an Azure function in Visual Studio
  • Write MongoDB CRUD queries
  • Connect the Azure function to MongoDB Atlas
  • Test the Azure function locally
  • Deploy the Azure function to Microsoft Azure
  • Configure and test the Azure function running on Microsoft Azure

MongoDB to Change Its Open-Source License

Main reason is the fact many companies uses MongoDB code to provide commercial services 
17 October 2018   490

MongoDB, an open source database management system developer, announced that their product will now be distributed under the Server Side Public License (SSPL). This decision was made because of the large number of providers that used MongoDB code to provide commercial services to customers. At the same time, the creators of the instrument themselves did not receive any deductions.

As the developers claim, for ordinary users working with the public server, nothing will change, the restrictions of the new license will not affect them. However, providers wishing to use the source code of the system to create their own commercial services will either have to purchase a commercial license or provide the community with access to the source code of their development.

The Server Side Public License is not much different from the GNU AGPLv3, under which MongoDB was distributed earlier. A standard developed by database creators affects the SaaS (Software-as-a-Service) distribution model, which has recently become popular. Eliot Horowitz, co-founder of the company, believes that using the new license will help protect and inspire even more open source developers.

Eliot Horowitz said he and his colleagues had a choice. They could make their product completely closed or transfer key files under a closed license. However, the leadership of MongoDB decided that open source makes it possible to create better and safer software, and the use of different licenses in one product prevents the integrity of its perception. As a result, it was decided to create a new type of license.

In this approach, however, there may be opponents. MongoDB is a commercial organization, and, despite an open license, works for profit. Some adherents of Open Source believe that such actions are contrary to the very concept of open source software.

The Open Source Initiative already has a number of different licenses for open source software. However, technology does not stand still, and SSPL may be in demand among developers.