Reputation: 25
Let's say I have an azure app service with 4 slots used for production, each one with a 25% traffic.
Is it possible to have just one pre slot and swap it to the four production slots? Or how would you achieve this? We've thought of having 4 pre slots, one for every production slot, but seems a bit of a mess, surely there's a better option to have multiple production slots and the benefits of swapping...
Upvotes: 0
Views: 1291
Reputation: 21883
The concept of slot.
Set up staging environments in Azure App Service
Simply put, when creating a webapp, the default webapp belongs to the Production slot. At this time, we can create other slots.
Under normal circumstances, a test slot is usually created, and the test slot is updated with the latest program, so that the latest program can be deployed during swap. Generally, when the program has new functions, it is used for some users to distribute traffic. When there are different versions of the program that need to be run at the same time, then you can create the same 4 slots as you.
But your 4 slots, you want to achieve the purpose of updating all 4 slots through a swap operation. This is really strange. This is why CSharpRocks asks you in conmment. Because your 4 slots are in the same app services plan, creating 4 slots will not improve performance.
Upvotes: 1