I want host all images files to the cloud, such as amazon s3.

For example, when creating the node, uploaded automatically upload the files to the cloud, and all images path automatically point to the image stored in the cloud.

Any modules facilitate the CDN transition?



I would go with the CDN module, also checkout the AmazonS3 module.

  • but it seems that it won't upload(sync) the files to CDN site automatically. – gilzero Dec 22 '11 at 9:15
  • Check out the description from the AmazonS3 module for example: "Image styles are delivered first through the private file system, which generates a derivative on S3 and is served from S3 thereafter." – ipwa Dec 22 '11 at 16:00
  • The CDN module also allows syncing but you need to use File conveyor: fileconveyor.org – ipwa Dec 22 '11 at 16:41
  • there are issues with image resizing when using S3: drupal.org/node/1291628 – uwe Dec 22 '11 at 16:51
  • tried CDN module with File Conveyor method, it works but buggy with D7, for example, the ftp username cannot contain "/". – gilzero Dec 22 '11 at 18:12

Media Mover supports staging/moving files to Amazon S3, plus complex file workflows.


Drupal CDN & Static File Server - The Amazon S3 Way is an oldie but a goodie as well

  • Also, you may also want to look into the "s3fs" concept where you mount your s3 bucket as a filesystem on your server...linux based anyway. – Jimajamma Dec 22 '11 at 18:48
  • make sure to check with your hosting provider if that's supported. We tried that on Pantheon, got it to work but found out later that it broke the daily backup routine. – uwe Dec 24 '11 at 0:01

Not the answer you're looking for? Browse other questions tagged or ask your own question.