Community Documentation

Utilizing Cloudfront Support

Last updated December 14, 2011. Created by gridbitlabs on December 14, 2011.
Log in to edit this page.

Amazons CloudFront service can be utilized by following these steps:

Without custom domain:

  1. Create a CloudFront distribution for your Amazon S3 Bucket.
  2. In the Amazon S3 module settings, check the Enable CNAME box.
  3. In the CDN Domain Name field enter your CloudFront distribution domain name (e.g. xxxxxxxx.cloudfront.net)
  4. Save the configuration and then clear the Drupal cache.

To use a custom domain:

  1. Create a CloudFront distribution for your Amazon S3 Bucket.
  2. Setup a CNAME record for your domain foo.foobar.com. The CNAME should point to your CloudFront distribution domain name (e.g. xxxxxxxx.cloudfront.net)
  3. Set a CNAME on the CloudFront distribution. This usually is your custom domain (e.g. foo.foobar.com).
  4. In the Amazon S3 module settings, check the Enable CNAME box.
  5. In the CDN Domain Name field enter your custom domain name (e.g. foo.foobar.com)
  6. Save the configuration and then clear the Drupal cache.

About this page

Drupal version
Drupal 7.x
Audience
Programmers, Site administrators
Level
Intermediate
Keywords
amazon cloudfront, amazon s3, cname

Site Building Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here