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: https://console.run.pivotal.io/tools

Download the sample Java app that we will be using for this exercise: booking-mvc.war.zip

Unzip the file

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

> cf api api.cf.mattzwol.com

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  api.cf.mattzwol.com –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

First of all, thanks to Michael G. Noll for his blog which can be found here: http://www.michael-noll.com/tutorials/writing-an-hadoop-mapreduce-program-in-python

The following is a slightly modified version of this blog to allow it to run with the Pivotal Hadoop

Step 1.

Download the Pivotal Hadoop VM from here:

http://www.gopivotal.com/big-data/pivotal-hd

Find the downloads button. Download the Pivotal HD Single Node VM. At this point it may ask you to create an account with Pivotal.