
close
close
Upcoming FREE Conference on Identity Management and Privileged Access Management
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.
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]
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
Microsoft's Azure OpenAI Service Gets New ChatGPT Integration in Preview
Mar 9, 2023 | Rabia Noureen
Microsoft's New Azure Operator Nexus Solution Now Available in Public Preview
Mar 2, 2023 | Rabia Noureen
Microsoft Introduces Fully-Managed Azure Load Testing Service for Developers
Feb 2, 2023 | Rabia Noureen
Azure Native New Relic Service Provides Full Stack Observability To Boost Digital Transformation
Jan 25, 2023 | Rabia Noureen
Microsoft to Roll Out EU Data Boundary Plan for Cloud Services on January 1
Dec 15, 2022 | Rabia Noureen
Most popular on petri