Get the API for NoSQL endpoint URI for the account using the az cosmosdb show command. To find other free-tier enabled accounts, see find an existing Azure Cosmos DB free-tier account in a subscription. If you do not see the option to apply the free tier discount, this means another account in the subscription has already been enabled with free tier. You can have up to one free tier Azure Cosmos DB account per Azure subscription and must opt-in when creating the account. Use the az cosmosdb create command to create a new API for NoSQL account with default settings. Use the az group create command to create a new resource group in your subscription. If you haven't already, sign in to the Azure CLI using the az login command. # Variable for account name with a randomly generated suffix ResourceGroupName="msdocs-cosmos-quickstart-rg" You'll use these values in a later step.Ĭreate shell variables for accountName, resourceGroupName, and location. Record the values from the URI and PRIMARY KEY fields. Select Go to resource to go to the Azure Cosmos DB account page.įrom the API for NoSQL account page, select the Keys navigation menu option. Wait for the portal page to display Your deployment is complete before moving on. It takes a few minutes to create the account. Review the settings you provide, and then select Create. With Azure Cosmos DB free tier, you'll get the first 1000 RU/s and 25 GB of storage for free in an account. Select Serverless to create an account in serverless mode.Įnable Azure Cosmos DB free tier. Select Provisioned throughput to create an account in provisioned throughput mode. Use the location that is closest to your users to give them the fastest access to the data. Select a geographic location to host your Azure Cosmos DB account. The name must also be between 3-44 characters in length. The name can only contain lowercase letters, numbers, and the hyphen (-) character. The name will be used as part of a fully qualified domain name (FQDN) with a suffix of, so the name must be globally unique. Select a resource group, or select Create new, then enter a unique name for the new resource group.Įnter a name to identify your Azure Cosmos account. Select the Azure subscription that you wish to use for this Azure Cosmos account. On the Create Azure Cosmos DB Account page, enter the following information: Setting Azure Cosmos DB has six APIs: NoSQL, MongoDB, PostgreSQL, Apache Cassandra, Apache Gremlin, and Table. On the Select API option page, select the Create option within the NoSQL section. On the New page, search for and select Azure Cosmos DB. For this quickstart, we recommend using the resource group name msdocs-cosmos-quickstart-rg.įrom the Azure portal menu or the Home page, select Create a resource.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |