Connecting to Fastly
Connect your Fastly accounts to CloudZero to bring your Fastly cost data into a unified view of all your cloud and AI 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 > 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.
What to expect
After you create the connection, the status shows Pending. Once CloudZero processes the first data ingest, the status changes to Healthy. Cost data appears across the platform within 24 hours.
Maintenance and configuration
Fixed IP egress
If your Fastly account only accepts requests from approved IP addresses, select Use fixed IP egress on the CloudZero connection, then add the following addresses to your Fastly IP allowlist:
52.0.118.18052.0.33.11134.207.222.14934.193.111.240100.30.110.23454.85.9.23135.175.48.156100.50.61.179
For how fixed IP egress works, see Fixed IP egress.
Have questions or feedback? Reach out to your account manager.
Updated 4 days ago

