web app replication to another region

Matthew Barrett 116 Reputation points
2020-01-09T14:21:54.57+00:00

I need to setup an Azure web app service (http) and replicate the site to another region for failover. I'm going to use Traffic Manager or Front Door to redirect traffic if a region becomes unavailable.

The site will be updated with content or new pages daily, while the source code might remain the same.

Cloning an app service is a one time event. Is there a way to replicate the app service on a daily basis?

Thanks in advanced.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,913 questions
0 comments No comments
{count} votes

Accepted answer
  1. Matthew Barrett 116 Reputation points
    2020-04-02T17:13:24.727+00:00

    We are currently using FrontDoor for regional failure redirection and SQL replication to replicate the data to another region. Since the site cloning is a single event, we will add it to our Visual Studio Online site list for pushing updates.

    Thank you everyone for your suggestions but, we already had the environments suggested in place. I was under the impression that the site would have been affected by all the updates. Since everything is stored in SQL we only have to worry about occasional code updates.

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Ryan Hill 28,636 Reputation points Microsoft Employee
    2020-01-09T16:52:35.573+00:00

    Hi @Matthew Barrett ,

    I would advise you to consider using deployment center or Azure Pipelines to enable continuous deployment for your app code. That way, you can deploy to your primary app service as well as your fail-over. Your app service can be updated each time your code builds successfully.

    If you something isn't clear or you need further assistance with continuous deployment, let me know.

    1 person found this answer helpful.
    0 comments No comments

  2. Matthew Barrett 116 Reputation points
    2020-01-09T20:35:11.413+00:00

    The app code is not changing and does not need to be replicated.

    It is the site content that is changing and needs to be replicated to the secondary site.


  3. NSeth 1 Reputation point
    2020-04-02T16:27:33.677+00:00

    Hi

    You can use the Front Door for the traffic routing between primary and secondary region.
    And use SQL Database or Cosmo DB with Geo-replication between primary and secondary site DB.

    Also,if your site is going to host critical contents then I would also recommend to use Azure Cache for Redis for performance and scalability.

    Please have a look here for further info - https://learn.microsoft.com/en-us/azure/architecture/reference-architectures/app-service-web-app/multi-region

    Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.