Connecting to Fastly
Connect your Fastly account to CloudZero to bring your Fastly cost and usage data into a unified view of all your cloud and SaaS spend. CloudZero organizes your Fastly costs, along with your other costs, into categories (called Dimensions) that matter most to your business. For example: business unit, team, product, feature, environment, customer, or virtually anything else. Once connected and organized, you can quickly answer questions about your spend that matter to your stakeholders.
This guide covers creating a read-only API token in Fastly and configuring the connection in CloudZero.
What you need
- CloudZero user with data configuration permissions
- Fastly account with administrative access
Step 1: Copy your Fastly Customer ID
- In Fastly, navigate to Account > Company settings.
- Copy the Customer ID. You need this in Step 3.
Step 2: Create an API token in Fastly
For full details, see Fastly's API token documentation.
-
In Fastly, navigate to Account > Personal tokens.
-
Select Create Token.
-
Configure the token with the following settings:
Setting Value Type Automation token Role Billing Scope Read-only access ( global:read)Access All services Expiration Never expire (recommended) -
Select Create Token.
-
Copy the API token. You need this in Step 3, and the token is not shown again.
Step 3: Configure the connection in CloudZero
-
In CloudZero, go to Settings > Cloud Connections.
-
Select Create Connection + and select the Fastly tile.
-
Enter a Connection Name.
-
Paste the Customer ID from Step 1 and the API token from Step 2 into the Customer ID and API Key fields.
-
Select Create Connection. CloudZero validates your credentials and creates the connection.
What to expect
After CloudZero validates the connection, the status shows Pending Data. Once CloudZero processes the first data ingest, the status changes to Healthy. Cost data appears in the Explorer within 24 hours.
Have questions or feedback? Reach out to your account manager.
