• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Consul
  • Install
  • Tutorials
  • Documentation
  • API
  • CLI
  • Try Cloud(opens in new tab)
  • Sign up
Consul Home

Tutorials

Skip to main contentTutorials

Get Started

  • Consul on HCP
  • Consul on Kubernetes
  • Consul on VMs

Use Cases

  • Kubernetes Service Mesh
  • Microservices
  • Network Automation with CTS
  • Service Discovery & Health
  • Service Mesh & Gateways

Certification Prep

  • Associate Prep
  • Associate Tutorials

Production

  • Application Resiliency
  • Datacenter Deploy
  • Enterprise Features
  • HCP Consul
  • HCP Consul Automation
  • Multi Cluster Deploy
  • Networking
  • Security

Integrations

  • App Development
  • Cloud & Platform
  • Docker
  • Load Balancers
  • Vault

Kubernetes

  • Deploy to Kubernetes
  • Kubernetes in Production
  • Service Mesh Features

Operations

  • Day 2 Operations
  • Monitoring
  • Security Operations

  • Resources

  • Tutorial Library
  • Certifications
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  1. Developer
  2. Consul
  3. Tutorials
  4. Service Mesh & Gateways

Consul Service Mesh

Consul service mesh secures service-to-service communication with service proxies and mutual Transport Layer Security (mTLS). Learn how to allow or restrict east-west traffic using Connect.

Start
17 tutorials
  •  
    15min
    Control Access into the Service Mesh with Consul API Gateway
    Route inbound requests to applications running on the HashiCorp Consul service mesh by leveraging a single control plane.
    • Consul
  •  
    20min
    Getting Started with Consul Service Mesh for Virtual Machines
    In this tutorial, you will learn how to configure Consul as a service mesh to encrypt and control traffic between services on virtual machines.
    • Vagrant
    • Consul
    • Video
  •  
    17min
    Secure Service Communication with Consul Service Mesh and Envoy
    Gain hands-on experience with Consul service mesh and Envoy as a sidecar proxy.
    • Consul
    • Interactive
  •  
    5min
    Visualize Service Mesh Communication in the Consul UI
    Visualize the communication flow between services registered in your mesh with the topology diagram in the Consul UI.
    • Consul
  •  
    12min
    Consul Service Mesh in Production
    Understand best practices for running Consul service mesh in production.
    • Consul
  •  
    17min
    Traffic Splitting for Service Deployments
    Split layer-7 traffic, using Envoy proxies configured by Consul, to roll out a new version of a service. You can use this method for zero-downtime, blue-green, and canary deployments.
    • Consul
  •  
    11min
    Implement Circuit Breaking in Consul Service Mesh with Envoy
    Configure passive health checking in Consul service mesh to detect outliers and exclude unhealthy service instances from receiving traffic.
    • Consul
  •  
    15min
    Load Balancing Services in Consul Service Mesh with Envoy
    Manage traffic across services within Consul service mesh with Envoy load balancing policies.
    • Consul
    • Interactive
  •  
    15min
    Application Aware Intentions with Consul Service Mesh
    Enhance Consul security by creating service (L7) intentions for services registered in the mesh.
    • Consul
    • Interactive
  •  
    19min
    Connect Services Across Datacenters with Mesh Gateways
    Connect two services across datacenters using Consul service mesh, intention replication, WAN gossip federation, and mesh gateways.
    • Consul
  •  
    15min
    Understand Terminating Gateways
    Understand how terminating gateways, Consul's egress proxies, can provide connectivity to external destinations by terminating mTLS connections, enforcing Consul intentions, and forwarding requests to appropriate destination services.
    • Consul
  •  
    13min
    Connect External Services to Consul With Terminating Gateways
    Enable communication with an external service using terminating gateways and Envoy as a sidecar proxy.
    • Consul
  •  
    14min
    Allow External Traffic Inside Your Service Mesh With Ingress Gateways
    Enable inbound communications to an internal service mesh service using ingress gateways and Envoy as a sidecar proxy.
    • Consul
  •  
    15min
    Integrate Consul with Ambassador Edge Stack on Kubernetes
    Use Ambassador Edge Stack to route requests using Consul's service discovery.
    • Consul
  •  
    16min
    Extend your Service Mesh to Support AWS Lambda
    Learn how to configure AWS Lambda functions to interact with Consul service mesh. Replace a Kubernetes service deployment with an AWS Lambda function.
    • Consul
  •  
    21min
    Connect Services in Different Consul Clusters with Cluster Peering
    Route traffic of applications running on the HashiCorp Consul service mesh between clusters managed by different operators.
    • Consul
    • Terraform
  •  
    11min
    Connect Services on Windows Workloads to Consul Service Mesh
    Deploy HCP Consul and Windows virtual machines, pre-configured with Consul, Envoy, and a demo service. Explore the Consul client configuration to add Windows workloads to your service mesh.
    • Terraform
    • Consul
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)