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

Correctly Terminating SSL at the ELB in your Elastic Beanstalk Environment

So, you’ve followed the AWS documents to enable HTTPS for your Elastic Beanstalk environment (perhaps using the new Certificate Manager service), but your attempts to reach the application’s secure URL seem to time out? This is the scenario my brother and I found ourselves in after trying to add SSL to an existing application he […]

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: […]