Blog

You can become a superhero of automation and development by learning and practicing. This is our blog from our learnings and practice.

We are consultants and trainers in Cloud Foundry, devops automation and continous delivery. We have the best jobs in the world helping you have the best job in the world.

Cloud Foundry service broker for CoreOS etcd

We have been big fans of CoreOS etcd since it first came out. A simple to use distributed key value store. Many of our own distributed systems built for customers have used etcd for coordination of components. Cloud Foundry itself has used Etcd for many years. Whilst there is a wonderfully maintained etcd release for

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
How to know when your Postgres Service is ready

I am sure a lot of us have found ourselves in a situation where we need to wait for a service to be ready. I don’t mean the VM or container is running. I mean the service is up and running and fully functional. Postgres provides an easy to use command called pg_isready that allows

JohnLonganecker Profile Image

Posted by:
JohnLonganecker

Read More ➝
ETCD Gets Knocked Down and it Gets Up Again

You are never gonna keep it down Purple Rain got you down? Monit thrashing etcd? Just want to know if ETCD is healthy in your Cloud Foundry deployment? Checking Health Start by getting the list of etcd servers in your CF deployment: bosh vms <your deployment> | grep etc Adjust the following script for your

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Renaming BOSH Jobs without Cloud Config

I recently had need to rename some BOSH jobs that were deployed with a BOSH v1 manifest, and no Cloud Config. Early in 2016, the bosh rename job command was replaced with the migrated_from feature of the manifest. It’s documented pretty well here so I won’t go into the details in this post. However, if

GeoffFranks Profile Image

Posted by:
GeoffFranks

Read More ➝
BOSH Director Time Drift

Earlier today I was greeted with this message while performing a BOSH deployment for SHIELD: Error 100: Unknown CPI error ‘Unknown’ with message ‘AWS was not able to validate the provided access credentials’ I double checked the AWS Access and Secret permissions. I even deployed from my laptop a test deployment with the same keys

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
The Evolution of BOSH Debugging and Admin UI

BOSH CLI The BOSH CLI is one of the most essential tools when developing and managing deployments in BOSH. A typical day involves someone saying "is Rabbit is down, can you look at it?" Of course they don’t tell me which environment or which rabbit version. So, here is my workflow to figure what is

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
Clustering stateful services for high availability with Consul

High Availability (HA) is a common requirement. Unfortunately it is often the case that HA considerations need to be made from the ground up while designing a service. Sometimes a component of your service might be the best tool for your business case, but the nature of its business task or a trade off made

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
Connecting to an App Container in Cloud Foundry

You may find yourself in need to connect to a container running on either a DEA runner or Diego Cell. There are two different methods depending on which backend you use which are listed below. DEA Runner Connect via ssh to one of the runners. bosh ssh runner_z1/0 Switch to the root user and obtain

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Some options for adding a custom buildpack to CF

I recently needed to make use of the cf-multi-buildpack (UPDATE: there is also an updated GPL-licensed fork of cf-multi-buildpack). Its instructions indicate to use the -b https://github.com/pl31/cf-multi-buildpack flag during cf push to make use of it. However, I wanted to make this something available explicitly to all my Cloud Foundry users, and add it as

GeoffFranks Profile Image

Posted by:
GeoffFranks

Read More ➝