Saturday, May 19, 2012

How to host your own instance of Cloud Foundry

There are companies out there making the business based on the Cloud Foundry instances hosted on their own infrastructure (instead of the VMware's one). Cloud Foundry platform is released as Open Source project. So theoretically I also could build my own instance of Cloud Foundry and start hosting services.

So what steps I need to perform in order to start my brand new Cloud Foundry instance?

  • install VMware's VM image of Ubuntu 10.04.02 .
  • download and execute VCAP (VMware Cloud Application Platform) installer:
  • $ sudo apt-get install curl
    $ bash < <(curl -s -k -B https://raw.github.com/cloudfoundry/vcap/master/dev_setup/bin/vcap_dev_setup)
  • make yourself a cup of coffee and wait until the installation process completes.
  • restart Ubuntu VM.
  • start VCAP service (~/cloudfoundry/vcap/dev_setup/bin/vcap_dev start).
  • validate your installation:
  • $ vmc target api.vcap.me
    $ vmc info

If you see something similar to...

VMware's Cloud Application Platform
For support visit support@cloudfoundry.com

Target:   http://api.vcap.me (v0.999)
Client:   v0.3.10M
... it means that you've just successfully started your own Cloud Foundry instance.

No comments:

Post a Comment