Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Analyze and reduce Azure cloud costs by right-sizing resources, reservations, and spending policies
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
cost-optimization/azure-quick-review.md
1## Azure Quick Review (azqr) for Cost Optimization23Azure Quick Review (azqr) generates compliance and governance reports that identify cost-impacting issues and orphaned resources.45## Create Filters Configuration67Create a `filters.yaml` file to focus the scan on cost optimization:89```yaml10includeSections:11- Costs12- Advisor13- Inventory14- Orphaned15excludeSections:16- Recommendations17- AzurePolicy18- DefenderRecommendations19```2021## Run the azqr Scan2223Execute the scan using Azure MCP or CLI:2425```powershell26# Via Azure MCP (preferred if available)27# Use the extension_azqr tool with subscription and optional resource-group parameters2829# Or via direct CLI:30azqr scan --subscription "<SUBSCRIPTION_ID>" --resource-group "<RESOURCE_GROUP>" --filters ./filters.yaml --output json31```3233## Save Output3435Save all generated files to the `output/` folder:361. Create the folder: `mkdir output` (if it doesn't exist)372. Save the azqr report as: `output/azqr_report_<YYYYMMDD_HHMMSS>.json`383. After the scan completes, delete the temporary `filters.yaml` file3940## Report Output4142The scan generates a JSON report with recommendations categorized by impact level (High/Medium/Low), including:43- Orphaned resources (NICs, disks, IPs)44- Azure Advisor cost recommendations45- Resource inventory46- Cost breakdown by resource4748## Notes4950- azqr provides qualitative governance recommendations51- Always validate findings with actual cost data before making changes52- The tool requires Reader role on the subscription or resource group53- Save reports to `output/` folder with timestamps for audit trail54