You are on page 1of 8

Consul

Service Networking Across Any


Cloud
About..
• Consul is a distributed, highly available,
datacenter-aware, service discovery and
configuration system.
• It can be used to present services and nodes in a
flexible and powerful interface that allows clients
to always have an up-to-date view of the
infrastructure they are a part of.
• Automate network configurations, discover
services, and enable secure connectivity across
any cloud or runtime.
Consul in microservice
• The microservice architecture service
discovery engine
– Enabling reactive programming by providing
reliable list of nodes participating in a cluster
– Provides a consistent view of services and
configuration
– Can monitor and change services topology based
on the health
Components
• Service discovery
• Health check
• config
Features
• Scalable distributed health-check
• Minimal dc-to-dc communication
• Event system
• Domain model for managing topology of
datacenters, server nodes and services
running on server nodes along with their
configuration
Consul UI (in Hashicrop)
About
• A static binary written in Go
• Provides rich HTTP API
• /catalog endpoint allows to
register/deregister/list nodes and services
• It listens on port 8500 by default
Reference-Installation
• https://www.digitalocean.com/community/tu
torials/an-introduction-to-using-consul-a-
service-discovery-system-on-ubuntu-14-04
• https://www.slideshare.net/richardhightower
/consul-46378821
• https://www.consul.io/

You might also like