Skip to content

This project aims on Cost savings to Azure consumers by identifying Unused or Idle Orphan Resources with Azure Cost Optimization best practices. Costly resources such as Application Gateway, App Service plan, PowerBI Embedded capacity, SQL database, Cosmos DB, Storages, etc can be assessed.

License

Notifications You must be signed in to change notification settings

azure-scavengers/Azure-Unused-Orphan-CostOptimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Unused Resource Finder

The Azure Unused Resource Finder shortly known as "Azure Scavengers" is designed to help Azure cloud consumers to find the cost saving opportunities of their Infrastructure. It can perform assessment of multiple subscriptions at a time on different tenants of your Azure resources. It works based on Microsoft's cost optimization best practices defined in the Well-Architected and Cloud Adoption Framework.

Assess your Azure resource types for cost optimization scoped to subscriptions, management groups, or the entire tenant. Get an efficiency score for each subscription and can also provide total potential cost saving opportunity. Leverage cost data to understand optimization potential and can also provide different types of safe and secure remediation possibilities . Also it Incorporates the Azure Advisor recommendations.

Key Benefits

  • Cost Optimization
  • Maximizes cloud resource utilization by identifying unused or misconfigured resources.
  • Cloud Governance
  • Safe and Secure Remediation methods

Table of Contents

Assessment Scope

Type of resources covered in workbook:

  • Application Gateway
    • AppGateways without any BackendPool Target
  • AppService Plan
    • ASPs with No applications
    • ASPs with WebApp/APi/Slots Stopped state(more than 90 Days)
  • Disk
    • Unattached Disk more than 30 days
    • Disk associated in Deallocated VMs
  • Load Balancers
    • LB without any BackendAddressPools
  • Front Door WAF Policy
    • FD without any FrontendEndpointlinks/securityPolicyLinks
  • Traffic Manager Profiles
    • TM without any Endpoints
  • Public IPs
    • PIP without any IPconfigured

More Cost saving Resource Types

Azure Scavengers is a tool contains the combination of powershell and KQL scripts to identify the anomolies and Idle Utilization of azure resources scoped to subscriptions/Management group which you have reader access into. Its automated to execute from an Azure functionapp with specific trigger frequency and the analysis outputs will be ingested to PowerBi/Airtable for dashboard visualization. This tool can be easily adopted in any azure environment with ADO pipeline and provide continuous monitoring capabilities to your resource Utilization.

Mainly focussed on the costly resource types using KQL queries and PowerShell scripts for the Idle Utilization and misconfigurations.

  • PowerBI Embedded Capacity
  • SQL DBs/Managed Instances (single)
  • SQL DBs (ElasticPools)
  • CosmosDB
  • Application Gateways
  • AppService Plan
  • Storages

On demand Cost optimizing automations using azure functions are available based on resource Utilization.

Additional Azure Workbook Offerings

This Azure workbook designed to showcase the Unused or Idle resources running on your environment, also shows the provisioned SKU/Capacities and current state of the resources with the complete lists. You can download the inventory from this workbook and take necessary remediation accordingly. Analysis Method and Remediation recommendations

Dashboard view contains multiple tabs with relevant details

image image

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

Setting up Workbook

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 in the gallery template to the Idle Resource template (step 2)
  • Click 'Apply' (step 3)

  • Click in the ‘Save’ button on the toolbar

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

The Workbook is ready to use! * Click on _'Workbooks'_ * Click on _'Orphan Resources'_ Workbook.

Start using the Workbook and review your orphan resources.
Filter by specific subscription is optional.

image

About

This project aims on Cost savings to Azure consumers by identifying Unused or Idle Orphan Resources with Azure Cost Optimization best practices. Costly resources such as Application Gateway, App Service plan, PowerBI Embedded capacity, SQL database, Cosmos DB, Storages, etc can be assessed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published