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: automation
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 […]
Adding CentOS 7 Support to the 389 Server Cookbook
While trying to build a 389 directory server using the Riot Games cookbook, I discovered that it didn’t fully support CentOS 7. I took the liberty of making the necessary modifications to allow a Chef run to complete successfully: The call to the yum_repository LWRP needed to be changed to pass the appropriate configuration for […]
Chef Cookbook: DokuWiki
It’s been a while since my last post (note to self: must do better!), but I assure you that I’ve been keeping myself busy. One of the pieces of work that I’ve undertaken in the interim since my last post required the installation of DokuWiki. My first thought was to see if there was a […]
Chef Cookbook: arma3
I didn’t actually set out to try and publish a cookbook a day this week, but here we are… This one is particularly appropriate given the impending weekend; a cookbook that installs and configures the Arma 3 dedicated server: Handles the installation and configuration of the Arma 3 dedicated server for Linux.https://github.com/azteknative/chef-arma30 forks.0 open issues.Recent […]
Chef Cookbook: tiddlywiki5
This week has been very productive in terms of authoring and publishing cookbooks; there’s been three so far (my fork of application_nodejs, mod_evasive and nginx_auth_ldap), now this one and potentially another, completely unrelated one tomorrow! Now, I hadn’t heard of TiddlyWiki until fairly recently, when the original author, Jeremy Ruston, came in to visit us […]