I have a pretty large Craft site that needs to be load balanced with multiple ec2 instances and one RDS mysql instance. Everything is working great, except for I noticed that if I get to the admin panel and run updates on craft/plugins. The site files only change on the ec2 instance i'm on.

Is there a way to update all my ec2 instances at once on update?

Thanks! Any help is appreciated.

1 Answer 1


Don't update Craft or any plugins on production.

Do the updates on a local/dev version of the site, commit the resulting changes, then deploy those to all of your EC2 instances with a CI/CD service like https://buddy.works or whatever your favorite service is.

Some related blog posts worth reading:



  • Thank you for the response! So just to clarify, if I update craft locally with a clone of the production database, do I also have to re-import the database I have on my local machine to production? Or is craft smart enough to see the file changes and update the database as needed? Commented Jan 24, 2020 at 20:16
  • It won't automatically happen. It depends on the changes that you might have made locally and if things on production have changed as well. Craft's project config or content migrations are potential solutions.
    – Brad Bell
    Commented Jan 27, 2020 at 5:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.