Note: as the GDBC 2019 event is completed, the underlying infrastructure will no longer perform the actual disruption.

Denial of service on your application

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.

These are your tasks:

Quick Fix: Manually Scale out

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.

Permanent Fix: Setup Automatic Scaling

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

Permanent Fix: Setup Deployment Slot and routing

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%

Quick Fix Completed