- Log in to the Azure Portal: Open a web browser and navigate to the Azure Portal. Log in with your Azure account credentials.
- Create a New Azure Cosmos DB Account: Once logged in, click the “+ Create a resource” button on the left-hand side or the “+ Add” button from the Azure dashboard. Then, in the search bar, type “Azure Cosmos DB” and select it from the results.
- Configure Cosmos DB Basics:
- Subscription: Choose your Azure subscription.
- Resource Group: Create a new one or select an existing resource group where you want to deploy your Cosmos DB account.
- Account Name: Choose a unique name for your Cosmos DB account.
- API: Select the API you want to use (e.g., SQL, MongoDB, Cassandra, etc.).
- Network and Advanced Options:
- Virtual Network: Choose whether you want to enable or disable virtual network service endpoints.
- Firewall and Virtual Networks: Configure network settings and firewall rules as needed.
- Geo-Redundancy: Select your desired replication strategy and the number of regions.
- Review + Create: Review your settings, and if everything looks correct, click the “Review + Create” button.
- Create: Click the “Create” button to deploy your Cosmos DB account. The deployment process may take a few minutes to complete.
- Deployment Completion: Once deployment is successful, you’ll see a notification. You can also navigate to your Cosmos DB account from the Azure dashboard.
Your Azure Cosmos DB account is now created. You can proceed to create databases, containers, and manage your data within the account.
Please note that you’ll need to set up your databases, containers, and data access policies separately within your Cosmos DB account based on your specific application requirements. The steps above focus on creating the Azure Cosmos DB account itself.