Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Simplifying Service Management with Consul
  • Table Of Contents Toc
  • Feedback & Rating feedback
Simplifying Service Management with Consul

Simplifying Service Management with Consul

By : Jackson
3.8 (4)
close
close
Simplifying Service Management with Consul

Simplifying Service Management with Consul

3.8 (4)
By: Jackson

Overview of this book

Within the elastic and dynamic nature of cloud computing, efficient and accurate service discovery provides the cornerstone for all communications. HashiCorp Consul facilitates this service discovery efficiently and securely, independent of the operating environment. This book will help you build a solid understanding of both the concepts and applications of HashiCorp Consul. You'll begin by finding out what you can do with Consul, focusing on the conceptual views of configuration samples along with Terraform code to expedite lab environment and hands-on experimentation, which will enable you to apply Consul effectively in your everyday lives. As you advance, you'll learn how to set up your own Consul cluster and agents in a single datacenter or location and understand how Consul utilizes RAFT and GOSSIP protocols for communication. You'll also explore the practical applications of primary Consul use cases, including communication flows and configuration and code examples. With that knowledge, you'll extend Consul across datacenters to discuss the applicability of multiple regions, multiple clouds, and hybrid cloud environments. By the end of this Consul book, you will have the tools needed to create and operate your own Consul cluster and be able to facilitate your service discovery and communication.
Table of Contents (12 chapters)
close
close
1
Section 1: Consul Use Cases and Architecture
6
Section 2: Use Cases Deep Dive

Chapter 7: Animate Me

We've already talked at great length about the Consul cluster's awareness of the services and applications deployed within the system, along with their corresponding health. Why should Consul keep all of this information to itself? A big part of the successful existence of any network, human or machine, is the sharing of information. Throughout this chapter, we're going to look at a few ways that Consul is able to share that information with third-party components in order to improve our lives through automation:

  • Key/value (KV) store – Consul utilizes the distributed KV store to share information among Consul nodes, but this can also be used by humans and machines to share data and directives throughout the cluster.
  • Watches and handlers – In Chapter 5, Little Bo Peep Lost Her Service, we saw how Consul watches and handlers are able to announce specific changes to the service status. In this chapter, we'll see how this...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY