<p>Consider two or more applications "talking" to each other and deployed to the cloud (cloud foundry).
What are the best practices for a team to follow to work (develop/test/debug) on the same instance of the applications but in his/her "own" space without creating another instance of the application in the cloud? Or should every developer need to have a local copy of those application and run it in a docker/kubernetes, for example?</p>

Tomer
<p>Your question looks very wide because each business has its own toolchain or way of working. But if you are new and want quickly to organise your team, you can use JX. Jenkins X this is the improved version of Jenkins.
JX is supported on Cloud Foundry.</p>

<p>Basically with JenkinsX you have a Preview Environment / Staging / Production.
<a href="https://i.stack.imgur.com/mEqwH.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mEqwH.jpg" alt="enter image description here"></a></p>

<p>Jenkins X will create automatically the necessary code (helm Charts) to deploy your application to the Cloud... via command</p>

<pre><code>jx import --branches "master|develop"
</code></pre>

<p>Give it time, learn it and you will see the magic).</p>

<p>Best practices will be to create a fully CI/CD workflow and to let your team to checkout to the source code at least daily(depending on how many people working on an application).</p>

<p>Good Luck!</p>
