w3tc_environment_variables

Persistent W3 Total Cache Config in Elastic Beanstalk

I stumbled upon a problem with the W3 Total Cache plugin for WordPress when I have been deploying to Elastic Beanstalk. I’d followed my usual routine for installing/activating a plugin: Add plugin to locally checked out code repo and commit. Push back to origin. Let CircleCI handle the deployment. Activate the plugin via the WordPress […]

elastic_beanstalk_restart_app_servers

Install WP CLI in Elastic Beanstalk

While working with WordPress deployments on the AWS Elastic Beanstalk platform, it can be useful to install the WP CLI tool to facilitate the creation of duplicate environments (changing the site URL, for example). Rather than create a new AMI, I create the file .ebextensions/30_wpcli.config in the codebase with the following content: commands: "01": command: […]