Can I use a cloud service as my origin server?


#1

Fastly allows you to use cloud services as your origin or backend server. We have instructions for Google Cloud Storage as well as AWS Amazon S3 available.


#2
  • One of the main things to remember when setting up Amazon S3 is to include a default host in the Fastly UI. This step will configure S3 as your backend address, and point Varnish to your specific bucket through the host header.

  • Also, if Surrogate-Control cannot be set on S3, we will honor the x-amz-meta-surrogate-control header set on origin instead.