Remediation
Important Considerationsβ
- Refer to the official Microsoft documentation for up-to-date guidance on limitations, replication options, and capabilities.
- Always validate replication changes in a non-production environment before applying them in production to avoid service disruptions or data loss.
Switching to Geo-Redundant Storageβ
Azure CLIβ
az storage account update \
--name {{storage-account-name}} \
--resource-group {{resource-group-name}} \
--sku {{sku}}
PowerShellβ
Set-AzStorageAccount `
-ResourceGroupName "{{resource-group-name}}" `
-Name "{{storage-account-name}}" `
-SkuName "{{sku}}"
Note: To migrate to Geo-Zone-Redundant Storage (GZRS), you must first switch the account to GRS. Afterward, you can convert it to GZRS using the migration commands described in the next section.
Conversion to Zone-Redundant Storageβ
A redundancy "conversion" is the process of changing the zone-redundancy aspect of a storage account to convert from LRS to Zone-Redundant Storage (ZRS), or from GRS to Geo-Zone-Redundant Storage (GZRS).
Azure CLIβ
az storage account migration start \
-- account-name {{storage-account-name}} \
--resource-group {{resource-group-name}} \
--sku {{sku}} \
--no-wait
PowerShellβ
Start-AzStorageAccountMigration
-AccountName "{{storage-account-name}}"
-ResourceGroupName "{{resource-group-name}}"
-TargetSku "{{sku}}"
-AsJob