How the data flows
- OVHcloud writes a FOCUS CSV to your bucket every day, under
<nichandle>/YYYY/MM/DD/focus.csv. - Costory matches every export with
<nichandle>/*/focus.csv. - Take last file keeps only the newest export, because each file is a full snapshot. Adding up every daily file would count the same charges several times.
- Each daily refresh replaces the previous OVHcloud load in Costory with that newest file.
Prerequisites
- A Costory account with permission to manage integrations.
- An OVHcloud API token allowed to call the
/finopsroutes. See the OVHcloud billing export guide. - An AWS S3 bucket or a Google Cloud Storage bucket that receives the export. Costory reads OVHcloud files from these two providers.
1
Create write credentials for OVHcloud
OVHcloud writes to any S3-compatible bucket with an access key and a secret key. It needs
s3:ListBucket on the bucket, and s3:PutObject and s3:AbortMultipartUpload under the export prefix.- AWS S3: create an IAM user with a policy that grants those three actions on the bucket, then create an access key for it. The endpoint is
s3.<region>.amazonaws.com. - Google Cloud Storage: create a service account with Storage Object Creator and Storage Object Viewer on the bucket, then create an HMAC key for it. The endpoint is
storage.googleapis.com.
2
Create the OVHcloud billing export
Call
POST /finops/bucketExport on the OVHcloud API (for example https://api.eu.ovhcloud.com/v2) with a targetSpec that contains bucketConfiguration:- Keep
periodonDAILYandfilePolicyonCREATE, so each day lands in its own dated folder. - Write
endpointURLwithouthttps://. pathPrefix: "./"writes at the bucket root. With another prefix, add it in front of the path in Costory.
GET /finops/bucketExport/{id} until the status is READY. Wait for the first focus.csv to appear after exportHour (UTC).3
Grant Costory read access
- AWS S3: create the S3 read policy and the IAM role that trusts Costory. The Costory form shows both JSON documents, prefilled with your bucket name.
- Google Cloud Storage: grant Storage Object Viewer on the bucket to the Costory service account shown in the form.
4
Open the OVHcloud tile
In Costory, go to Integrations, click + Add integration, then choose OVHcloud under Billing.
5
Enter the bucket path and validate
Pick the Storage provider, then set File path to
<bucket>/<nichandle>/*/focus.csv, for example my-ovh-billing/ab12345-ovh/*/focus.csv. Add the Role ARN for S3. Leave Take last file on and Provider name on OVHcloud. Click Validate, then Save.6
Map the FOCUS columns
Costory reads the CSV schema and pre-selects the matching FOCUS columns, since the OVHcloud export already uses FOCUS names. Check that Billed Cost and Charge Period Start are set, then save the mapping to start the import.
What Costory includes
- Every row of the newest
focus.csv, with the service, SKU, resource, region, and tags OVHcloud provides, mapped to Standard Columns. - Provider shows as
OVHcloudin Explorer. - Older daily files stay in your bucket. Costory ignores them while Take last file is on.
Troubleshooting
Related pages
Custom FOCUS
All FOCUS sources and the file path options.
Billing Data
All billing providers and shared setup notes.
Nebius billing
Another FOCUS export read from a bucket you own.
Explorer
Filter and group OVHcloud spend with the rest of your stack.
