• Terraform Cloud
    • HCP Vault
    • HCP Consul
    • HCP Packer
  • Pricing
  • Documentation
  • Tutorials
  • Community
Sign InTry cloud for free
    • What is HCP?
      • AWS
      • Overview
        • Create and Manage HVN
        • Peering Connections
        • Transit Gateway Attachements
        • Routes
        • Security Groups
        • Overview
        • Users
        • Service Principals
        • Organizations
        • Single Sign-On
        • Multi-Factor Authentication
        • Overview
        • Payment
        • Flex Billing
      • Support
    • What is HCP Consul?
    • Specifications
      • Overview
      • Clusters
      • Clients
      • Federation
      • Upgrades
      • Audit Logs
      • Snapshots
      • Tutorials
      • Consul Documentation
      • Forums
    • Overview
    • Security Overview
    • Get Started
    • Login MFA
    • High Availability and Disaster Recovery
    • Performance Replication
    • Version Management
    • RBAC Permissions
    • Administrative Capabilities
    • Audit Log Management
      • Overview
      • FAQ
    • Metrics
    • Constraints and Known Issues
    • Migrate to HCP Vault
    • What is HCP Packer?
    • Get Started
      • Template Configuration
      • Image Metadata
      • Image Buckets
      • Image Channels and Revocation
      • Terraform Cloud Run Tasks
    • Reference Image Metadata
    • Manage Registry
    • API Reference
    • Packer Documentation
  • Glossary
  • Changelog
Type '/' to Search

»Overview

This topic describes the process of creating Consul clusters, connecting clusters to your infrastructure environment, and deploying clients. HCP Consul simplifies the process of creating secure, production-ready Consul servers. The following steps describe the general procedure:

  1. Create a Consul cluster
  2. Connect the cluster to your infrastructure environment
  3. Deploy Consul clients

»Create a Consul Cluster

A cluster in HCP is a set of Consul server agents that perform process-heavy functions, such as responding to queries and managing access control lists (ACL). All clusters exist in your HashiCorp virtual network (HVN), which is the parent entity for all Consul resources documentation for additional information). Refer to the Clusters topic for instructions on how to create clusters.

»Connect to Your Infrastucture Environment

After creating a Consul server cluster, the next step is to connect your HVN to your infrastructure environment. You can establish a connection using a peering connection or transit gateway attachment (AWS). You must also specify routes, which direct network traffic between the HVN and a target connection. Refer to the HashiCorp Virtual Network documentation for additional information.

»Deploy Consul Clients

The final step is to deploy a Consul client. Consul servers and clients are necessary for discovering and connecting services. Whereas servers are deployed in HCP and are fully managed by HashiCorp, Consul clients are deployed to the infrastructure environment where your services are located. Refer to the Clients topic for instructions on how to deploy clusters

Tutorials: Complete one of the following tutorials for a hands-on experience deploying Consul clients:

  • Connect an Elastic Kubernetes Service Cluster to HCP Consul
  • Connect a Consul Client to HCP Consul (EC2)
  • Serverless Consul Service Mesh with ECS and HCP
  • Learn about HCP

    • Blog
    • Press Release
  • Resources

    • Tutorials
    • Documentation
  • Help

    • Community
    • Support
    • Contact Us
  • Terms of Service
  • SLA
  • Shared Responsibility Model
  • Privacy
  • Security
  • Press Kit
©2021 HashiCorp, Inc. All rights reserved