Skip to content

FOCUS billing export

  • BilledCost by service, region, sub-account and charge category
  • Per-resource spend, from a resource-level export
  • Credits and refunds as their own charge category

Method: Billing Export (S3 / GCS / Azure Blob), FOCUS CSV URL, or FOCUS CSV upload

This connector reads a FOCUS-conformant billing export. Set it up one of three ways: point it at a cloud billing-export bucket for per-resource spend, paste a FOCUS CSV URL for a simpler, bucket-free setup, or upload a FOCUS CSV file directly.

Bucket-backed export (recommended — unlocks per-resource spend):

  1. AWS: In Billing and Cost Management, go to Data exports > Create. Choose the “Standard data export” type with CUR 2.0 as its table.
  2. Turn on the resource ID column. This is what unlocks per-resource spend in Plutus, and it can’t be added retroactively — an export created without it has to be re-created, and only collects resource detail from that day forward.
  3. Set time granularity to Daily or Hourly. Either works; Hourly produces a much larger export and is only worth it if you need hour-level detail.
  4. Set compression to Parquet or gzipped CSV — Plutus reads both. Leave “Overwrite existing data export file” on. With it off, AWS keeps every past execution in the bucket and the bucket grows without limit.
  5. Choose or create the delivery S3 bucket, then note its name, the prefix you gave the export, and its region — you’ll enter these in Plutus.
  6. Grant your existing PlutusCostReader role s3:GetObject and s3:ListBucket on that bucket. This is the same cross-account role the AWS connector uses, with no new credential to create. Set billing_export_bucket on the Terraform module, or the BillingExportBucket parameter on the CloudFormation stack — left empty, neither grants anything on S3.
  7. GCP: In Billing, go to Billing export > FOCUS export to Cloud Storage, then note the bucket and prefix it writes to. (The BigQuery billing export is a different feature and belongs on the GCP connector, not here.)
  8. Azure: In Cost Management, go to Exports > Create, and choose the FOCUS dataset with a storage account container as the destination.
  9. In Plutus, open the FOCUS connector and enter the Export Bucket, Export Prefix, Bucket Region, and Role ARN (for S3-backed exports) from the steps above. Leave Export URL blank.
  10. Save. AWS writes the first export within 24 hours of creating it, so the first sync immediately after setup may look empty — that’s the export not having landed yet, not a connection problem.

FOCUS CSV URL (no bucket, no per-resource spend):

  1. Get the stable HTTPS URL your provider publishes its FOCUS-conformant CSV at. Gzip-compressed files (.csv.gz) are handled automatically.
  2. In Plutus, open the FOCUS connector and paste the URL into Export URL. Leave the bucket fields blank.
  3. If the endpoint requires authentication, enter the full header value (for example, Bearer <token>) in Authorization Header.
  4. Save. Plutus re-downloads the export on every sync, so a presigned URL has to either not expire or be refreshed by your own tooling.

FOCUS CSV upload (no hosting, no scheduled sync):

Use this for cost data from a vendor Plutus has no connector for, when you have a file and nothing to host it on.

  1. Prepare a FOCUS CSV (FOCUS 1.0 to 1.3) in a single currency. It needs the BilledCost, BillingCurrency and ChargePeriodStart columns. Rows missing ServiceName, a cost or a date are skipped and counted.
  2. In Plutus, go to Sources, open the Cost tab, and select FOCUS billing export.
  3. Under Or upload a file, click Choose a FOCUS CSV and select the file. The limit is 25 MB and 200,000 rows. For a larger export, split it by month and upload each part, or use the bucket-backed export above.
  4. Plutus validates the file the same way it validates a URL or bucket export. A file that fails validation is rejected with the reason and nothing is imported. On success, Plutus shows the number of rows imported, the date range they cover and the currency. It also shows how many rows were skipped for a missing cost, service or date.

Uploads are refused with a 403 (SPEND_LIMIT_ENFORCED) while the account is over its plan’s enforced spend limit. See Plans & tiers. Parsing also caps the length of a single field, the number of cells in a row and the total number of cells in the file. A file over a cap is rejected as not a valid FOCUS export.

Uploading again replaces every day from the first to the last date in the new file and leaves days outside that range alone, so re-uploading the same file doesn’t double count, and you can fix a month by re-uploading it.

Upload and URL or bucket pull are mutually exclusive on one account. A scheduled pull replaces its whole retention window on every sync, which would delete uploaded data. If the connection already has an export URL or bucket, uploads are refused until you disconnect it, which removes its collected data. A connection created by upload has no export to pull, so Sync now is unavailable. To change data, upload again.

Only BilledCost (the actual charged amount) is imported, broken down by service, region, sub-account and charge category (Usage/Purchase/Tax/Credit/Adjustment) where present in the export. Provider-specific x_* extension columns are ignored.

BillingCurrency is required on every export, including URL and bucket exports. Cells containing NULL or N/A are treated as empty.

URL and bucket exports can be CSV or Parquet. Uploads accept CSV only.

Per-resource spend comes from any export with a ResourceId column, on paid plans. A bucket-backed export reads it from the export manifest, so restated months replace rather than add to earlier ones.