© Pierluigi Riti and David Flynn 2021
P. Riti, D. FlynnBeginning HCL Programminghttps://doi.org/10.1007/978-1-4842-6634-2_6

6. Consul HCL

Pierluigi Riti1   and David Flynn2
(1)
Mullingar, Ireland
(2)
New Orleans, LA, USA
 

With the birth of a new architecture pattern, like the microservice architecture, the necessity of a service registry with discovery became evident. Consul offers a solution for managing and maintaining service discovery. In this chapter, you will learn how to use Consul and how to configure it using the HCL language.

Introduction to Consul

Consul is a service network solution used to connect and secure services across different platforms including both private and public clouds.

Consul fits different use cases, which makes the product ...

Get Beginning HCL Programming: Using Hashicorp Language for Automation and Configuration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.