Click here to Skip to main content
14,969,930 members
Articles / Hosted Services / Azure
Posted 25 Oct 2018

Tagged as


2 bookmarked

Azure Cost Management with Cloudyn

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
25 Oct 2018CPOL5 min read
What exactly is Cloudyn and why do you need it?


Cloudyn is a Microsoft subsidiary. It has similar functions to Azure Cost Management (ACM). Cloudyn uses dashboard reports to help with usage monitoring, spending and cost allocation for Azure, as well as Amazon Web Services, Google and other cloud service providers. Dashboards, essentially a collection of widgets, provide a high level view of reports and these dashboards can be easily customised to the needs of your organisation.

Image 1

Why Is It Important to Monitor Usage and Spending?

It’s important because an organisation pays for the cloud resources it consumes over time. The Cloudyn dashboard reports show cost allocation, as well as identify underutilised cloud resources, which you can then adjust in order to use your resources more effectively. For example, you can identify and remove idle virtual machines (VM) and unattached disks to improve efficiency. It’s important to monitor usage as once usage is greater than that set out in agreement thresholds, costs can increase very rapidly.

But Why Does Monitoring Have to Be Automated?

It doesn’t have to be; however, there are a number of factors which make ad hoc monitoring challenging. First, when costs are estimated based on average usage, it works on the assumption that usage is consistent over a billing period, but this is frequently not the case. However, using Cloudyn’s reports enables you to monitor usage, costs and trends and if you use over time reports you can easily detect any deviations from the normal level of usage. Also, once trends have been identified, they can be used to more accurately predict future costs. Furthermore, once costs are reaching or threatening to exceed your set budget, then it’s important to get notifications warning you of this. Notifications can help you to adjust your spending and avoid a possibly rapid increase in costs. You can also be alerted if unusual spending occurs.

Using Cloudyn to Manage Costs

Image 2

First, historical data can be used to predict future usage and costs using Cloudyn’s projected cost reports. Also, you can tag your entities, accounts and resources in order to refine your cost allocation. Subscriptions can be allocated to different cost entities and then an Actual Cost Analysis takes all of your spending and aggregates it over a period of time. Cost Manager can in this way be used to provide additional information about where and on what your money is being spent.

Image 3

The information contained in Sizing Optimization and Inefficiency reports can be used to make your data usage more efficient and thus, reduce costs.

Different Types of Cloudyn Reports

There are three main types of Cloudyn reports: Over Time reports, Analysis reports and Tabular reports.

  • Over Time reports show a time series of data over a selected interval. You can use grouping and filtering to look at specific points of interest in more detail. Over Time reports are useful for looking at overall trends, as well as anomalies and spikes.
  • Analysis reports show aggregated data over a period of time. They also allow grouping and filtering and can be used to show the underlying causes of anomalies.
  • All reports can be viewed as a table, but some reports can only be viewed in tabular form. For example, recommendations are a tabular report.

You can schedule any report to be delivered periodically. Furthermore, Cost reports include setting a threshold so they can be used for alerts.

Reports and Reporting Features

The Cost analysis report calculates your showback and chargeback, based on your policy. You choose a time frame and the Cost Analysis report aggregates your cloud consumption during that time period, after having applied all allocation rules to your cost. It can also be used to view costs by tag categories.

The Cost over Time report displays the results of cost allocation as time series. Using this report will allow you to identify trends and any spikes or irregularities in your deployment and help you to understand why there was a cost increase for a specific instance.

The Actual Cost Over Time report distributes cost over a specified period of time and it allows you to observe trends and identify spikes or anomalies. It also allows filtering and grouping. For example, the image below shows filtered services on an Actual Cost Over Time report.

Image 4

The Current Month Projected Cost report shows your costs from the beginning of the month, from the previous month and the total projected cost for the current month. The sum of the up-to-date monthly coast and a forecast based on the cost monitored in the previous 30 days is used to calculate the current month projected cost. It can be used to project monthly costs by service or by account.

Image 5

The Annual Projected Cost report enables you to look at projected costs for a year, based on previous spending trends. The projection is made using a trend function which is extrapolated for the next 12 months based on the costs in the previous 30 days.

Optimizer reports can be used to improve efficiency by optimizing usage and also to reduce the cost of your cloud resources. A common problem for organisations is their virtualization strategy. When organisations first move their resources to the cloud, they often use a similar approach as they did when they created virtual machines (VM) for the on-premises virtualization. However, this can be a costly approach as moving large or idle VMs to the cloud will most likely increase costs. Optimizer reports are very useful in identifying these large, idle or under-utilised VMs.

The Cost Effective Sizing Recommendations report will identify the possible annual savings by comparing VM instance type capacity to their historical CPU and memory usage data.

Image 6

Finally, you can export data from any report or you can schedule any report to get sent out as an email.


  • 25th October, 2018: Version 1


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Chief Technology Officer The DataWorks
United Kingdom United Kingdom
Allen is a consulting architect with a background in enterprise systems. His current obsessions are IoT, Big Data and Machine Learning. When not chained to his desk he can be found fixing broken things, playing music very badly or trying to shape things out of wood. He runs his own company specializing in systems architecture and scaling for big data and is involved in a number of technology startups.

Allen is a chartered engineer, a Fellow of the British Computing Society, and a Microsoft MVP. He writes for CodeProject, C-Sharp Corner and DZone. He currently completing a PhD in AI and is also a ball throwing slave for his dogs.

Comments and Discussions

-- There are no messages in this forum --