Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move drupal static files to S3 #102

Open
irabinovitch opened this issue Sep 14, 2023 · 3 comments
Open

Move drupal static files to S3 #102

irabinovitch opened this issue Sep 14, 2023 · 3 comments
Assignees

Comments

@irabinovitch
Copy link
Collaborator

We'd like to setup some HA/failover for the scale website. The issue with doing that is that drupal by default stores static files on the local disk of the web server. Can we move this to S3 using the S3FS plugin?
https://www.drupal.org/project/s3fs

@DrupalPhil DrupalPhil self-assigned this Sep 14, 2023
@irabinovitch
Copy link
Collaborator Author

being worked on here: https://github.com/socallinuxexpo/scale-drupal/tree/s3

@irabinovitch irabinovitch self-assigned this Sep 15, 2023
@irabinovitch
Copy link
Collaborator Author

irabinovitch commented Oct 2, 2023

We've made some good progress here and have managed to test locally. Unfortunately in production we run some ancient PHP versions that aren't compatible witthe drupal s3fs plugin. I've done the work for an upgrade to php7 and centos8 in another ticket, and the PR for it has been merged. Once we cut over to the new server where thats deployed, we can proceed on this s3 and load balancing ticket.

@irabinovitch
Copy link
Collaborator Author

Centos8 / php7 upgrade is complete. Lets give it a day or two to make sure everything is stable, and then we can proceed with testing S3FS further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants