Reputation: 791
As Cosmos DB cost extra for multi-region write, is it possible to start with single region write and upgrade to multi-region write at a later stage or will that require a database migration?
From the pricing information it looks like the multi-region write pricing kicks in even if you don't have any geo redundancy configured. So it looks like you either have to go with a high cost from the start, or choose to pay the price through a migration at a later stage. Is this a correct observation?
Upvotes: 1
Views: 1671
Reputation: 1027
Multi-region write functionality can be enable after a single region
account has been created. This can be done via the Azure Portal or via Powershell: Set up Azure Cosmos DB global distribution using the SQL API
This applies to the SQL(Core) API.
Powershell example: Replicate an Azure Cosmos DB database account in multiple regions and configure failover priorities using PowerShell
Upvotes: 1