Installation & Setup of the Amazon S3 1.x Module
NOTE: This is only for the 1.x version of the module. For 2.x see the module summary page.
Utilizing Cloudfront Support
Amazons CloudFront service can be utilized by following these steps:
The AmazonS3 module allows the local file system to be replaced with S3. Uploads are saved into the drupal file table using D7's new file/stream wrapper system.
You can switch it on as the default file system scheme, or individually for file and image fields.
It includes support for Amazon Cloudfront as well, through the use of a CNAME.
AWS SDK for PHP
Libraries API (2.0-alpha2)
Install the module and libraries:
s3cmd sync -r --no-check-md5 --no-delete-removed --acl-public FILES-DIRECTORY/ s3://BUCKETNAME/Configure Drupal:
update file_managed set uri = REPLACE(uri,"public://","s3://") WHERE uri LIKE "public://%";NOTE: This is only for the 1.x version of the module. For 2.x see the module summary page.
Amazons CloudFront service can be utilized by following these steps: