Skip to content

Use S3 as storage and cloudfront as CDN #3

@cavewebs

Description

@cavewebs

Hello,

Thank you for this wonderful project! I've successfully configured it to deploy using GitHub Actions, with subdomains for different stages like testing and development.

I'm currently facing a challenge due to the cumulative size of my uploads, which exceeds 100GB. Due to cost considerations, using EFS for storage with Copilot for WordPress isn't feasible. Instead, I'de love to store these files on Amazon S3.

I'm seeking guidance on integrating S3 and CloudFront to serve these existing files directly within WordPress. While I'm aware of plugins like W3 Total Cache, I prefer a solution that leverages S3 and CloudFront directly, without additional plugins. I'm willing to develop a custom upload plugin to facilitate this integration moving forward.

Could someone provide insights or a guide on configuring AWS Copilot to provision S3 and CloudFront and ensure uploads are pushed to S3 and served through CloudFront seamlessly? Any help or pointers would be greatly appreciated!

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions