Concurrent Swap?

Mike-E-angelo 591 Reputation points
2022-06-11T15:24:44.083+00:00

I currently have five swappable applications within my environment:

  • gateway/entry/www
  • content server
  • commerce server
  • worker processes (webjobs)
  • events server (signalr)

Each application takes 2 minutes to swap, with two managed agents, that is a 10-minute operation. The amount of time to deploy bothers me, but what concerns me most is the dependencies. As services are being swapped, I basically have services that are not sharing the same versioned code for 2-6 minutes at a time, depending.

The only way I can think of working around this is to offline.htm the gateway/www application, but this is incredibly disruptive for each deployment, especially if it takes 10 minutes to swap all applications.

I am wanting to reach out here for guidance/suggestions on how to best swap all applications in my environment concurrently.

Thank you for any assistance you can provide,
Michael

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,960 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mike-E-angelo 591 Reputation points
    2022-09-19T08:22:22.027+00:00

    I wanted to update this question with an answer as I have finally landed on a path after spending several weeks with Azure Advisors on my Microsoft for Startups plan.

    Looks like what I need is blue-green deployments:
    https://learn.microsoft.com/en-us/azure/spring-apps/concepts-blue-green-deployment-strategies

    And another valuable article that discusses "tagging" environments so Azure DevOps knows which one to deploy to:
    https://learn.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-azure-devops-blue-green-strategy

    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.