You would deploy your main Sitecore application code to the Content Management and the Content Delivery app instances. Based on your list that would be:
- foobar-acc-cd
- foobar-acc-cm
If you do have any custom code for processing xDB data, you may also need to deploy to the processing instance, which looks like
- foobar-acc-prc
in your list.
Update from comments:
As mentioned in the comments below, there are scenarios where you might need to deploy models/dlls to the xConnect services too.