We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Moving resources to Amazon S3 / Cloudfront CDN
I'm trying to move an existing Runway site's resources folder to Amazon S3 / Cloudfront CDN in order to serve the images from there and have followed but the documentation here: https://docs.grabaperch.com/runway/cloud-storage/amazon/
I seem to be struggling through similar problems to Sawan here: http://forum.grabaperch.com/forum/02-27-2016-moving-resources-folder-to-s3
I copied the contents of the existing resources folder up to the S3 bucket and they're accessible from there as expected - https://d11q7g6vqo5ah4.cloudfront.net/bursitis-knee-crop-w1920.jpg - but Runway is still serving up the local versions (existing and newly uploaded images).
Any idea how to fix this?
Do I need to change the Path configuration (PERCH_RESPATH / PERCH_RESFILEPATH) in config.php? Are files stored locally and then mirrored across to S3 when uploaded? (Didn't seem to happen) How is this meant to work?
Do I need to change the resourceBucket column in the perch2resources table?
Any help much appreciated!
SUMMARY INFORMATION Perch Runway: 2.8.34, PHP: 5.4.45, MySQL: mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (2.8.34), assets (2.8.34), categories (2.8.34), collection_3 (2.8.34), perch_forms (1.8.3) App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_forms', ); PERCH_LOGINPATH: /perch PERCH_PATH: /home/managebackpain/public_html/dev/perch PERCH_CORE: /home/managebackpain/public_html/dev/perch/core PERCH_RESFILEPATH: /home/managebackpain/public_html/dev/perch/resources Image manipulation: GD PHP limits: Max upload 32M, Max POST 32M, Memory: 512M, Total max file upload: 32M F1: 6a33f95eca3667f9e0c39bf5ca2980fe Resource folder writeable: Yes DOCUMENT_ROOT: /home/managebackpain/public_html/dev HTTP_HOST: dev.managebackpain.com REQUEST_URI: /perch/core/settings/diagnostics/ SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Want to reply to this thread?Login with Perch