Use case

Manage traffic with Consul

Consul offers the ability to manage L4/L7 traffic based on service identity and implement progressive delivery practices like canary deployments or A/B testing.

Challenge

Customizing traffic between services

There are many scenarios where developers would want to customize traffic flow between services. For example, developers want to deploy new versions of a service in a controlled manner without causing downtime. Bluntly taking old versions down and deploying new versions leads to downtime and can risk exposure to extended outages if unexpected problems emerge.

Solution

Centralize traffic shaping with Consul

Consul solves for these use cases including canary testing, A/B tests, blue/green deployment, and soft multi-tenancy (prod/qa/staging sharing compute resources). Developers can shape traffic between services in a methodical manner when introducing a new version of their service. They can gradually direct traffic to the new version and increase the traffic percentage over time, thereby reducing the risks associated with application updates.

Implement fine-grained traffic policies for routing and splitting traffic across services.
How Stripe Uses Consul to Build Service Mesh
Hear about Stripe's service networking team talks about their multi-region service networking tech stack built on Consul.
Customer case study

How Stripe uses Consul to build service mesh

Hear Stripe's service networking team talk about their multi-region service networking tech stack built on Consul.

Get started with HCP Consul

We’ve built a series of step-by-step guides to help you deploy HCP Consul and try it for yourself.

Introduction to HashiCorp Consul

HashiCorp Co-Founder and CTO Armon Dadgar gives a whiteboard overview of HashiCorp Consul, a service networking solution to connect, configure, and secure services in dynamic infrastructure.