How can I provision CosmosDB on a Azure for Students Starter subscription?

Stjepan Buljat 0 Reputation points
2023-02-28T09:34:20.06+00:00

Keep getting errors that my subscription cannot be used for that while this service is part of the free tier.

Any advices?User's image

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,439 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaktiSingh-MSFT 13,271 Reputation points Microsoft Employee
    2023-02-28T11:32:11.18+00:00

    Hi @Stjepan Buljat ,

    Welcome to Microsoft Q&A forum.

    Regarding your question about creation of Azure Cosmos DB in Free tier error for your subscription.

    You can have up to one free tier Azure Cosmos DB account per an Azure subscription and you must opt in when creating the account. If you don't see the option to apply the free tier discount, another account in the subscription has already been enabled with free tier. If you create an account with free tier and then delete it, you can apply free tier for a new account. When creating a new account, it’s recommended to enable the free tier discount if it’s available.

    Note:

    Free tier is currently not available for serverless accounts.

    Azure Cosmos DB free tier is different from the Azure free account. The Azure free account offers Azure credits and resources for free for a limited time. When using Azure Cosmos DB as a part of this free account, you get 25-GB storage and 400 RU/s of provisioned throughput for 12 months.

    To keep your account free of charge, your account shouldn't have any more RU/s or storage consumption other than the one offered by the Azure Cosmos DB free tier.

    For example, the following are some options that don’t result in any monthly charge:

    • One database with a max of 1000 RU/s provisioned throughput.
    • Two containers one with a max of 400 RU/s and other with a max of 600 RU/s provisioned throughput.
    • Account with two regions with a single region that has one container with a max of 500 RU/s provisioned throughput.

    If the option to create a free-tier account is disabled or if you receive an error saying you can't create a free-tier account, another account in the subscription has already been enabled with free tier. To find the existing free-tier account and the resource group it is in, use this Azure CLI script, Find Existing Free-Tier Account.

    Hope this information helps. If this answers your query, do click Accept Answer and Mark Helpful for the same. And, if you have any further query do let us know.

    0 comments No comments