Replicating Azure Storage Data

Hi,

In this section, we will go ahead and look how replicate azure storage data.

image

  • Here, I have got couple of options. LRS is by default. LRS is the cheapest option, where in Microsoft is going to keep the data in their data-center.
  • The downside of having LRS if the entire data-center goes down. Then, you won’t be able to access the data till data-center gets restored.
  • In order to rescue from that scenario, ZRS (Zone redundant storage) comes into picture, which is not available in the drop-down but it can be set via powershell. In that case, I will be protected against single data center going down.
  • Next option comes as GRS(Geo-redundant storage). This makes sure that your data center is in different geography itself.
  • This means if entire region goes down, then Microsoft can retrieve your data from different region. This is additional level of protection.
  • If we choose RA-GRS (Read access Geo-redundant storage), then Microsoft will have read access to your data from other area.
  • With other options, Microsoft or azure takes care of your data. You don’t have access to your data specifically. With read access, you have the access.

Failover for storage accounts

  • With this, we can do failover on GRS accounts.
  • I have changed replication to RA-GRS.
  • Now, if I see the properties of this, I can see

image

  • It basically means when your primary datacenter goes out, you can use the secondary datacenter keys to replicate the same data.
  • Currently, at the time of writing, this is preview feature only.

Thanks for joining me.

Thanks,
Rahul Sahay
Happy Coding