Microsoft Azure (50 Qs)•Part 2: Core Architecture & Implementation (Mid-Level)
What are Azure Deployment Slots in App Service and how do they enable Zero-Downtime deployments?
senior LevelKubernetesSystem Design
In Simple Words: Deployment Slots are live staging environments with their own hostnames:
- Deploy new release version to the
stagingslot. - Warm up instances and run end-to-end integration tests.
- Execute a Slot Swap: Azure instantly swaps the Virtual IP addresses routing production traffic to the new version with zero downtime and zero dropped HTTP connections.
- If bugs are detected, swapping back reverts to the old build instantaneously.