Locking Around The Christmas Tree
This week I presented a Festive Tech Calendar 2021 session about Azure Resource Manager Locks. This post includes a link to the session recording and some accompanying resources.
Azure Resource Manager Locks are a valuable tool in protecting those Resources Santa brought you from accidental deletion. In this video I’ll explain what these Locks are, how you can set them up, and how you can add some automation to make sure your resources are protected not only this festive season but also stop the Grinch from swiping them next December.
The PowerShell snippets used in the session, along with a template to deploy the Storage Account environment, can be found on Github here: github.com
I have also put together an example lab exercise so you can work through creating, testing, and removing Azure Resource Locks: github.com
Some more information on Azure Resource Locks
- Azure Resource Locks: IT Should Just Work
- Automating Azure Resource Locks: IT Should Just Work
- Microsoft Azure Docs - Lock resources: docs.microsoft.com
- Microsoft Learn - Use Resource Locks to protect resources: docs.microsoft.com