It is a big day. A new marketing presentation around some new products is planned. During the presentation, in the excitement, the presenter announces a great deal. Special Batman headlights .. for free... if you go to the website right away. It is a huge success but... The success is so big that the website starts slow down dramatically because of the many users accessing the site.
The website is down, Sales cannot proceed. A quick and dirty fix is needed. Go to the Azure Portal and find your web application. Go to Settings -> Scale Out (App Service plan). Add one Instance of your app by draging the slider to the right.
Make sure App Insights is turned on for the app service plan. Go to the Azure Portal and find your web application. Go to Settings -> Scale Out (App Service plan). Enable autoscale and choose a custom metric to scale based on server response time
Go to the Azure Portal and find your web service. Go to Deployment -> Deployment Slots. Add a deplyment slot. choose a new name and clone settings from the production slot. Setup a new environment in the release pipeline in Azure DevOps and run a deplyment to the new slot. Go back to the Azure Portal and the app service, Deployment -> Deployment Slots. Shape the traffic to offload the first slot by adding a routing procentage to the second slot, ex 50%