Blog post: Storage API now supports Amazon CloudFront

Storage API now supports serving with Amazon CloudFront.

CloudFront is the CDN for Amazon S3. It has 14 edge locations:

  • United States - Ashburn, VA; Dallas/Fort Worth, TX; Los Angeles, CA; Miami, FL; Newark, NJ; Palo Alto, CA; Seattle, WA; St. Louis, MO
  • Europe - Amsterdam; Dublin; Frankfurt; London
  • Asia - Hong Kong; Tokyo

To use CloudFront, you need the latest development snapshot of Storage API. It will be in Storage API 6.x-1.2 when it is released.

The 'Serve with CloudFront' option can be enabled when creating an S3 container, or when editing an existing one. You need CloudFront enabled in your AWS account. Serving with CloudFront will not start immediately as it takes several minutes to setup a CloudFront distribution. CloudFront is polled during cron and S3 is used for serving until it is setup.

Secure serving (time limited, cryptographically signed URLs - like with S3) is supported by CloudFront, but this is not yet implemented in Storage API.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4> <b>
  • Lines and paragraphs break automatically.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options