Cost reporting with ClearGLASS

ClearGLASS provides cost analysis for your VMs on all public clouds it supports. This includes EC2, RackSpace, SoftLayer, GCE, DigitalOcean, Linode, Azure, Vultr and It also gives you the ability to tag any other server (including KVM/vSphere VMs, Docker/OpenStack and single servers) so that they are calculated on the total cost.


Add your clouds on ClearGLASS and on the main dashboard you will see a 'Total Cost' widget which indicates the price your infrastructure costs if it runs for 1 month. The estimation is updated in real time, so as you add clouds/machines you will see this number getting re-calculated.

The cost per VM is also displayed on the machines listing on it's own column.


Manually setting monthly prices

Prices are calculated through the API with the provider and may not include all costs (eg extra bandwidth, disk blocks used). If you are aware that a VM costs you a different price than the one displayed, or if you want to set a price on a VM that has not received one (eg OpenStack, KVM, other server etc) you can have the VM appear on the pricing list with the correct value by setting a reserved tag cost_per_month with an integer value.

Enter the page for the VM and select TAGS. Now add cost_per_month as the tag, and set the price. This will set the price that ClearGLASS will show for the server and will be included on the total cost estimation.


How are costs per cloud calculated


AWS charges different prices per VM type, region and OS type (linux, windows, redhat, windows sql). These prices are returned through different API calls by AWS and are taken under consideration by ClearGLASS to calculate the cost per VM. Reserved Instances are not supported for now.


GCE provides different prices per VM type, region and OS type. Moreover it applies a 30% discount if a VM runs for the whole month. The discount does not apply on preemptible sizes. This complicated pricing is described in ClearGLASS takes under consideration the size, location and OS type and tries to provide a realistic cost estimation for each VM, also applying the 30% discount since the cost estimation price is for the VM running on the whole month


Complete cost report is returned for Virtual Servers and Bare Metal servers. This takes into consideration the different items SoftLayer charges, which includes RAM, CPU, DISK, OS, Bandwidth and extra ips that are ordered/assigned for each server. These costs are returned through the SoftLayer API.


DigitalOcean offers specific sizes per region with the same price per size across regions. ClearGLASS takes under consideration these prices and returns the cost estimation. Additional charges may include block storage and backup functionality that aren't currently included on the cost stimation.


Linode offers clear sizes where 'CPU, transfer, storage, and RAM are bundled into one simple price'. Additional charges may be exceeding monthly network transfer quote, backup, loadbalancer and additional IPs and are not included on ClearGLASS cost calculation.


Vultr VM metadata returns a cost_per_month price, which is what ClearGLASS displays. Additional charges as block storage are not included.

Packet offers specific plan sizes with specific prices across all regions. Charges for extra storage that can be ordered are not taken under consideration by ClearGLASS.

Rackspace cloud

Rackspace charges different prices per VM across regions, for different VM sizes. OS images also are charged by Rackspace, and there are different OS types as Linux, Windows, Redhat. ClearGLASS takes into consideration the size, region and os type of the VM and tries to calculate the price for Rackspace accounts with Managed Services plans ( Rackspace legacy pricing is also calculated through hard coded prices still found on Rackspace site.

content/en_us/cg_cost-reporting-with-clearglass.txt · Last modified: 2018/03/14 13:50 by cjones