There are a lot of ways to build and try Cloud Foundry, but the easiest (and most cost-effective) I found so far is to use the Nise Installer.
The installation process:
To start the Cloud Foundry instance:
To access the Cloud Foundry instance:
To create organization and space you can use:
You are ready to push an app and have fun.
The installation process:
- Install VirtualBox
- Download Ubuntu Server 10.04 LTS 64 bit
- Create a VM with at least 10GB disk and 4GB memory
- Leave the first network adapter NAT-ed (for internet access)
- Make a second adapter that is Host-only (for host OS access)
- Install Ubuntu Server
- Install curl
- Launch the bootstrap.sh script (as documented on the Nise Installer page)
- Restart the VM to get the new kernel in place
To start the Cloud Foundry instance:
- Go to cf_nise_installer directory
- Launch CF with ./scripts/start.sh
To access the Cloud Foundry instance:
- Get the IP of the VirtualBox Host-Only Ethernet Adapter with ipconfig /all or ifconfig -a
- Add a route from 10.0.2.15 to the IP of the VirtualBox Host-Only Ethernet Adapter.
For example in Windows that would be:
route add 10.0.2.15 192.168.56.101
, where 192.168.56.101 is the IP of the Host-Only adapter.
- Install CF CLI on your client machine
- Login to the CF instance using the login command provided at the end of the start via
the ./scripts/start.sh script
To create organization and space you can use:
cf create-org me
cf target -o me
cf create-space development
cf target -s development
You are ready to push an app and have fun.