
close
close
advertisment
Normally in the application development world, code goes through several phases before it is pushed into production, such as:
You can create these three separate environments in several ways with web apps:
Some organizations like to take things a little further. You can QA your code quite a bit in a test environment but there nothing like running it on a real system … or even with real users. We can do this using deployment slots.
A deployment slot is a release of a web app. On the face, it is a deployment slot of a web app but it is actually a linked and re-release of the original web app. For example, we can have a production web app and create a pre-production version of it. We can then upload new code into the pre-production deployment slot, running in the same app service plan as production, and test it in a couple of ways:
Once we are happy with the quality of code in the deployment slot, we can promote it into production, thus demoting the old production deployment slot to pre-production.
advertisment
I have a single web app, called petri, running in an app service plan, called bww.
An Azure Web App Without Deployment Slots [Image Credit: Aidan Finn]
Version 1 of the Code Running in Production [Image Credit: Aidan Finn]
Creating a New Azure Web App Deployment Slot [Image Credit: Aidan Finn]
The New Deployment Slot Appears [Image Credit: Aidan Finn]
advertisment
Version 2 of the Code Running in the Azure Web App Deployment Slot [Image Credit: Aidan Finn]
It’s Time to Swap Pre-Production with Production [Image Credit: Aidan Finn]
Swapping Azure Web App Deployment Slots [Image Credit: Aidan Finn]
The New Version of Code Is Now in Production in the Azure Web App [Image Credit: Aidan Finn]
More in Microsoft Azure
Build 2022: Microsoft's Intelligent Data Platform Combines Data and Analytics
May 25, 2022 | Rabia Noureen
Microsoft Revises Restrictive Cloud Licensing Policies to Avoid EU Antitrust Probe
May 19, 2022 | Rabia Noureen
Microsoft's Azure AD Conditional Access Service Can Now Require Reauthentication
May 13, 2022 | Rabia Noureen
Microsoft Addresses Cross-Tenant Database Vulnerability in Azure PostgreSQL
Apr 29, 2022 | Rabia Noureen
Microsoft Simplifies IT Monitoring with New Azure Managed Grafana Service
Apr 19, 2022 | Rabia Noureen
Most popular on petri