1
votes

I have a cloud foundry setup with multiple cells(virtual machines) to host the deployed applications. After 'cf push' the apps get deployed on any of the cell (as per auctioneer algorithm).

Is there a way to define the target VM to host the application?

The production machines should be different from pre-production machines. How to maintain production and pre-production setup in Cloud Foundry?

Thanks

1

1 Answers

1
votes

You can assign placement tags on Diego cells and define isolation segments to ensure apps in a space are placed on those specific cells.
That way, you can ensure apps from pre-production and production spaces are hosted on different VMs. Configuration steps are here: http://docs.cloudfoundry.org/adminguide/isolation-segments.html.