Hello all,
I need some help or idea to achieve this.
Continuing the discussion from Setting up file and image uploads to S3:
Long story short:
- Initially, I tried to setup my AWS S3 bucket for upload and backup then I got the issue with bucket policy ACLs did not allow to upload my files to S3 bucket.
- Temporary solution, I setup 2 AWS Lightsail buckets one for upload and one for backup. These two buckets work perfectly with the Cloudfront CDN setup. All working well however I still want to get the main stream done correctly!
- Final solution, with the post from @RedBear, I finally manage to get the AWS S3 bucket running with the proper S3 Policy set up. Note: I haven’t switched the old Cloudfront to the new Cloudfront CDN yet.
My question before I attempt to do the rake tasks:
rake uploads:migrate_to_s3
rake posts:rebake
- What is the best and smooth solution to achieve the migration from old S3 bucket with old CloudfrontCDN to the new S3 bucket with the new CloudFront CDN?
Note: At the moment my new S3 uploads bucket is empty.
Thanks so much.
Quang