Hacker News new | ask | show | jobs
by yllus 2248 days ago
Instead of EFS, use a WordPress plug-in like WP Offload Media Lite ( https://en-ca.wordpress.org/plugins/amazon-s3-and-cloudfront... ) that immediately moves those uploaded files to S3. Cheaper and more resilient (if you want to to be).
1 comments

That's pretty nice actually. I can just keep my config files in EFS or perhaps even just store them in S3 and download them on container startup. Thanks.
I host a few WordPress sites on Kubernetes and we use S3 (well, Minio) and it works great.

All the configuration is passed via environment variables so you don't even have to keep the config files in EFS.