DevOps Basics: Adding a Deployment Slot to an Azure Website

Creating a website on Azure has its perks and is simple to enable. One said advantage is the ability to deploy a “staging” deployment slot instead of simply just deploying a production slot. This capability allows IT Professionals to:

  • Validate website changes before swapping said website to production
  • The previously live site, once swapped, can be backed up as a “last known good site”
  • The swapping ability reduces downtime as traffic is redirected seamlessly 

Deployment / Staging slots required a Standard hosting plan and can be implemented via these few steps:

  1. Navigate to the Azure Management Portal
  2. Navigate to Web Apps
  3. Select the desired website
  4. On the Website Azure Home Page, under Publish you app, select Add a new deployment slot 
  5. As mentioned earlier, the website in question must be deployed in Standard Mode. Click on Upgrade to continue
  6. Click on Standard, then Save to upgrade the desired site
  7. Click Yes to accept changes and continue
  8. On the top of the page, click Dashboard
  9. Click Add a deployment slot
  10. Enter the name of your Production slot and select the staging site you would like to clone. Click the checkmark to continue

Once completed, the added Deployment Slot is created.  The next DevOps Basics post will cover swapping the newly created Deployment site with the Staging site.

Comments (0)

Skip to main content