• 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

Overview

Deploy a fully managed service mesh

Sign up for HCP Consul

Learn Consul fundamentals

  •  
    3 tutorials
    Get Started with HCP Consul
    Quickly get hands-on with HashiCorp Cloud Platform (HCP) Consul using the HCP portal quickstart deployment, learn about intentions, and route traffic using service resolvers and service splitters.
    • Consul
  •  
    4 tutorials
    Get Started with Consul on Kubernetes
    Install Consul on Kubernetes and quickly explore service mesh features such as service-to-service permissions with intentions, ingress with API Gateway, and enhanced observability.
    • Consul
  •  
    4 tutorials
    Get Started on VMs
    Consul is a networking tool that provides a fully featured service mesh and service discovery. Try Consul locally.
    • Consul

Service Mesh

Explore common service mesh tasks.

  •  
    7 tutorials
    Secure Service Communication
    Authenticate service-to-service communication with mTLS and authorization with Access Control Lists (ACLs).
    • Consul
  •  
    3 tutorials
    Observability
    Collect and visualize mesh metrics to better understand communication between services.
    • Consul
  •  
    9 tutorials
    Traffic Management
    Traffic routing with Consul service mesh, gateways, and Envoy proxies.
    • Consul

Network Infrastructure Automation

Automate infrastructure changes to react to changes in your Consul service catalog.

  •  
    17min
    Network Infrastructure Automation with Consul-Terraform-Sync Intro
    Automate updates to network infrastructure including dynamic load balancing and firewall rules with Consul-Terraform-Sync.
    • Terraform
    • Consul
  •  
    20min
    Build a Custom Consul-Terraform-Sync Module
    Build your own, custom Consul-Terraform-Sync module to automate your network infrastructure with Consul and Terraform.
    • Terraform
    • Consul
  •  
    14min
    Consul-Terraform-Sync and Terraform Enterprise/Cloud integration
    Automate updates to network infrastructure with Consul-Terraform-Sync and Terraform Enterprise/Cloud.
    • Terraform
    • Consul

All Tutorials

  • Application Resiliency
    • Consul and Chaos Engineering
    • Implement Circuit Breaking in Consul Service Mesh with Envoy
    • Traffic Splitting for Service Deployments
    • Load Balancing Services in Consul Service Mesh with Envoy
    • Extend your Service Mesh to Support AWS Lambda
  • Associate Tutorial List
    • Consul Reference Architecture
    • Federate Multiple Datacenters Using WAN Gossip
    • Deployment Guide
    • Automate Upgrades with Consul Enterprise
    • Add & Remove Consul Servers
    • Provide Fault Tolerance with Redundancy Zones
    • Run the Consul Agent
    • Understand Consul Service Mesh
    • Store Data in Consul KV
    • Troubleshoot Common Consul Issues
    • Forward DNS for Consul Service Discovery
    • Ensure Only Healthy Services are Discoverable
    • Explore the Consul UI
    • Service Configuration with Consul Template
    • Network Infrastructure Automation with Consul-Terraform-Sync Intro
    • Automate Geo-Failover with Prepared Queries
    • Monitor Consul Datacenter Health
    • Create a Distributed Semaphore with Consul KV Store and Sessions
    • Create a Local Consul Datacenter
    • Backup Consul Data and State
    • Secure Applications with Service Sidecar Proxies
    • Secure Service Communication with Consul Service Mesh and Envoy
    • Enforce a Zero-trust Network with Consul Service Mesh
    • Secure Consul Agent Communication with TLS Encryption
    • Update Consul Agents to Securely Communicate with TLS
    • Production Readiness Checklist
    • Secure Consul with Access Control Lists (ACLs)
    • Bootstrap and Explore Consul's Access Control System
    • Understand Access Control Privileges
    • Rotate Gossip Encryption Keys in Consul
  • Cloud and Platform Integrations
    • Discover Services External to Pivotal Application Service
    • Consul-AWS
    • Monitor Consul with AppDynamics CNS
    • Serverless Consul service mesh with ECS and HCP
    • Service mesh with ECS and Consul on EC2
    • Admin Partitions with HCP Consul and Amazon Elastic Container Service
    • Extend your Service Mesh to Support AWS Lambda
  • Consul Enterprise
    • Install a HashiCorp Enterprise License
    • Provide Fault Tolerance with Redundancy Zones
    • Automate Upgrades with Consul Enterprise
    • Federate Multiple Datacenters with Network Areas
    • Setup Secure Namespaces
    • Register and Discover Services within Namespaces
    • Authenticate Users with Single Sign-On (SSO) and Auth0
    • Capture Consul Events with Audit Logging
    • Multi-Tenancy with Administrative Partitions
    • Admin Partitions with HCP Consul and Amazon Elastic Container Service
  • Consul on Kubernetes in Production
    • Consul and Kubernetes Reference Architecture
    • Consul and Kubernetes Deployment Guide
    • Secure Consul and Registered Services on Kubernetes
    • Disaster Recovery for Consul on Kubernetes
  • Consul Service Mesh
    • Control Access into the Service Mesh with Consul API Gateway
    • Getting Started with Consul Service Mesh for Virtual Machines
    • Secure Service Communication with Consul Service Mesh and Envoy
    • Visualize Service Mesh Communication in the Consul UI
    • Consul Service Mesh in Production
    • Traffic Splitting for Service Deployments
    • Implement Circuit Breaking in Consul Service Mesh with Envoy
    • Load Balancing Services in Consul Service Mesh with Envoy
    • Application Aware Intentions with Consul Service Mesh
    • Connect Services Across Datacenters with Mesh Gateways
    • Understand Terminating Gateways
    • Connect External Services to Consul With Terminating Gateways
    • Allow External Traffic Inside Your Service Mesh With Ingress Gateways
    • Integrate Consul with Ambassador Edge Stack on Kubernetes
    • Extend your Service Mesh to Support AWS Lambda
    • Connect Services in Different Consul Clusters with Cluster Peering
    • Connect Services on Windows Workloads to Consul Service Mesh
  • Datacenter Security Operations
    • ACL Replication for Multiple Datacenters
    • Secure Consul Agent Communication with Encryption and Certificates
    • Migrate Legacy ACL Tokens
    • Update Consul Agents to Securely Communicate with TLS
    • Automate Consul Agent Security with Auto Config
  • Day 1: Deploy Your First Datacenter
    • Introduction
    • Consul Reference Architecture
    • Deployment Guide
    • Consul Disaster Recovery Considerations
    • Backup Consul Data and State
    • Consul Security Considerations
    • Production Readiness Checklist
    • Next Steps
  • Day 1: Networking
    • DNS Caching
    • Forward DNS for Consul Service Discovery
    • Federate Multiple Datacenters Using WAN Gossip
  • Day 1: Security
    • Secure Gossip Communication with Encryption
    • Secure Consul Agent Communication with TLS Encryption
    • Secure Consul with Access Control Lists (ACLs)
    • Understand Access Control Privileges
    • Troubleshoot the Access Control System
    • Automate Consul Agent Security with Auto Config
  • Day 2: Datacenter Operations
    • Upgrade Multiple Federated Consul Datacenters
    • Autopilot
    • Automate Upgrades with Consul Enterprise
    • Provide Fault Tolerance with Redundancy Zones
    • Outage Recovery
    • Disaster Recovery for the Primary Datacenter
    • Federate Multiple Datacenters with Network Areas
    • Add & Remove Consul Servers
    • Troubleshoot Common Consul Issues
    • Common Consul Error Messages
    • Rotate Gossip Encryption Keys in Consul
    • Authenticate Users with Single Sign-On (SSO) and Auth0
    • Capture Consul Events with Audit Logging
    • Use hcdiag with Consul
  • Deploy Multiple Consul Clusters
    • Consul Multi-Cluster Reference Architecture
    • Consul Multi-Cluster Disaster Recovery Considerations
    • Consul Multi-Cluster Security Considerations
  • Deploy to Kubernetes
    • Consul Service Discovery and Service Mesh on Minikube
    • Consul Service Discovery and Mesh on Kubernetes in Docker (kind)
    • Deploy Consul on Amazon Elastic Kubernetes Service (EKS)
    • Deploy Consul on Azure Kubernetes Service (AKS)
    • Deploy Consul on Google Kubernetes Engine (GKE)
    • Deploy Consul on RedHat OpenShift
    • Understand Consul Service Mesh
  • Docker
    • Consul with Containers
    • Create a Secure Local Consul Datacenter with Docker Compose
    • Service Mesh Observability with Docker Compose
    • Automate Consul Agent Security with Auto Config
  • Explore Service Mesh Features
    • Observe Consul Service Mesh Traffic with Prometheus
    • Manage Traffic with Consul Service Mesh
    • Secure Service Mesh Communication Across Kubernetes Clusters
    • Layer 7 Observability with Prometheus, Grafana, and Kubernetes
    • Manage Consul with Kubernetes Custom Resource Definitions (CRDs)
    • Getting Started with Consul Service Mesh for Kubernetes
    • Enforce a Zero-trust Network with Consul Service Mesh
    • Understand Consul Service Mesh
  • Get Started on VMs
    • Deploy Consul server
    • Register your services to Consul
    • Securely connect your services with Consul service mesh
    • Monitor your Consul service mesh
  • Get Started with Consul on Kubernetes
    • Deploy Consul on Kubernetes
    • Explore Consul Service Mesh
    • Ingress with Consul on Kubernetes
    • Observe Service Mesh Traffic with Consul on Kubernetes
  • Get Started with HCP Consul
    • Deploy HCP Consul
    • Manage Service Access Permission with Intentions
    • Upgrade Services with Canary Deployments
  • HCP Consul Deployment
    • Deploy HCP Consul
    • Deploy HCP Consul with Terraform
    • Configure Azure VM as a Consul Client for HCP Consul
    • Configure EC2 as a Consul Client for HCP Consul
    • Connect an Elastic Kubernetes Service Cluster to HCP Consul
    • Migrate your Consul Datacenter to HCP Consul
    • Connect an Amazon Transit Gateway to your HashiCorp Virtual Network
    • Federate Multiple HCP Consul clusters
    • Serverless Consul service mesh with ECS and HCP
    • Admin Partitions with HCP Consul and Amazon Elastic Container Service
    • Extend your Service Mesh to Support AWS Lambda
  • HCP Consul Deployment Automation
    • Get started with end-to-end deployment configuration
    • Deploy HCP Consul with EKS using Terraform
    • Deploy HCP Consul with EC2 using Terraform
    • Deploy HCP Consul with ECS using Terraform
    • Deploy HCP Consul with VM using Terraform
    • Deploy HCP Consul with AKS using Terraform
    • Create a HCP Consul cluster for an existing EKS run time
    • Terraform resources for HCP Consul automation
  • Integrate your Applications with Consul
    • Service Configuration with Consul Template
    • Application Leader Election with Sessions
    • Create a Distributed Semaphore with Consul KV Store and Sessions
  • Load Balance Registered Services
    • Load Balancing with HAProxy Service Discovery Integration
    • Load Balancing with NGINX and Consul Template
    • Load Balancing with NGINX Plus' Service Discovery Integration
    • Load Balancing with F5 and Consul
  • Microservices with Consul on Kubernetes
    • Understand the Value of Migrating to Microservices
    • Consul Service Mesh on Kubernetes Design Patterns
    • Model a Monolith as a Set of Microservices
    • Scope a Microservice Extraction
    • Extract and Deploy a Microservice with Consul on Kubernetes
  • Monitoring Operations
    • Monitor Consul Datacenter Health
    • Layer 7 Observability with Prometheus, Grafana, and Kubernetes
    • Monitor Consul Datacenter Health with Telegraf
    • Common Consul Error Messages
    • Service Mesh Observability with Docker Compose
  • Network Automation with CTS
    • Network Infrastructure Automation with Consul-Terraform-Sync Intro
    • Consul-Terraform-Sync Run Modes and Status Inspection
    • Consul-Terraform-Sync and Terraform Enterprise/Cloud integration
    • Build a Custom Consul-Terraform-Sync Module
    • Secure Consul-Terraform-Sync for Production
    • Partner Guide - Consul NIA, Terraform, and A10 ADC
    • Partner Guide - Consul NIA, Terraform, and F5 BIG-IP
    • Partner Guide - Consul NIA, CTS, and Palo Alto Networks
  • Prepare for Consul Certification
    • Study Guide - Consul Associate Certification
    • Sample Questions - Consul Associate Certification
    • Review Guide - Consul Associate Certification
  • Secure Consul with Vault Integrations
    • Automatically Rotate Gossip Encryption Keys Secured in Vault
    • Generate mTLS Certificates for Consul with Vault
    • Administer Consul Access Control Tokens with Vault
    • Vault as Secrets Management for Consul
    • Build Your Own Certificate Authority (CA)
    • Secrets Engines
    • Automate Consul Agent Security with Auto Config
    • Vault as Consul Service Mesh Certification Authority
  • Service Discovery and Health Monitoring
    • Automate Geo-Failover with Prepared Queries
    • Register External Services with Consul Service Discovery
    • Use Terraform to Register External Services
    • Ensure Only Healthy Services are Discoverable
  • Service Mesh on Kubernetes
    • Consul and Kubernetes Reference Architecture
    • Consul and Kubernetes Deployment Guide
    • Secure Applications with Service Sidecar Proxies
    • Secure Consul and Registered Services on Kubernetes
    • Secure Service Mesh Communication Across Kubernetes Clusters
    • Layer 7 Observability with Prometheus, Grafana, and Kubernetes
    • Manage Consul with Kubernetes Custom Resource Definitions (CRDs)
    • Consul Service Discovery and Service Mesh on Minikube
    • Consul Service Discovery and Mesh on Kubernetes in Docker (kind)
    • Deploy Consul on Azure Kubernetes Service (AKS)
    • Deploy Consul on Google Kubernetes Engine (GKE)
    • Deploy Consul on Amazon Elastic Kubernetes Service (EKS)
    • Deploy Consul on RedHat OpenShift
    • Control Access into the Service Mesh with Consul API Gateway
    • Deploy Federated Multi-Cloud Kubernetes Clusters
    • Multi Cluster Applications with Consul Enterprise Admin Partitions
    • Vault as Secrets Management for Consul

On this page

  1. Learn Consul fundamentals
  2. Service Mesh
  3. Network Infrastructure Automation
  4. All Tutorials
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)