This is a Docker nginx container that includes the MaxMind GeoIP Country database. It injects the X-Origin-Country-Code and X-Origin-Country-Name headers into http requests to the backend with the country code of the requester.
I created a small example Docker container that runs PHP with the New Relic agent installed. The New Relic agent on the Docker host cannot monitor things inside the containers, so we need to install the agent inside each Docker container.
When I talk to people in other companies I still hear a lot of misconceptions about public clouds works and how you can monitor and control costs. I will try to get rid of the biggest ones in this blog post.
Having the right tools on your computer is the key to work fast and efficient, without having to waste much time on repetitive and boring actions. Here's a list of the current tools I use on my Macbook.
This is a CloudFormation template that creates a small stack that uses AWS Lambda and CloudWatch to take daily backups of EBS volumes and deletes the snapshots when their retention period has been reached.
In a previous post I created a CloudFormation stack that creates a Multi-AZ Drupal 7 server setup using MySQL, ElastiCache and S3. In this post I will replace S3 with the newly released AWS Elastic File System (EFS).
This is part 2 of Running Drupal 7 on AWS. While part 1 focused on the how and why of the setup, this blog post contains CloudFormation code that will create a full software stack on AWS, configured to run Drupal 7.
The last 5 months I've been doing a lot of work on Amazon Web Services (AWS) for my new job as a Cloud Architect. Learning how to build applications that take fully advantage of The Cloud has made me very anxious to redo some of my previous projects and rebuild them for AWS. In this blog post I'll start of with the best way to run a Drupal 7 website on AWS.
Amazon Web Services (AWS) is a huge open cloud platform with lots of services you can use on an as-you-want basis. Getting started is often difficult as there are some many resources available. In this post I'll give you an overview of where you should start.
This is a list of some bash one liners I use on a daily basis during development and problem debugging. I made this list as a "you might not know this one yet" and will continue to update it every now and then.
In this blog post I write about how you can use Atlassian Bamboo to automatically deploy a Drupal 7 website. It covers creating a build plan, creating a deployment plan, setting up deployment environments and how these 3 work together to create an automatic Drupal deployment system.
Almost every week I run into atleast one production site that has a phpMyAdmin installed in the document root of the site, or as a separate vhost on the server. While this used to be pretty required in 2005 to make changes to the database in production, now in 2015 we have better ways to do that.
One of our Drupal 7 sites was giving a lot of white pages of death. Looking through the Drupal logs we saw a lot of integrity constraint violations and decided to dive deeper in the code. It turns out it was quite a complex Drupal core problem but we managed to find a fix for it.
If you want to have the correct ip address in your Apache or nginx logs when running a Drupal 7 website with a varnish cache, you need to add some configuration to your server. This post shows you what to do.
Elasticsearch 1.4 has an easy way to make backups of an index: snapshot and restore. If you use the filesystem way, you can just make a snapshot, rsync/scp/NFS export the files to another host and restore them from those files.