Tier availability
This feature is available for Elite and Enterprise customers. Compare the Platform.sh tiers on our pricing page, or contact our sales team for more information.
Managed Fastly CDN
Back to home
On this page
Instead of starting your own Fastly subscription and managing your CDN yourself, you can take advantage of a Fastly CDN provided by Platform.sh. For example, Dedicated projects include a managed Fastly CDN by default. These CDNs are exclusively set up and managed by Platform.sh.
To modify any settings for a managed Fastly CDN, open a support ticket. To add a managed Fastly CDN to your project, contact sales.
Domain control validation
When you request for a new domain to be added to your Fastly service,
Platform.sh support provides you with a CNAME
record for domain control validation.
To add this CNAME
record to your domain settings,
see how to configure your DNS provider.
Transport Layer Security (TLS) certificates
By default, Enterprise and Elite plans include two TLS certificates, an apex and a wildcard one. This allows for encryption of all traffic between your users and your app.
If you use a Fastly CDN provided by Platform.sh, you can provide your own third-party TLS certificates for an additional fee.
To do so, if you don’t have one, set up a mount that isn’t accessible to the web. Use an environment with access limited to Platform.sh support and trusted users. Transfer each certificate, its unencrypted private key, and the intermediate certificate to the mount. To notify Platform.sh that a certificate is to be added to your CDN configuration, open a support ticket.
If you need an Extended Validation TLS certificate, you can get it from any TLS provider. To add it to your CDN configuration, open a support ticket.
Note that when you add your own third-party TLS certificates, you are responsible for renewing them in due time. Failure to do so may result in outages and compromised security for your site.
Retrieve your Fastly API token
The API token for your managed Fastly CDN is stored in the FASTLY_API_TOKEN
environment variable.
This variable is usually set in the /master/settings/variables
folder of your project,
and you can access it from a shell
or directly in your app.
Note
Older projects may not have the FASTLY_API_TOKEN
environment variable set.
In this case, the Fastly API token is stored in a text file called fastly_tokens.txt
on the server,
typically located at /mnt/shared/fastly_tokens.txt
.