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

Gaurav Pandey 56 Reputation points
2021-11-04T12:31:37.52+00:00

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
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,327 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,591 Reputation points Microsoft Employee
    2021-11-09T09:49:56.157+00:00

    @Gaurav Pandey 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.

    0 comments No comments