Skip to main content
Huawei Cloud bills each resource by charge mode, whether pay-per-use, yearly or monthly, or covered by a reserved instance. CostGraph shows that spend per resource, region, and enterprise project. CostGraph reads Huawei Cloud as FOCUS 1.2 records at a grain of day x resource x bill type.

Choose how the data reaches us

CostGraph pulls it

You supply a read-only access key and we call Huawei Cloud daily. Nothing to run.

You push it

You send us FOCUS records over the API. Credentials stay in your infrastructure.

Before you begin

  • Check which site your account belongs to. Accounts you sign in to at huaweicloud.com use the international site. Accounts you sign in to at huaweicloud.eu use the europe site. A key from one site does not work on the other.
  • In the Huawei Cloud console, create an IAM user and attach the BSS ReadonlyAccess policy.
  • Under My Credentials > Access Keys, create an access key for that user. Download the credentials file. Huawei Cloud shows the secret access key only at creation.

Let CostGraph pull

  1. Open Integrations and pick Huawei Cloud.
  2. Name the connection and pick the tenant these charges belong to.
  3. Enter the access key ID and the secret access key.
  4. Enter europe as the site if your account is on huaweicloud.eu. Leave it empty for the international site.
  5. Select Connect.
CostGraph verifies the key with a short fetch before saving. If you picked the wrong site, the form tells you which site the key belongs to. Huawei Cloud finalizes each month’s bill on the 4th of the following month, so the current month’s figures are estimates until then.
Credentials are encrypted at rest and used only to read billing data. Revoke the access key in Huawei Cloud at any time and the connection stops. Nothing else is affected.

Push cost data

Send the charges to CostGraph as FOCUS records instead. Push FOCUS data covers the connection id, the focus:write key, and the request shape.

Run the exporter

Rather than build that request yourself, run our exporter. It reads Huawei Cloud on a schedule and pushes the records for you.
Your access key stays where you put it. Only the finished FOCUS records reach CostGraph. Run the exporter covers the ways to run it and the variables it reads.

Cost processing

Records land as raw billing rows, are normalised into line items, and roll up into daily cost. From there Huawei Cloud spend appears in Cost Overview and in anomaly detection alongside every other provider.