»Connect Clients

After deploying the servers with HCP Consul, you can continue building your datacenter by adding Consul clients.

»Join Consul Clients

To add clients to HCP Consul, you must specify the IP address of the private endpoint in the client's configuration retry_join option. You can retrieve a minimal client configuration from the HCP portal on the HCP Consul overview page. That configuration will include the private endpoint and other required options that each client will need to join the datacenter successfully.

Once the agent is a member of the datacenter, it automatically becomes aware of the other agents via gossip.

»Elastic Kubernetes Service (EKS)

Use the HashiCorp Learn tutorial to get step-by-steps guidance for adding a Consul client running in EKS.

»AWS EC2 VMs

Use the HashiCorp Learn tutorial to get step-by-steps guidance for adding a Consul client running in an AWS virtual machine (EC2) instance.