-
In a new browser window, sign in to the Azure portal.
-
Click New > Databases > Azure Cosmos DB.
-
In the New account page, enter the settings for the new Azure Cosmos DB account.
Setting Suggested value Description ID Enter a unique name Enter a unique name to identify this Azure Cosmos DB account. Because documents.azure.com is appended to the ID that you provide to create your contact point, use a unique but identifiable ID.
The ID can contain only lowercase letters, numbers, and the hyphen (-) character, and it must contain 3 to 50 characters.API Cassandra The API determines the type of account to create. Azure Cosmos DB provides five APIs to suits the needs of your application: SQL (document database), Gremlin (graph database), MongoDB (document database), Azure Table, and Cassandra, each which currently require a separate account.
Select Cassandra because in this quickstart you are creating a wide-column database that is queryable using CQL syntax.
If Cassandra (wide-column) is not displayed in your list, then you need to apply to join the Cassandra API preview program.
Learn more about the Cassandra APISubscription Your subscription Select Azure subscription that you want to use for this Azure Cosmos DB account. Resource Group Enter the same unique name as provided above in ID Enter a new resource-group name for your account. For simplicity, you can use the same name as your ID. Location Select the region closest to your users Select geographic location in which to host your Azure Cosmos DB account. Use the location that's closest to your users to give them the fastest access to the data. Pin to dashboard Select Select this box so that your new database account is added to your portal dashboard for easy access. Then click Create.
-
The account creation takes a few minutes. During account creation the portal dashboard displays the Deploying Azure Cosmos DB tile.
Once the account is created, the Congratulations! Your Azure Cosmos DB account was created page is displayed.