# About cloud billing integration

By default, PerfectScale pulls the "Shelf" prices from the public cloud providers' pricing API. However, for a higher level of granularity, more accurate tracking of resource consumption, and the actual cost of your K8s, PerfectScale allows pulling usage and billing information directly from your cloud provider through the integration.

Leverage the most detailed source of information about the costs and usage of cloud computing services (like AWS CUR or Azure Cost Management), including billing, discounts, reserved resources, and free credits.

{% hint style="warning" %}
**This feature is only available for Advance and Expert Plan users. To upgrade your subscription level, contact** [**support@perfectscale.io**](mailto:support@perfectscale.io) **or use the** [**PerfectScale Slack Community**](https://perfectscalecommunity.slack.com/)**.**
{% endhint %}

With the cloud billing integration, PerfectScale will provide you with a clear picture of resource allocation based on your unique billing conditions and give you accurate pricing of your Reserved Instances,  Savings Plans, and more. This will give you a comprehensive view of the K8s cost optimization process and help prioritize the actions to ensure they make the most significant impact.&#x20;

{% hint style="info" %}
Use the following guides to effortlessly integrate your usage and billing information depending on your cloud provider:\
[AWS](https://docs.perfectscale.io/2.0-self-hosted-or-perfectscale-documentation/integrate-cloud-billing/connecting-aws-cur)\
[Azure](https://docs.perfectscale.io/2.0-self-hosted-or-perfectscale-documentation/integrate-cloud-billing/connecting-azure-cost-management)

\
💡 In addition, DoiT customers can pull [**DoiT pricing**](https://docs.perfectscale.io/2.0-self-hosted-or-perfectscale-documentation/integrate-cloud-billing/doit-pricing) data to PerfectScale directly from DCI.
{% endhint %}

After enabling cloud billing, the `Pricing source` on the `Overview` screen updates to Cloud Provider along with the connection status indication (green for connected or red if the connection failed).

{% hint style="info" %}
If PerfectScale experiences an issue with the cloud billing connectivity, it will inform you with a banner that the connection was lost. PerfectScale will then use Shelf Price until the issue is resolved.![](https://content.gitbook.com/content/zCh9aABpk7yLeToPr6vk/blobs/pMBDjm1W1dgQEXfpfOj4/image.png)
{% endhint %}

{% hint style="success" %}
If you have a global discount for on-demand nodes that isn’t included in your custom cloud billing, you can apply it in addition to your AWS CUR, Azure Cost Management, and other integrations. Learn more on the dedicated cloud billing integration pages.<br>

:bulb: For [**DoiT customers**](https://docs.perfectscale.io/2.0-self-hosted-or-perfectscale-documentation/integrate-cloud-billing/doit-pricing), **this discount is applied automatically** without any additional configuration.
{% endhint %}
