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.