DEV Community

Cover image for Deployment slot
Ugonna
Ugonna

Posted on

1 1 1 1 1

Deployment slot

This article outlines the process of using deployment slot in App service.
A deployment slot in Azure are additional instances of a web application that allow you to create different environments (slots) for testing, staging, or production.
Each slot can have its own configuration, such as AppSettings and Connectionstrings.
The original App Service deployment slot is called the production slot.
Below are the steps for the process:
Go to ugonnaappone, under deployment select deployment slot and click add slot
Image description
In the add slot, name it newfeatures and in clone settings from select ugonnaappone, then click add.
Image description
Originally ugonnaappone has 100% of the traffic
Image description
Then give ugonnaappone-newfeatures 10% traffic and save
Image description
During the testing period, if there was no complain in the 10% and there is satisfaction with the feedback then a swap can be done
Image description
The source can be added to production by clicking start swap. that is swapping the 10% of the newfeature back to production
Image description
Click on refresh it will show that the 10% that was given to the new feature has being swapped to production
Image description
Below is the swapped image
Image description
To create alerts, go to the web app and scrow down. click on monitoring then select alert
Image description
Click create an alert rule
Image description
In signal name, select Http Server Errors. Then click review and create
Image description
Click create
Image description
Go monitoring select enable application insight and click turn on application insights
In the application insights, enable it and click apply
Image description

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay