Build Your Own PaaS – At Home – Part 2!

Deploying Pivotal Cloud Foundry in Your Own Home Lab

I wanted to see what it would take to deploy Pivotal Cloud Foundry (Pivotal CF) and all the cool things that Bosh brings. I used a very minimal config to prove that a small footprint would work. Here is a summary of my setup:

Desktop 1: Intel Quad Core i7, 32 GB RAM, 2TB Internal Drive
Desktop 2: Intel Quad Core i7, 32 GB RAM, 2TB Internal Drive
Synology DS1513+ NAS Device with 3 x 240GB Intel SSDs in a RAID-5 config
24 Port HP Gigabit Ethernet Switch

Summary: 16 Virtual Cores + 64GB RAM & ~420GBs Useable

Note the internal drives are only used for ESX and vCenter. Pivotal CF is running on the Synology SSDs.

Total cost of the hardware is about $4K. You could get away with a much lower cost NAS device, but I wanted some capacity to scale both GBs and performance.
It’s all running vCenter & ESX 5.5. This image shows my initial vCenter environment.

vCenter Environment

Here’s my install journey. I had many issues when I began the install process but think I have ironed them out.

Step 1
Downloaded the Pivotal CF OVA version pcf- and the “Pivotal CF Elastic Runtime-” from Also grab the mysql file (p-mysql- The file sizes add up to about 5.6GBs.

NOTE: I had major issues with elastic runtime version I would suggest avoiding this as the process was failing for me while pushing the developer console (post install errand) and the DEA process / VM was dead.

Step 2
Unzip the files if you need to – I used

Step 3
Started following the process for deploying the OVF template at:
I used the NFS datastore as a target.
First attempt I received an error saying “The virtual machine is not supported on the target datastore”. I tried a bunch of different datastores and got the same message. Eventually I tried one of my new servers and it worked fine. While the datastores are all VMFS5, I think that maybe it doesn’t like the ones I built under ESX 5.1. Probably need to upgrade these.
a) In vCenter File -> deploy OVF template
b) Browse to the pcf- file
c) Next
d) Accept the end user license agreement
e) I placed the template in “MattsDC”
f) I placed the VM in the resource pool Matt’sRP
g) I chose a suitable local datastore for the install
h) Choose “Thick Provision Lazy Zero” for disk format
i) I used the settings below for properties

Deploy OVF Template

Step 4

While the above was running I created a new iSCSI disk on the sinology and allocated it to the two ESX servers. On one of the servers I formatted a lun of maximum size – 438GB. Below is a screen shot of what this looks like. Both ESX servers can see the same lun. Note that during the install I discovered that Pivotal CF needs shared storage. An error appears when using DAS.

syn1 lun

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s