Let's create our first Cosmos DB:
- Open Azure portal (https://portal.azure.com) and click on the Azure Cosmos DB link placed in the left navigation bar:
- Click on the
Create Azure Cosmos DB
button. Fill in the details. Give it a proper name; chooseMongoDB
in the API dropdown. - Create a new resource group by giving the proper names to identify the data and services easily, which also helps with backups and restoring. A resource group is a container that holds related resources of particular Azure solutions. The resource group can include all the resources for the solution, or only those resources that you want to manage as a group. You can deploy, delete, and manage all the resources required for your app within the group.
Choose any location; it's totally your choice. Generally, the decision to choose a location is made based on the number of requests coming from particular regions and we should have the location of our Server located nearby the demanding users...