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.

Simple Golang OAuth client for Cloud Foundry

Cloud Foundry UAA allows OAuth clients to be used to leverage the users of Cloud Foundry. This allows you to create apps without maintaining another user database. A free single-signon (SSO) for all your applications! Golang makes it easy to write applications that use SSO – by being OAuth clients for UAA (and your pretty/themed

LongNguyen Profile Image

Posted by:
LongNguyen

Read More ➝
Running Galaxy on Cloud Foundry

Galaxy is a an open, web-based platform for data intensive biomedical research. Setting up app First we need to clone repo hg clone https://bitbucket.org/galaxy/galaxy-dist/ cd galaxy-dist hg update stable Now that we have repo cloned we need to do a few things. First create Procfile web: sh run.sh Next we need requirements.txt for some reason

LongNguyen Profile Image

Posted by:
LongNguyen

Read More ➝
Public and private microservices on the same Cloud Foundry

Easy to use developer platforms, such as Cloud Foundry, make it more and more desirable to build systems using microservices, rather than monolithic apps. Each component can be scaled independently, each component can be tested and introduced independently, and as a bonus it can be desirable for engineering groups to organize around microservice components. I

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
Fixing Loggregator problems one problem at a time.

Cloud Foundry Loggregator likes to break on me. This is going to my collection of how I (try to) fix loggregator. Problem 1 Background I’ve just updated CF from v190 -> v191 CF Version: 191 Date of Problem: 10/30/2014 ➜ ~ cf logs galaxy FAILED Error dialing loggregator server: websocket: bad handshake. Please ask your

LongNguyen Profile Image

Posted by:
LongNguyen

Read More ➝
How does cf-ssh get you an SSH session into Cloud Foundry?

Oh we yearn for simple SSH sessions into old fashioned servers in this new world of short-lived containers and PaaS. I wrote cf-ssh (learn more) to make it dead simple; but cf-ssh builds upon the work & services other others. Currently cf-ssh requires that your Cloud Foundry has outbound Internet access. If you’re interested in

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
SSH into Cloud Foundry containers from Windows

Cloud Foundry does not have the ability to spin up a container and let you SSH into it; or to debug your application code within a fresh Linux container within Cloud Foundry. Instead, a CLI cf-ssh provides this service [introduction post]. But previously it didn’t support Windows users. The cf-ssh has now been rewritten from

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
Terraforming workloads with Docker and Digital Ocean

Terraform is a great tool for automating creation of infrastructure and support IaaS, PaaS, and SaaS products. Docker is a great tool for creating containers which allow apps to be portable. Digital Ocean is a great IaaS with a great api and fast download speed. Problem I’m lazy and my internet is slow. Cloud Foundry

LongNguyen Profile Image

Posted by:
LongNguyen

Read More ➝
Restore Micro BOSH from just its persistent disk

UPDATE: For people using the bosh-init tool for creating their BOSH you can achieve this by editing the manifest-state.json file as documented here Micro BOSH can’t be resurrected, can’t be healed, and you cannot stop the VM and just restart it. Fortunately, you can always come back to the CLI and run bosh micro deploy.

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
Bootstrap MicroBOSH to AWS VPC

Our last two customer deploys for BOSH & Cloud Foundry have been the AWS VPC. The bosh-bootstrap tool previously did not support VPC, rather it only provisioned into EC2 with an elastic IP. Today, bosh-bootstrap v0.14 offers AWS VPC support if your target AWS region has one or more VPCs already created. That is, you

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝