
close
close
Normally in the application development world, code goes through several phases before it is pushed into production, such as:
advertisment
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]
advertisment
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 from Aidan Finn
advertisment
Petri Newsletters
Whether it’s Security or Cloud Computing, we have the know-how for you. Sign up for our newsletters here.
advertisment
More in Microsoft Azure
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
System Center 2022 is Now Available with New Datacenter Management Capabilities
Apr 4, 2022 | Rabia Noureen
Most popular on petri
Log in to save content to your profile.
Article saved!
Access saved content from your profile page. View Saved
Join The Conversation
Create a free account today to participate in forum conversations, comment on posts and more.
Copyright ©2019 BWW Media Group