• Docs
Log inTry Fastly free
  • Compute
    • Compute Environment
      • FASTLY_CACHE_GENERATION
      • FASTLY_CUSTOMER_ID
      • FASTLY_HOSTNAME
      • FASTLY_POP
      • FASTLY_REGION
      • FASTLY_SERVICE_ID
      • FASTLY_SERVICE_VERSION
      • FASTLY_TRACE_ID
    • Language SDKs
    • fastly.toml
  • Fastly API
  • Fastly CLI
  • HTTP references
  • Image Optimizer
  • Glossary
  • Change log
  • VCL Reference
  1. Home
  2. Reference documentation
  3. Compute
  4. Compute Environment

FASTLY_CUSTOMER_ID

The customer ID of the Fastly customer account to which the currently executing service belongs. Equivalent to req.customer_id in VCL.

User contributed notes

BETA
powered by community.fastly.com

Do you see an error in this page? Do have an interesting use case, example or edge case people should know about? Share your knowledge and help people who are reading this page! (Comments are moderated; for support, please contact support@fastly.com)

Fastly Developers
  • Products
    • Edge Cloud Platform
    • Pricing
    • Try Fastly Free
    • Network Map
  • Solutions
    • Professional Services
    • Managed CDN
    • Support Plans
    • Talk to an Expert
  • Learn
    • Documentation
    • Developers
    • Resource Library
    • Blog
    • Events
  • Support
    • Support Center
    • Network Status
    • Contact Us
  • Company
    • About Us
    • Careers
    • Partners
    • Press Releases
    • Investor Relations
    • Trust
  • Switch to dark theme
© Fastly 2023
  • Terms of service
  • Privacy policy
  • Acceptable Use
  • Twitter
  • LinkedIn
  • Instagram
  • YouTube