BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Minimising downtime
Lesson229 words

Minimising downtime

Plan for minimising downtime during deployments

Three mechanisms, three different levels of the stack.

MechanismLevelHow it avoids downtime
Load balancingNetworkDrain connections from an instance before updating it
Rolling deploymentFleetUpdate in batches; the rest keep serving
Deployment slots + swapPlatform (App Service)Warm up in staging, then swap — no cold start for users

Slots and the warm-up

A slot swap is not a copy: the running, already-warmed staging instance becomes production. Because the app is warm before traffic arrives, users never pay the first-request cost that a fresh deployment imposes.

Two details worth carrying:

  • Swap is reversible — swap back to roll back, which is what makes slots the practical blue-green implementation on App Service.
  • Slot settings are configuration values marked sticky to the slot: they stay put during a swap. Connection strings pointing at staging versus production databases must be slot settings, or a swap sends production traffic at the staging database.

Rolling and maxParallel

yaml
strategy: rolling: maxParallel: 2

With six VMs and maxParallel: 2, four remain in service at all times. Lower maxParallel means less capacity lost per iteration and a longer deployment — that is the trade-off being tested.

Primary sources

  • https://learn.microsoft.com/en-us/azure/devops/pipelines/process/deployment-jobs
  • https://learn.microsoft.com/en-us/azure/app-service/deploy-staging-slots
All Designing and Implementing Microsoft DevOps Solutions (AZ-400) Study Resources

Related Notes

  • Agent and runner infrastructure421 words
  • Agent and runner infrastructure — quick notes150 words
  • Alerting on pipeline events255 words
  • Alerting on pipeline events — quick notes94 words
  • Analyzing usage and application performance241 words
  • Analyzing usage and application performance — quick notes73 words
  • Appropriate access levels217 words
  • Appropriate access levels — quick notes85 words
  • Automating container scanning277 words
  • Automating container scanning — quick notes96 words
  • Automating documentation from Git history191 words
  • Automating documentation from Git history — quick notes55 words

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Designing and Implementing Microsoft DevOps Solutions (AZ-400) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.