Configure Fastly on Zephyr
Overview
Fastly's best-in-class edge cloud platform helps you modernize and automate to meet your biggest challenges. Integration with Zephyr enables better margins, higher developer productivity, faster innovation cycles, and enhanced reliability.
Prerequisites
INFO
A registered Fastly account on the 'Usage' plan
A registered Zephyr account
A Fastly site project with a custom domain configured
A registered domain
Integration Setup
INFO
API Token Configuration
Create your token here
Required permissions:
Type: any
Scope: Global API access
Enable Fastly Integration
Navigate to the Organization Level in Zephyr
Select Settings tab, choose Deployment integration and then click on Available
On this page choose Fastly Integration and click on Add integration
Complete the form with:
Click Add Integration
Configure DNS Domain
In Fastly, go to Security > Subscriptions
Click "Secure another domain"
Add two domains:
ze.yourdomain.com
*.ze.yourdomain.com
Click "Add" then "Submit"
You'll see a "Pending verification" status
You will see CNAME records here that you'll need for the next step
Set Up DNS Records
Go to your domain provider (e.g., GoDaddy)
Add the verification CNAME record from the fastly Subscription Details page. Step 6 of the previous section
Wait for domain verification in Fastly
Click "View/Edit" once verified
Create two CNAME records:
Subdomain Type Priority Target ze.yourdomain.com CNAME - t.sni.global.fastly.net *.ze.yourdomain.com CNAME - t.sni.global.fastly.net
Note: Actual target values will be shown in your Fastly dashboard
System Components
The integration creates:
Config store for jwt-secret
KV stores:
ze-snapshots
ze-envs
ze-files
Compute service: ze-worker
Usage Instructions
Create a new Fastly deployment integration
Build a new application with Zephyr
During deployment:
System retrieves site information using provided parameters
Zephyr Plugin uploads build assets to KV stores