Create an Azure Cosmos DB Account
This guide will walk you through the steps to create a new Azure Cosmos DB account using the Azure portal. Azure Cosmos DB is a globally distributed, multi-model database service.
Steps to Create an Account:
Open your web browser and navigate to the Azure portal. Sign in with your Azure account credentials.

On the Azure portal dashboard, click on the + Create a resource button, usually found at the top left corner.

In the "Search the marketplace" bar, type Azure Cosmos DB and select it from the search results.

On the Azure Cosmos DB overview page, click the Create button.

You'll be presented with several configuration tabs. Start with the Basics tab:
- Subscription: Select the Azure subscription to use for the account.
- Resource group: Select an existing resource group or create a new one (e.g.,
myCosmosDBResourceGroup
). - Account name: Enter a globally unique name for your Cosmos DB account (e.g.,
mycosmosdbaccount12345
). This name will be part of the endpoint URL. - Region: Choose the Azure region where you want to deploy your account. Select a region close to your users or applications for lower latency.
- Capacity mode: Choose between Provisioned throughput (manual or autoscale) and Serverless. For new projects, autoscale is often a good choice.
- API: Select the API you want to use (e.g., Core (SQL), MongoDB, Cassandra, Gremlin, Table). Core (SQL) is the default and most common.

Depending on your needs, you can configure settings in the following tabs:
- Global Distribution: Configure multi-region writes and disaster recovery.
- Networking: Set up private endpoints or configure firewall rules.
- Backup Policy: Configure continuous or periodic backups.
- Encryption: Manage encryption keys.
- Tags: Apply tags for organization and management.
For most basic scenarios, the default settings in these tabs are sufficient to get started.
After filling out the necessary information, click on the Review + create button. Azure will validate your configuration.

Review the summary of your settings. If everything looks correct, click the Create button.

The deployment process will begin. It typically takes a few minutes for the Cosmos DB account to be provisioned.
Once the deployment is complete, you will see a "Your deployment is complete" message.

Click on Go to resource to access your newly created Azure Cosmos DB account.