Exercise - Determine your most expensive resource and see trends

Now that you have had the opportunity to learn about the cost analysis tool it's time to put that tool to work. In this exercise, you'll choose one of your Azure subscriptions and identify your most costly resource. You use the cost analysis tool to look at your costs, group them, and narrow results.


You need your own Azure subscription to run this exercise and you may incur charges. If you don't already have an Azure subscription, create a free account before you begin.

Access the Azure portal

To start, sign in to the Azure portal using the following step.

Next, in the Azure portal, navigate to cost analysis.

  1. In the portal search box, type Subscriptions.
  2. In the list of services, select Subscriptions.
  3. In the list of subscriptions, select a subscription.
  4. In the Cost Management area, select Cost analysis.

Group by resource

Next, group your results to resources.

  • Select the Group by list item to view a list of values to filter by and then select Resource.

Adjust date range and granularity

Lastly, adjust results to find your most expensive resources.

  1. Select the Granularity item to view a list of time grain values to filter by.
  2. Select Daily.
  3. Select the date list item (calendar symbol) to view available date ranges and then under Calendar months, select Last 3 months
  4. Note your most expensive resource.
  5. Look for trends in specific resource costs over time.
  6. When looking a specific resource, notice its resource name (resourceID). You'll use the information in a later exercise.