So, let's get started with the MongoDB API. First, we need to create a Cosmos DB instance in the Azure portal:
- Either find Azure Cosmos DB in the menu or go to Create a resource and find Cosmos DB.
- The blade that opens is a bit different than what we're used to. First, you have to select a subscription.
- Select or create a resource group.
- Fill out a name for your account; this has to be unique across all of Azure.
- Select the API you want to use; in this example, we want to use MongoDB.
- Pick your location.
- Leave Geo-Redundancy and Multi-region Writes disabled.
- When you have everything filled out, you can click Review + create. This will take you to the Summary tab. Alternatively, you can click the Next: Network button instead, which will take you to the Network tab.
- On the Network tab, you can create a virtual network, which allows...