question

GauravPandey-7647 avatar image
0 Votes"
GauravPandey-7647 asked PramodValavala-MSFT answered

Need help on setting up DR solution for Azure Functions using Backup and restore options.

Hello Team,

I was setting up the DR solution for Azure Functions across paired region, so I found in Microsoft documentation only two patterns for DR which are Active/Active and Active/Passive.

So in both the above pattern we need to deploy the Azure Functions in Primary & Secondary region, where as I was looking for something with Back up and restore solution as explained below:

Scenario: We can just provision Azure Functions in primary region with a scheduled backup with frequency which meets the RPO of the application in GRS-storage account and during DR, we can just deploy Azure function in secondary region and point it to storage account, but I didn't find anything related to this in Microsoft documentation.

Kindly confirm will above back up and restore solution for Azure Function app will work or not?

Regards,
Gaurav Pandey.


azure-functions
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered

@GauravPandey-7647 There are a couple of things to consider before going this path

  1. Functions don't really cost much if they aren't being executed (passive) apart from minimal storage costs if using a separate storage account. This is assuming consumption tier of course.

  2. Backup and restore doesn't make a lot of sense to me here. You would already have the code deployed as part of your DevOps Infra (say releases for a GitHub repository).

So, if you are on a different tier then you could spin up a new instance on-the-fly in the secondary region when required, with the code that you already have in your DevOps Infra.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.