Azure Advisor: Optimizing Azure Resources

Azure Advisor is a personalized cloud consultant that provides proactive, actionable, and personalized best practices recommendations. It helps improve the performance, security, and reliability of resources, and identifies opportunities to reduce overall Azure spend

Introduction

Azure Advisor is a digital cloud assistant that helps you follow best practices to optimize your Azure deployments. It analyzes your resource configuration and usage telemetry, then recommends solutions that can help you improve the cost-effectiveness, performance, reliability, and security of your Azure resources. With Azure Advisor, you can get proactive, actionable, and personalized best practices recommendations. It helps improve the performance, security, and reliability of your resources, as you identify opportunities to reduce your overall Azure spend.

Implementation

Azure Advisor can be accessed through the Azure portal. The Advisor dashboard displays personalized recommendations for all your subscriptions. The recommendations are divided into five categories: Reliability, Security, Performance, Cost, and Operational Excellence.

Here is a PowerShell example of how to get cost savings summary from Azure Advisor:

1
2
# Get cost savings summary from Azure Advisor
az graph query -q "AdvisorResources | where type == 'microsoft.advisor/recommendations' | where properties.category == 'Cost' | extend resources = tostring(properties.resourceMetadata.resourceId), savings = todouble(properties.extendedProperties.savingsAmount), solution = tostring(properties.shortDescription.solution), currency = tostring(properties.extendedProperties.savingsCurrency) | summarize dcount(resources), bin(sum(savings), 0.01) by solution, currency | project solution, dcount_resources, sum_savings, currency | order by sum_savings desc"

This query summarizes the cost savings of each Azure Advisor recommendation.

Conclusion

Azure Advisor is a powerful tool that provides personalized recommendations based on your individual needs. It helps you follow best practices to optimize your Azure deployments, making it an invaluable resource for any Azure user. Whether you’re looking to improve performance, enhance security, increase reliability, or reduce costs, Azure Advisor has you covered.

Learn More

For more information about Azure Advisor, you can refer to the following resources on Microsoft Learn:

These resources provide a wealth of information about Azure Advisor and can help you understand the service better and guide you on how to effectively use it in your projects.