For the third (and probably final) part of this series, we’re going to setup a MySQL database and make it available on our Cloud Foundry instance as a service that webapps can use. After all, being able to push webapps to CF is neat, but without a database backend, it’s not really super useful. And we’re going with MySQL instead of something like PostgreSQL because, well, that’s what I got working first.
When last we were here, I was giving a broad overview of Cloud Foundry and BOSH, comparing them to Heroku and other PaaS’s. Today, we’re going to go over spinning up a Cloud Foundry instance from scratch, all on your handy local laptop. These instructions assume you are using OS X, though it should work for any platform that bosh-lite runs on. In fact, this tutorial closely follows the bosh-lite documentation, but is more tailored to beginners.
I’ve started looking into Cloud Foundry and BOSH for work, and something that I’ve noticed is a lack of “mid-range” documentation. It’s quite possible I’m blind, but I’ve seen a lot of 30,000’ things (“Cloud Foundry will accelerate your velocity!“) and some great docs for the people who already know what they’re talking about (“The Director uses the CPI to tell the IaaS to launch a VM”) but I haven’t seen any introductions written with an eye towards someone who is not a PaaS expert, but is also not a manager.