Get personalized recommendations to optimize your Azure resources.
Azure Advisor is a service that helps you follow best practices to optimize your Azure deployments. It analyzes your resource configurations and usage telemetry to provide actionable recommendations. Advisor recommendations help you increase the security and performance of your services, reduce costs, and improve reliability.
Advisor examines the resources that make up your application, such as virtual machines, storage accounts, and Azure SQL databases, and then provides recommendations that are tailored to those specific resources.
You can access Advisor recommendations through the Azure portal, REST API, and CLI.
Accessing and using Azure Advisor is straightforward. Here’s how:
The Azure Advisor REST API allows you to programmatically retrieve recommendations, manage suppression of recommendations, and integrate Advisor insights into your custom tooling and dashboards.
Key API Operations include:
You can find the full API documentation on the Microsoft Docs.
Example using Azure CLI to list recommendations:
az advisor recommendation list --resource-group MyResourceGroup --resource-type Microsoft.Compute/virtualMachines --resource-name MyVM
Recommendations not appearing: Ensure that Advisor has had sufficient time to analyze your resources. For new resources, it may take a few hours for recommendations to become available. Check that you have the necessary permissions to view recommendations.
Applying a recommendation fails: Review the detailed steps provided with the recommendation. Sometimes, manual intervention or specific prerequisites are required. Consult the linked Azure documentation for detailed guidance.
Recommendation is not relevant: Use the "Suppress" option in Azure Advisor to hide recommendations that do not apply to your specific scenario. You can also provide feedback to improve future recommendations.
A: Advisor recommendations are updated regularly, typically on a daily basis, as Azure analyzes your resource configurations and usage patterns.
A: While Advisor provides guidance, directly automating the application of all recommendations can be complex due to varying impacts. However, you can use Azure Automation or custom scripts with the Advisor API to automate certain actions based on recommendation data.
A: You can suppress recommendations that are not relevant to your specific environment or have been addressed through other means. This helps to declutter your view and focus on actionable insights.