Exercise - Swap deployment slots in Azure App Service

Completed

In this exercise, you deploy a basic HTML+CSS site to Azure App Service with the Azure CLI az webapp up command. Next, you update the code and deploy the change to a staging slot. Finally, you swap the slots.

Tasks performed in this exercise:

  • Download and deploy the sample app to Azure App Service.
  • Create a staging deployment slot.
  • Make a change to the sample app and deploy it to the staging slot.
  • Swap the staging and default production slots to move the changes to the production slot.

This exercise takes approximately 30 minutes to complete.

Before you start

To complete the exercise, you need:

Getting started

Select the Launch Exercise button, it opens the exercise instructions in a new browser window. When you're finished with the exercise, return here to:

  • Complete the module
  • Earn a badge for completing this module

Button to launch exercise.