I need to Change Storage account replication from GRS to LRS without Downtime

Arunkumar P 1 Reputation point
2022-04-07T13:10:53.943+00:00

Actually Im System Administrator. we have a Azure account with currently running services. In my classic storage account due to some reasons I need to change the replication option from GRS to LRS without downtime. How to do that and need to change Access tier from Hot to cool without downtime.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,944 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sumarigo-MSFT 45,416 Reputation points Microsoft Employee
    2022-04-08T13:34:42.253+00:00

    @Arunkumar P Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    Adding more information to the above response!

    If you migrate your storage account from GRS to LRS, there is no additional cost, but your replicated data is deleted from the secondary location. If you migrate your storage account from RA-GRS to GRS or LRS, that account is billed as RA-GRS for an additional 30 days beyond the date that it was converted.

    There is no downtime when you switch between different storage redundant options.

    Switch between types of replication

    During a live migration, you can access data in your storage account with no loss of durability or availability. The Azure Storage SLA is maintained during the migration process. There is no data loss associated with a live migration. Service endpoints, access keys, shared access signatures, and other account options remain unchanged after the migration.

    Geo-redundant storage (GRS) copies your data synchronously three times within a single physical location in the primary region using LRS. It then copies your data asynchronously to a single physical location in the secondary region. Within the secondary region, your data is copied synchronously three times using LRS.

    Is there any data loss associated with the migration?
    There is no data loss associated with the migration. During the migration process, you have the same level of durability and availability SLA as you normally do

    For detailed information on Azure Storage Redundancy, please refer to this article: https://learn.microsoft.com/en-us/azure/storage/common/storage-redundancy

    Hot, Cool, and Archive access tiers for blob data (Optimize storage costs by placing your data in the appropriate access tier.)

    Set a blob's access tier" https://learn.microsoft.com/en-us/azure/storage/blobs/access-tiers-online-manage?tabs=azure-portal

    191346-image.png

    SLA for Storage Accounts

    Note: Changing the default access tier setting for a storage account applies to all blobs in the account for which an access tier has not been explicitly set. If you toggle the default access tier setting from Hot to Cool in a general-purpose v2 account, then you are charged for write operations (per 10,000) for all blobs for which the access tier is inferred. You are charged for both read operations (per 10,000) and data retrieval (per GB) if you toggle from Cool to Hot in a general-purpose v2 account.

    Additional information: When you create a legacy Blob Storage account, you must specify the default access tier setting as Hot or Cool at create time. There's no charge for changing the default account access tier setting from Hot to Cool in a legacy Blob Storage account. You are charged for both read operations (per 10,000) and data retrieval (per GB) if you toggle from Cool to Hot in a Blob Storage account. Microsoft recommends using general-purpose v2 storage accounts rather than Blob Storage accounts when possible.

    Please let us know if you have any further queries. I’m happy to assist you further.

    ----------

    Please do not forget to 191318-screenshot-2021-12-10-121802.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.
    0 comments No comments

  2. Alan Kinane 16,811 Reputation points MVP
    2022-04-07T13:38:59.473+00:00

    Changing from GRS to LRS will not involve any downtime (as your data is already locally-redundant as well as geo-redundant) nor will changing the access tier. Both of these can be performed via the Azure portal without downtime.

    https://learn.microsoft.com/en-us/azure/storage/common/redundancy-migration?tabs=portal

    190959-image.png

    1 person found this answer helpful.
    0 comments No comments