Dependencies between micro services

We are deploying micro-services and are wondering how we can control dependencies between the different services using Octopus Deploy.

Hi Matthew,

Thanks for getting in touch. We suggest you use channels for micro service deployments and dependencies. You can have each service in a package step then define your channels to deploy all services in their dependent groups.
We have a great blog with information on channels and how you can use them to your advantage!

Please let me know if that helps you or if you have any further questions.

Regards,
Daniel

We do use channels to choose which services to deploy - that feature doesn’t allow us to explicitly say that version 2 of the audit service requires version 2 of the logging service.

Hi Matthew,

With the channels, you are able to define version rules. If you say version 2, it will only look for version 2 packages. In the walkthrough that I linked previously, the section “Step 1: Protecting deployments of 1.x releases” explains how this works in more detail.

Let me know if this helps.

Regards,
Daniel

Thanks