Getting Started with AnyCost Stream (Beta)
The AnyCost Stream feature is in beta. Contact your CloudZero representative to request access.
An AnyCost Stream Adaptor automates the flow of cost data into CloudZero by allowing you to send data from any cost source to the CloudZero REST API.
To set up an AnyCost Stream connection, complete the following steps:
- Register the connection in the CloudZero UI.
- Write the code that powers the Adaptor.
- Send cost data to CloudZero.
Prerequisites
- Ensure you have the Organizer role so you can create a new connection in CloudZero.
Step 1: Register the Connection in the UI
First, you must register your AnyCost Adaptor as a Billing Connection in the CloudZero UI.
- In CloudZero, navigate to Settings by selecting the gear icon in the top navigation bar.
-
Select the Add Connection button.
-
Select the AnyCost Stream tile and select Get started.
-
Enter a Connection Name. This is the name you will see in the CloudZero UI. The connection name is typically used to distinguish between accounts, environments, and/or instances of the AnyCost adaptors. It cannot contain spaces, periods, or special characters (except for hyphens and underscores).
For example, if you are sending cost data from a service called Simple Cloud for both your production and dev environments, the connection name might be
simple-cloud-prod
. -
Enter the Cloud Provider. For example, if your AnyCost Stream Adaptor will send cost data from a service called Simple Cloud, the cloud provider would be
Simple Cloud
. -
Select Save.
Once created, your AnyCost Stream connection appears in the Billing Connections table of the Cloud Integrations page.
Step 2: Write Code to Create a Custom Adaptor
Next, you must write the code to create the AnyCost Adaptor. For instructions, see Creating AnyCost Custom Adaptors.
Step 3: Send Cost Data to CloudZero
Finally, you can start sending cost data to the CloudZero AnyCost API. For details, see Sending AnyCost Stream Data to CloudZero.
After you send cost data to the CloudZero AnyCost API, CloudZero processes the first ingest of data and the Status changes from Pending Data to Healthy. This can take several hours.
If your AnyCost Stream Adaptor is not sending data correctly, the Status is updated with details about the error.
Note that it can take up to a day to synchronize new accounts before you see cost data in the Explorer.