Now that you have built your app we need to add a database. Use the following command to see what services you can create:

> cf marketplace

You should see something like this.
service   plans       description
p-hd      Standard    Pivotal HD is the industry’s most full-featured Hadoop distribution.
p-mysql   100mb-dev   MySQL service for application development and testing 

Here’s a tutorial on how to get started with Pivotal CF. In part 1 we will focus on deploying a pre-built app to the cloud.

Before you begin

Download the “CF” command line tool from:

Download the sample Java app that we will be using for this exercise:

Unzip the file

1. set your target API to the api address of the cloud foundry interface. In this case our domain is

> cf api

note: you may need an extra command here in the line above to skip ssl verification. It will tell you if you do. In this case use > cf api –skip-ssl-validation

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