@dpaisig , Thanks for the great question.
For the WebApp to support deployment slot, Standard, Premium, or Isolated App Service plan (ASP) tier must be used. So, your pricing tier must be Standard and above.
Just to highlight, these deployment slots are live apps with their own host names. App content and configurations elements can be swapped.
For instance, “dev” slot will have a URL - http://website-dev.azurewebsites.net.
- These are fully functionally versions of your app, you can route traffic (%) to any slots as required.
- To limit public access to the deployment slot, you setup
access restrictions- Azure App Service IP restrictions .
-IP restrictions aren’t swapped across the slots.
- Based on your requirement, you can have a one (1)
database shared by staging and production Azure App Service slots.
App setting and Connection strings can be configured to stick to a specific slot.
- On Standard ASP - You can have 1 production and 4 staging slots (DEV/QA/UAT/stg) as described above (as per your requirement).
- In case of the deployment slots, all the staging slots will be in the
same region (in your case Central US/even in my test deployment).
- Yes, on Basic ASP -only SNI SSL connection is available, and
no IP SSL connections included. If you must leverage deployment slots, then the WebApp must be on Standard ASP and above.
I just test deployed my WebApp with deployment slots (WebApp name 'slotwebapp' test and created slots) on Standard ASP tier.
Prod- https://slotwebapptest.azurewebsites.net
https://slotwebapptest-dev.azurewebsites.net
https://slotwebapptest-qa.azurewebsites.net
https://slotwebapptest-stg.azurewebsites.net
https://slotwebapptest-uat.azurewebsites.net
Note: My test App URLs are deleted (now), just shared to help you understand these concepts better.
Hope this helps!
--------------------------------------------------------------------------------------------------------------------------------------------------------------
To benefit the community find the right answers, please do mark the post which was helpful by clicking on ‘Accept Answer’ & ‘Up-Vote’.