Previous week, we were doing our quarterly Azure Security Assessment when I found that a pretty old VM disk snapshot is sitting there and costing us some decent euros.
I immmediately messaged my manager so that we can look into this:
Digging into another subscription, I did found a database named ‘test’ which had accumulated 208.04 eurors at a timespan of 30 days.
At the time of writing of this article, We have 10 subscriptions in Azure, each containing a considerable amount of resources including Networking resources such as VNets, Subnets, Private Endpoints, NSGs, as well as PaaS services such as Container Apps, Databases , KeyVaults and Storage Accounts.
These subscriptions have been shared with members of different engineering teams, so Keeping track of every resource someone creates, modifies or updates is quite challenging.
Although we have a process in place that require team members to create Infrastructure components using Terraform, raise a PR and have it reviewed before that TF code gets…