Skip to content

arthursilvany/azure-orphan-resources

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Orphaned Resources v3.0

The 'Azure Orphaned Resources Workbook' centralize orphaned resources in Azure environments.

The purpose of this workbook is to provide an overview of your orphaned resources, enabling you to enhance eficiency by:

  • Saving money
  • Prevent misconfiguration
  • Simplify operational

image

image

image

image

All the information presented in this Workbook is based on Azure Resource Graph queries.

Resources covered

Tip

💲 This is a sign that the resource costs money

The workbook includes the following kinds of resources:

  • Compute
    • App Service Plans 💲
    • Availability Set
  • Storage
    • Managed Disks 💲
  • Database
    • SQL Elastic Pools 💲
  • Networking
    • Public IPs 💲
    • Network Interfaces
    • Network Security Groups
    • Route Tables
    • Load Balancers 💲
    • Front Door WAF Policy
    • Traffic Manager Profiles
    • Application Gateways 💲
    • Virtual Networks
    • Subnets
    • NAT Gateways 💲
    • IP Groups
    • Private DNS zones 💲
    • Private Endpoints 💲
    • Virtual Network Gateways 💲
    • DDoS Protections 💲
  • Others
    • Resource Groups
    • API Connections
    • Certificates

Resource Deletion

To enable the option to delete resource(s), you need first to enable it on the filter pane.

image

Enable the deletion option will add the '⛔ Delete Selected Resource(s)' button.

image

To delete resource(s), select the resource(s) from the table (1) and click the '⛔ Delete Selected Resource(s)' button (2).

image

  • A Context pane will open with the resource(s) details to approve the deletion.

image

In the View request details you can see the Delete ARM Actions to delete the selected resource(s).

image

Important

Recommended steps before deletion

  • Review the resource(s) information thoroughly before continuing with the deletion.
  • Ensure that the resource(s) is not currently in use.

To delete a resource, you must have Contributor permissions for the Resource Group(s) where the resource(s) are located.

How to use it?

Importing this Workbook to your Azure environment is quite simple.

Follow this steps to use the Workbook:

  • Click on '+ Create'

  • Click on '+ New'

  • Open the Advanced Editor using the '</>' button on the toolbar

  • Select the 'Gallery Template' (step 1)
  • Replace the JSON code with this JSON code orphaned resources JSON (step 2)
    • We use the Gallery Templaty type (step 1), so we need to use the 'Azure Orphaned Resources v3.0.workbook' and not the 'Azure Orphaned Resources v3.0.json'.
  • Click 'Apply' (step 3)

  • Click in the ‘Save’ button on the toolbar

image

  • Select a name and where to save the Workbook:
    • Title: 'Azure Orphaned Resources'
    • Subscription: <Subscription Name>
    • Resource group: <Resource Group Name>
    • Location: <Region>
  • Click 'Save'

image

The Workbook is ready to use!

  • Click on 'Workbooks'
  • Click on 'Azure Orphaned Resources' Workbook.

image

Start using the Workbook and review your orphaned resources.

(Optional) You can filter by:

  • Subscription(s)
  • Resource Group(s)

image

About

Centralize orphan resources in Azure environments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published