Developers Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


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 Packet.net. 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.

[image]

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.

[image]

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.

[image]

How are costs per cloud calculated

AWS

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

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 https://cloud.google.com/compute/pricing 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

SoftLayer

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

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

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

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

Packet.net

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 (https://www.rackspace.com/cloud/public-pricing). 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 07:50 by cjones

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Acg_cost-reporting-with-clearglass&1710834140