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.

Speed up the Staticfile buildpack: only deploy the dist folder

Yesterday a user of the Staticfile buildpack noted that cf push would fail to upload files & start the deployment sometimes. "It takes forever and fails". We spotted the root cause: "Why is it uploading 26,000 files? The final project in dist folder only has a few." The problem was that we were uploading the

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
Admin scripting your way around Cloud Foundry

Cloud Foundry has a lightning fast CLI written in Go, a very well documented API https://apidocs.cloudfoundry.org/, and the API endpoints return consistently structured data. It is ripe for automation. But can we do it with just some bash scripts like sysadmins of old? Oh yes indeed. You too can write bash scripts that do magical

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
Multiple BOSHs and users on the same machine.

Sometimes you have multiple BOSHs and multiple users on the same jumpbox. This is a huge problem because you can only target one BOSH at a time. This makes me sad 🙁 We now have a great solution for this! Thank you to zimbatm we can install direnv. Follow instructions here Now we can add

LongNguyen Profile Image

Posted by:
LongNguyen

Read More ➝
Installing BOSH CLI on CentOS 7

As part of a project we’re working on, we needed to install the BOSH CLI on a Digital Ocean droplet running CentOS 7. The directions at bosh.io provided a list of all the packages that needed to be installed prior to installing the gem: yum install gcc ruby ruby-devel mysql-devel postgresql-devel postgresql-libs sqlite-devel libxslt-devel libxml2-devel

Quintessence Anx Profile Image

Posted by:
Quintessence Anx

Read More ➝
Multi-tenant ELK for your private Cloud Foundry

If you’re using a public Cloud Foundry – Pivotal Web Services, IBM Blue Mix – then you are probably ok with the idea of using a public log storage service like Papertrail or Logentries. What about if you are using your own Cloud Foundry – open source or PivotalCF – and you’re not allowed to

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
Installing Cloud Foundry CLI plugins

Plugins are a wonderful way for anyone to contribute new features – big or small – to Cloud Foundry users. Either to internal only users or to the world-wide federation of Cloud Foundry users public and private. Unfortunately, it has been a little painful to find, compile and install CLI plugins. You needed golang, you

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
Increasing BOSH-lite vm memory size

BOSH lite vm is default 6gb. Sometimes you just need more memory to do nefarious things with bosh. VM_MEMORY=10240 vagrant up Done! You have bosh-lite with 10gb

LongNguyen Profile Image

Posted by:
LongNguyen

Read More ➝
Billing your Cloud Foundry users

Cloud Foundry can track billable usage of applications and services. I’ve been told this but didn’t have a reason to look it up until asked about it during our Stark & Wayne training course this week. UPDATED: previously this post referenced the /v2/billing_events endpoint. It was hidden because it is deprecated (see Dieu Cao’s comment).

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
How to embed live Github PR status in your blogs & docs

[update: API is now at https://github-shields.com] The following badges reflect the status of some pull requests and issues: And issues: This might be handy for you in blog posts ("I raised a bug for that [badge]"), documentation and READMEs. There isn’t yet a nice website to help you construct the URLs. Sorry. But the URL

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝