Reputation: 173
I just started investigating OpenStack & Cloudfoundry recently, and I just wonder how scale up/out mechanism works in OpenStack & Cloudfoundry integration. As far as I understand, if we need to scale-up a web app, Cloudfoundry will try to create a new container to run new web app. If it reach to some limitation that it cannot allocate/create new container, would it try to use OpenStack to scale-up a new compute to service? Thanks
Upvotes: 0
Views: 324
Reputation: 5115
Cloud Foundry is typically deployed on the infrastructure (OpenStack, vSphere, AWS) using BOSH. BOSH will create the VMs and install the packages necessary to run the CF platform. Increasing the VMs or compute services available to CF is done by BOSH, typically as a manual operation. There is no built-in mechanism for CF to request more compute capacity from the infrastructure via BOSH.
There have been some community efforts to add the ability to BOSH to auto-scale compute capacity on request from a package that has been installed by BOSH. See https://github.com/nttlabs/bosh-scaler as an example.
Upvotes: 2