Change Azure Cosmos Db account from Provisional throughput to serverless

YM185 0 Reputation points
2024-10-31T18:47:26.61+00:00

I am new to cosmos db and I realised after creating my database and after having it running for a while that it would be more cost effective if it would be running a serverless account. Is there a way I can change it? If not what would be the recommended approach to create a new account with the same name and migrate the data over.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,659 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Oury Ba-MSFT 19,426 Reputation points Microsoft Employee
    2024-10-31T23:08:13.38+00:00

    @YM185 Thank you for reaching out.

    Thank you for exploring Azure Cosmos DB, you cannot change an existing Azure Cosmos DB account to a serverless account directly. However, you can create a new serverless account and migrate your data over.You can create a new Azure Cosmos DB account with serverless and migrate your data to the new account.

    See this documentation. https://video2.skills-academy.com/en-us/azure/cosmos-db/how-to-migrate-desktop-tool?tabs=azure-cli

    more info: How to choose between standard (manual) and autoscale provisioned throughput

    Please let me know if you have additional questions.

    Regards,

    Oury


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.