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

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay