Posts by: Ashley Gerwitz

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 ➝
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 ➝
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 ➝
Traveling BOSH CLI – no more installation pain

As a trainer, contributor, fanboy, and consultant for BOSH it has been frustrating watching other sysadmins attempt to get started with BOSH – the project for release engineering, deployment, and lifecycle management of large-scale cloud software. Using BOSH can be fantastic – watching it boot up dozens of VMs, to have a fulling running production

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

Read More ➝
bosh-lite can be better on AWS

bosh-lite is the best way to dev/test new BOSH releases or changes to community releases such as Cloud Foundry’s cf-release. But if your laptop doesn’t have 8G of RAM or you don’t already have all the stemcells (400M each) and releases (cf-release is now 3.5G) downloaded then you can spend half a day just getting

Ashley Gerwitz Profile Image

Posted by:
Ashley Gerwitz

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 ➝
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 ➝