How to Install Cloud Foundry Locally with BOSH Lite

by Volha KurylionakJune 25, 2015
You do not need a cloud to try Cloud Foundry. This short tutorial by the Iron Foundry team demonstrates how you can install CF on your own computer.
Why read this?

A non-HA Cloud Foundry installation on vSphere requires at least two physical CPU cores, 48 GB of RAM, 500 GB of disk space, and a network interface controller. Fortunately, you don't need that much capacity, if you just want to check out some basic features. This video contains step-by-step instructions on how to install CF on a local machine and test it by pushing an app.

Deploying Cloud Foundry for the first time

Cloud Foundry may be a complex, distributed system, but it is still flexible enough to be installed on your laptop. The steps for getting your own small PaaS up and running include:

  • Installing Ruby
  • Installing the BOSH CLI
  • Installing the CF CLI
  • Installing/configuring BOSH Lite
  • Getting a public stemcell for Ubuntu Warden
  • Generating a manifest with Spiff
  • Runing the deploy

Once the PaaS has been installed, you can try pushing some apps to check that everything is working correctly. The video tutorial by Iron Foundry (below) describes all the steps in detail.

Altoros Take

Installing Cloud Foundry locally is a great way to play around with some basic features, but it is probably not the best idea for a POC. A local deployment will lack many of the fundamental CF features, such as high availability, shared resources, etc. The resulting PaaS won’t be really distributed either, since many components will have to be hosted on one VM.

Still, there are plenty of ways to try Cloud Foundry without major financial commitments. For instance, you can use one of the many public Cloud Foundry deployments. Many of them have free trials. Here are just several options:

And here are some links to documentation that also describes the process of installing BOSH-lite and Cloud Foundry:

Some sizing guidelines for CF clusters can be found in the Architect’s Guide to Implementing Cloud Foundry. You can also refer to Cloud Foundry documentation for minimal and recommended hardware requirements.


Want details? Watch the video!

Table of contents
  1. Installing Ruby (0:33)
  2. Installing the BOSH CLI (1:19)
  3. Installing the Cloud Foundry CLI (1:40)
  4. Installing and configuring BOSH Lite (2:02)
  5. Adding a public stemcell for Ubuntu Warden (3:30)
  6. Generating a manifest file with Spiff (4:10)
  7. Running the deploy (4:49)
  8. Testing the Cloud Foundry environment by pushing a Node.js app (4:59)


About Iron Foundry

Iron Foundry
Iron Foundry is an open-source framework that enables .NET in Cloud Foundry environments. It adds support for .NET applications to the Cloud Foundry PaaS and provides tools and services familiar to .NET developers.