aws-samples / eb-php-wordpress

Configuration files and instructions for installing WordPress securely and running it in a load balanced AWS Elastic Beanstalk environment with an EFS file system for shared assets.
Apache License 2.0
165 stars 95 forks source link

Wordpress Autoupdate #18

Closed JosephRedfern closed 6 years ago

JosephRedfern commented 6 years ago

Does Wordpress's Autoupdate functionality have any impact on running Wordpress under EB? Could instances ever get out of sync?

I'm thinking about the scenario when we create a deployment package using WP 4.9.1, this gets deployed and then auto-updated to 4.9.2 -- we then scale to a second instance. Would the second instance be running 4.9.2 (because they're pointed at the same EFS directory), or will there briefly be two versions (with the second instance running 4.9.1 until it auto-updates)?

mwunderl commented 6 years ago

Letting WordPress update itself will cause issues with the database. I don't know if there is a way to make that work so we recommend deploying the new version to a different environment and importing your content. See Updating WordPress in the readme.

JosephRedfern commented 6 years ago

Apologies, I do not know how I missed that section of the readme! Thank you for your reply.