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

  1. In Fastly, navigate to Account > Company settings.
  2. 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.

  1. In Fastly, navigate to Account > Personal tokens.

  2. Select Create Token.

  3. Configure the token with the following settings:

SettingValue
TypeAutomation token
RoleBilling
ScopeRead-only access (global:read)
AccessAll services
ExpirationNever expire (recommended)
  1. Select Create Token.

  2. Copy the API token. You need this in Step 3, and the token is not shown again.

Step 3: Configure the connection in CloudZero

  1. In CloudZero, go to Settings > Connections.

  2. Select Create Connection + and select the Fastly tile.

  3. Enter a Connection Name.

  4. Paste the Customer ID from Step 1 and the API token from Step 2 into the Customer ID and API Key fields.

    Fastly connection setup screen in CloudZero showing Connection Name, Customer ID, and API Key fields
  5. 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.180
  • 52.0.33.111
  • 34.207.222.149
  • 34.193.111.240
  • 100.30.110.234
  • 54.85.9.231
  • 35.175.48.156
  • 100.50.61.179

For how fixed IP egress works, see Fixed IP egress.

ℹ️

Have questions or feedback? Reach out to your account manager.


Did this page help you?