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 ...

Get Hands-On Cloud Solutions with Azure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.