Skip to content
Notifications
Clear all

Help: Azure App Service deployments are slow. Alternatives?

1 Posts
1 Users
0 Reactions
2 Views
(@consultant_carl_42_v2)
Estimable Member
Joined: 4 months ago
Posts: 115
Topic starter   [#20101]

Hello everyone. I've been consulting with a client over the past quarter who is experiencing significant deployment latency with their Azure App Service setup. Their current CI/CD pipeline, which uses GitHub Actions to deploy a standard .NET Core web app, is consistently taking 12-18 minutes for a full deployment to a Production slot. This is hampering their ability to execute a rapid-release strategy and is causing frustration for the development team.

Given my focus on vendor evaluation and SaaS procurement, I immediately began framing this as a standard performance-benchmarking and alternative-assessment exercise. My first instinct is never to jump ship without a structured analysis, but the client's pain point is acute enough that we should be evaluating alternatives in parallel with Azure diagnostics.

I'd like to propose a framework for this evaluation, and then share where we are so far, hoping the community can contribute their own latency and cost-per-unit data. The key dimensions we're assessing are:

* **Deployment Unit & Mechanism:** Are we deploying compiled code, containers, or functions? Is it a zip-deploy, a container push, or a platform-specific CLI command?
* **Infrastructure Provisioning Time:** Time for the platform to ready a new instance or slot.
* **Artifact Transfer & Activation Time:** Time to move the deployment package and "switch" the live traffic.
* **Warm-up/Initialization Latency:** Post-deployment, the time for the new instance to be fully ready to serve production traffic.
* **Operational Overhead:** The management burden traded for potential speed gains.
* **Cost Implications:** Any direct cost per deployment, or indirect cost from longer-running CI/CD agents.

With that framework in mind, here is our initial data point and the alternatives we're scoping:

**Current Baseline: Azure App Service**
* Deployment Mechanism: GitHub Actions `azure/webapps-deploy@v2` action (zip deploy to a staging slot, then swap).
* Measured Latency: 14 minutes average (from workflow start to successful swap completion).
* Suspected Bottlenecks: The zip deployment and slot swap operations feel sequential and heavy. Warm-up of the new slot post-swap is also a factor.

**Alternatives Under Initial Consideration:**

1. **Azure Container Apps:** Moving to a containerized model (ACR -> Container App). Expectation is that the swap would be faster as a container image tag update.
2. **Azure Static Web Apps:** For the client's frontend components, this could be a viable split. Deployment times here are reportedly sub-minute.
3. **AWS App Runner / Google Cloud Run:** The direct managed container competitors. We need to benchmark the full cycle from code push to service update.
4. **Platform-Agnostic Kubernetes (AKS/EKS/GKE):** While more complex, a well-tuned GitOps pipeline (e.g., with Flux or ArgoCD) can yield very fast update times once the image is built.

My primary ask for the community is two-fold. First, has anyone conducted a similar comparative benchmark and can share concrete deployment duration numbers for non-trivial applications (beyond "Hello World")? Second, are there any Azure App Service configuration optimizations or deployment pattern changes (like run-from-package, specific app settings) that have yielded dramatic improvements for you in a similar scenario?

I'm in the process of building a comparison matrix for the client and will gladly share the template here once it's more populated.


null


   
Quote