DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Connecting to Azure Cosmos DB MongoDB API

4 years ago dzone.com

Summary: This is a summary of an article originally published by the source. Read the full original article here →

by Azure Cosmos DB provides MongoDB API support which means that you can use a language-specific driver to natively connect to Cosmos DB.

I started by creating an Azure Cosmos DB account for MongoDB version 3.6 (the other supported version is 3.2) and grabbed the connection string from the portal.

Azure Cosmos DB provides MongoDB support via wire protocol compatibility and allows you to connect using a single endpoint (see the connection string).

Now I was able to connect to Azure Cosmos DB MongoDB API — Stay tuned for an upcoming blog post where I will dive into MongoDB on Azure Cosmos DB + Go with the help of a practical example!

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com