Please review the documentation found here: https://docs.mendix.com/developerportal/deploy/cloud-foundry-deploy