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 […]
Category: AWS
Continuous Delivery with CircleCI and Elastic Beanstalk
I have finally gotten around to writing a gist to help those of you who want to set up an integration between CircliCI and Elastic Beanstalk! I’ve used WordPress as an example, as that’s the application I originally set up this integration for, but this method should be easy enough to adopt for other applications/frameworks. […]
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 […]
Install PHPMyAdmin in ElasticBeanstalk
I’ve been working with Elastic Beanstalk for a while now (I use it for this site) and I’ve always been impressed at how easy it makes creating test or development environments. So, when my brother started his own digital agency business, Kroochma, I recommended that he look at the Elastic Beanstalk platform. While it may […]
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: […]
Ensuring Chef 11 Compatibility for the awscli Cookbook
I recently tried to use the aws-cli cookbook with Chef 11 and discovered a little problem when trying to upload the cookbook to the server: $ knife cookbook upload awscli ERROR: knife encountered an unexpected error This may be a bug in the ‘cookbook upload’ knife command or plugin Please collect the output of this […]