A company runs an App Service app in a PremiumV3 App Service plan. To test feature branches, the app uses nine deployment slots. To reduce costs, management asks you to move the plan to a lower tier. The requirements are:
- The team must keep validating releases in a staging slot before swapping them into production.
- The cost must be as low as possible.
What should you do?
Each App Service tier supports a different number of deployment slots. Before you scale to a lower tier, make sure the target tier supports the number of slots the app already uses. Standard supports only five slots, so an app with nine slots must first remove the extra slots. Standard still supports staging slots, unlike Basic, so the team can keep validating releases before swapping.
- Not correct: Move the app to an IsolatedV2 plan, which supports 20 staging slots. IsolatedV2 supports the slot count, but it is meant for network-isolated workloads and does not reduce costs.
- Correct: Delete slots until the app uses no more than five, and then scale the plan to the Standard tier. Standard supports five deployment slots. Reducing the slot count first allows the scale-down and keeps a staging slot for validation.
- Not correct: Scale the plan to the Basic tier, which has dedicated compute at a lower price. Basic does not support deployment slots, so the staging validation requirement could not be met.
- Not correct: Scale the plan directly to the Standard tier. Any slots beyond the tier limit are removed automatically. The target tier must already support the number of slots the app uses. An app with more than five slots cannot be scaled down to Standard.