What are deployment slots?
Deployment slots are parallel containers that exist within an Azure resource, such as App Services. These slots can be used as environments, such as staging, QA, or dev. I leverage slots as a staging environment that can be used to test code being deployed in a production environment. Once you are done with your verification testing, you can switch slots for zero downtime. Now, as I mentioned, you can use them for QA and dev environments but this can create issues with downstream resources such as databases or services. I always prefer and recommend keeping a division between environments, for data security, access, and so on, as you can see in the following daigram:
Deployment slots
Deployment slots:
- They act like an App Service instance
- The main slot is referred to as the production slot
- They can leverage the configuration of App Services
- They are scaled by App Service Plan and are not separate
- The pricing is included with the App Service Plan
- They have their own URL...