Blog

Cloud

September 23, 2017 4 mins read
Cloud

Analyzing Cloud Foundry Access Logs

The gorouter component of Cloud Foundry routes all incoming HTTP requests to their target containers and writes all requests to an access log. Each access log entry produced by the gorouters contains a lot of information you would typically receive in other web server access logs as well. This blog post shows how to obtain the logs with either the BOSH CLI or the Cloud Foundry CLI and how to analyze them with goaccess.

Read more
May 31, 2017 3 mins read
Cloud

Logging Extra Headers with Cloud Foundry

A Cloud Foundry deployment can be configured to log extra HTTP headers on every request to enrich the log messages produced by the gorouters. This is highly useful to add trace headers to all requests going through the Cloud Foundry deployment. As of writing this, there is a configuration option for this feature available in the OpsManager API, but not in the OpsManager UI itself. So to configure the extra headers to log with Cloud Foundry, we’ll need to hop on a shell.

Read more
July 31, 2016 4 mins read
Engineering Cloud

Blue-Green Deployment with CloudFoundry

Blue-green deployments are a powerful technique to achieve zero-downtime deployments. With the CloudFoundry CLI, it is super easy to execute a blue-green deployment - even from a CI server. In a nutshell, a blue-green deployment spins up a whole new production environment with the new application version and once that is done, switches over the traffic from the old version to the new version. If you are unfamiliar with blue-green deployments be sure to read this article by Martin Fowler.

Read more
March 16, 2016 3 mins read
Engineering Cloud

CloudFlare Integration

Recently, a friend of mine suggested to check out CloudFlare, a service to protect and accelerate websites. The most awesome part is: there is a free plan, which is quite supercharged! Have a look at the features overview to see what’s already part of the free plan. Definitely enough for me to set it up. This blog post documents the three simple steps I took, so you can see how easy it actually is.

Read more