0
votes

I have already installed bosh-lite and cloud foundry on single VM using the tutorials at https://docs.cloudfoundry.org/deploying/run-local.html. Is there a way to install the bosh-lite and cloud-foundry on OpenStack?

I searched a lot but could not find a proper answer, what I found is something disconnected like installing bosh and OpenStack on a single VM but I don't know if that can be useful to me.

I am pretty new to cloud-foundry and OpenStack so, the things are pretty confusing for me. My ultimate goal is to deploy and test docker with cloud-foundry which means installing Diego, I could have used cf_nise_installer, but I am not sure if it supports Diego.

Thanks.

1
Do you want everything deployed on a single VM, or do you want a real distributed deployment? Most documentation for OpenStack will focus on doing a distributed deployment. - Amit Kumar Gupta
I want a single VM version and as you said, I am only finding resources for distributed deployment. - user3275095
@AmitKumarGupta If everything is required in a single VM, do we actually need to install Bosh-Lite on VirtualBox on that VM or it can exist independently ? - akskap
@user3275095 Can you please help with updates on this, if any ? - akskap

1 Answers

1
votes

I'm not sure why you want to deploy CF and Diego on a single VM on OpenStack.

  • Why a single VM, could it be 2 or 3?
  • Why OpenStack, why not AWS, or DigitalOcean, or something else?
  • Do you need all the features of CF (multi-tenancy, service integration, buildpacks) or is Docker + Diego + Routing + Logging + a nice CLI sufficient, etc?

At any rate, there is no out-of-the-box solution for your exact set of requirements, but you have several options, with tradeoffs:

  • Use local BOSH-Lite instead of OpenStack. You can deploy Diego to your BOSH-Lite alongside your CF, and play around with the Docker support there. See instructions here: https://github.com/cloudfoundry-incubator/diego-release/#deploying-diego-to-bosh-lite
  • Use Lattice. Lattice is basically Diego, along with routing, log aggregation, and a CLI to make it easy to push Docker-based apps, scale them up and down, get logs, etc. You will not get the full CF feature set, for instance there is no UAA which CF uses for user authentication, managing multi-tenancy, scopes and permissions, etc. You can check out the Lattice website: http://lattice.cf/. Docs on deploying Lattice are here: http://lattice.cf/docs/terraform/. You can see several deployment options there, including OpenStack if you search the page.

If you're willing to do a lot more work, you could either figure out how to make BOSH-Lite work against the OpenStack provider, or you could figure out enough about how BOSH manifests are structured and then use bosh-init to deploy a single-VM deployment to OpenStack that colocates all of CF and Diego into a single "job".