I explained before How we can use the Geo-replication on Azure SQL and how is very helpful for SQL replication and failover for more information about this subject check this ➡ Article Today we will use the same services for replicated the azure storage data.

  • Previous articles in azure Storage services
  • What is Geo-Replication
  • Azure Storage replication Types
  • How to Implement Geo-Replication on Azure Storage

IF you need to check all of my azure posts ➡ Latest Microsoft Azure Articles and Posts

Previous articles in azure Storage services

What is Geo-Replication

It is Azure Services used for replicating the data in multiple regions and it is available on all Services Tiers (basic, Stander, Premium) and it provides readable replica secondary.

Azure Storage replication Types

Microsoft provides 6 types of replications depended on the locations and the storage account kind:

  • Locally redundant storage (LRS): (Data will be replicated into 3 rack power inside the local location) LRS is Simple low-cost replication Strategy and the data here replicated (L) Locally on the same data center as we know the data saved on storage unites or by another definition (a rack power) and inside the data center, Microsoft has multiple storage units so when you select LRS this means your data replicated inside the same data center on 3 storage units that’s why it is low-cost replication . for more information check this article.
  • Zone-redundant storage(ZRS) : (Data will be replicated into 3 zones inside the local location) ZRS When you select the location while creating the Storage account each location have multiplied zones in the same region and inside the zone, we have data center so ZRS (Zone-redundant storage) option it means replicating the data synchronously into 3 availability zones inside the primary region for your location. For more information check this article.
  • Geo-redundant storage (GRS): (data will be replicated into 3 Physical locations and inside each location will be replicated to 3 Rack power without accessing the data in the secondary locations) GRS It is one of the disaster recovery solutions because it is replicating the data synchronously into 3 regions (Physical locations) using the LRS (Locally redundant storage) this means if you host data in East US 2 location and you selected to replicate it to West US 2 location the data will be replicated inside the locations as LRS and it will be replicated to another location using GRS but add in your note you will not be able to access the data in the other location unless you do failover so you will access only the primary location. For more information check this article.
  • Read access Geo-Redundant Storage (RA-GRS): (data will be replicated into 3 Physical locations and inside each location will be replicated to 3 Rack power with accessing the data in the secondary locations as Read-only) RA-GRS it is a combination between LRS and GRS it is the same concept of GRS but it will give you the availability to access the data as read-only on the secondary Physical locations. For more information check this article.
  • Geo-zone-redundant storage (GZRS): (Data will be replicated into 3 Physical locations and inside each location will be replicated in 3 zones without accessing the data in the secondary locations) GZRS replicating the data synchronously into 3 Rejoins (Physical locations) using the ZRS (Zone-redundant storage) this means if you host data in East US 2 and you selected to replicate it to West US 2 the data will be replicated inside the location as ZRS on 3 zones in the same location and it will be replicated to the other locations using GZRS but add in your note you will not be able to access the data in the other location unless you do failover so you will access only the primary location. For more information check this article.
  • Read access Geo-zone-redundant storage (RA-GZRS): (Data will be replicated into 3 Physical locations and inside each location will be replicated into 3 zones with accessing the data in the secondary locations as read-only) RA-GZRS it is a combination between ZRS and GZRS For more information check this article

How to Implement Geo-Replication on Azure Storage

  • Open your Azure storage account
  • From the overview, you can know the current replication type
  • If you need to change it you can Select Configuration from the left side
  • In the right side, you will find replication section you can select from it the replication type you need it
  • If you open now the Geo-Replication on the left side
  • You find your data started in the replication with status “prepare for Failover
  • After some time, you will find this Failover button enabled for your action to do failover easily
  • As you can see, I do failover and now the primary center location is central US instead of East US 2
  • Because I am selecting Replication type “Read-access geo-redundant storage (RA-GRS)” and this type give me Read-only access on the secondary location
  • IF I select now the Properties on the left side, I will find the Services endpoint URL for my primary location and another one for my secondary location.

Keep Following Me

One thought on “Azure Storage Geo-Replication

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.