2019-06-24 21:19:12 +00:00
---
2020-04-07 18:55:19 +00:00
layout: docs
2020-09-01 15:14:13 +00:00
page_title: Glossary
2020-04-07 18:55:19 +00:00
description: >-
2022-09-16 15:28:32 +00:00
The glossary is a list of technical terms with a specific meaning in Consul. Use the glossary to understand Consul concepts and study for the certification exam.
2019-06-24 21:19:12 +00:00
---
2021-05-24 19:44:03 +00:00
# Consul Vocabulary
2019-06-24 21:19:12 +00:00
2021-05-24 19:44:03 +00:00
This section collects brief definitions of some of the technical terms used in the documentation for Consul and Consul Enterprise, as well as some terms that come up frequently in conversations throughout the Consul community.
2019-06-24 21:19:12 +00:00
2020-04-06 20:27:35 +00:00
## Agent
2019-06-24 21:19:12 +00:00
An agent is the long running daemon on every member of the Consul cluster.
2020-04-06 20:27:35 +00:00
It is started by running `consul agent`. The agent is able to run in either _client_
or _server_ mode. Since all nodes must be running an agent, it is simpler to refer to
2019-06-24 21:19:12 +00:00
the node as being either a client or server, but there are other instances of the agent. All
agents can run the DNS or HTTP interfaces, and are responsible for running checks and
keeping services in sync.
## Client
A client is an agent that forwards all RPCs to a server. The client is relatively
stateless. The only background activity a client performs is taking part in the LAN gossip
pool. This has a minimal resource overhead and consumes only a small amount of network
bandwidth.
2020-04-06 20:27:35 +00:00
## Server
2019-06-24 21:19:12 +00:00
A server is an agent with an expanded set of responsibilities including
participating in the Raft quorum, maintaining cluster state, responding to RPC queries,
exchanging WAN gossip with other datacenters, and forwarding queries to leaders or
remote datacenters.
2020-04-06 20:27:35 +00:00
## Datacenter
2019-06-24 21:19:12 +00:00
We define a datacenter to be a networking environment that is
private, low latency, and high bandwidth. This excludes communication that would traverse
the public internet, but for our purposes multiple availability zones within a single EC2
region would be considered part of a single datacenter.
2020-04-06 20:27:35 +00:00
## Consensus
2019-06-24 21:19:12 +00:00
When used in our documentation we use consensus to mean agreement upon
the elected leader as well as agreement on the ordering of transactions. Since these
transactions are applied to a
[finite-state machine](https://en.wikipedia.org/wiki/Finite-state_machine), our definition
of consensus implies the consistency of a replicated state machine. Consensus is described
2020-04-06 20:27:35 +00:00
in more detail on [Wikipedia](<https://en.wikipedia.org/wiki/Consensus_(computer_science)>),
2023-01-25 16:52:43 +00:00
and our implementation is described [here](/consul/docs/architecture/consensus).
2019-06-24 21:19:12 +00:00
2020-04-06 20:27:35 +00:00
## Gossip
2019-06-24 21:19:12 +00:00
2024-10-02 19:02:23 +00:00
Consul is built on top of [Serf](https://github.com/hashicorp/serf/) which provides a full
2019-06-24 21:19:12 +00:00
[gossip protocol](https://en.wikipedia.org/wiki/Gossip_protocol) that is used for multiple purposes.
Serf provides membership, failure detection, and event broadcast. Our use of these
2023-01-25 16:52:43 +00:00
is described more in the [gossip documentation](/consul/docs/architecture/gossip). It is enough to know
2019-06-24 21:19:12 +00:00
that gossip involves random node-to-node communication, primarily over UDP.
2020-04-06 20:27:35 +00:00
## LAN Gossip
2019-06-24 21:19:12 +00:00
Refers to the LAN gossip pool which contains nodes that are all
located on the same local area network or datacenter.
2020-04-06 20:27:35 +00:00
## WAN Gossip
2019-06-24 21:19:12 +00:00
Refers to the WAN gossip pool which contains only servers. These
servers are primarily located in different datacenters and typically communicate
over the internet or wide area network.
2020-04-06 20:27:35 +00:00
## RPC
2019-06-24 21:19:12 +00:00
Remote Procedure Call. This is a request / response mechanism allowing a
2019-10-31 19:14:08 +00:00
client to make a request of a server.
2021-05-24 19:44:03 +00:00
# Consul Glossary
This section collects brief definitions of some of the terms used in the discussions around networking in a cloud-native world.
## Access Control List (ACL)
2024-10-02 19:02:23 +00:00
An Access Control List (ACL) is a list of user permissions for a file, folder, or
other object. It defines what users and groups can access the object and what
2021-05-24 19:44:03 +00:00
operations they can perform.
2022-01-10 23:42:51 +00:00
Consul uses Access Control Lists (ACLs) to secure the UI, API, CLI, service
communications, and agent communications.
2023-01-25 16:52:43 +00:00
Visit [Consul ACL Documentation and Guides](/consul/docs/security/acl)
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## API Gateway
An Application Programming Interface (API) is a common software interface that
allows two applications to communicate. Most modern applications are built using
APIs. An API Gateway is a single point of entry into these modern applications
2021-05-24 19:44:03 +00:00
built using APIs.
2024-10-02 19:02:23 +00:00
## Application Security
Application Security is the process of making applications secure by detecting
and fixing any threats or information leaks. This can be done during or after
the app development lifecycle; although, it is easier for app teams and security
teams to incorporate security into an app even before the development process
2021-05-24 19:44:03 +00:00
begins.
2024-10-02 19:02:23 +00:00
## Application Services
Application Services are a group of services, such as application performance
monitoring, load balancing, service discovery, service proxy, security,
autoscaling, etc. needed to deploy, run, and improve applications.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## Authentication and Authorization (AuthN and AuthZ)
2021-05-24 19:44:03 +00:00
Authentication (AuthN) deals with establishing user identity while Authorization
(AuthZ) allows or denies access to the user based on user identity.
2024-10-02 19:02:23 +00:00
## Auto Scaling Groups
An Auto Scaling Group is an AWS specific term that represents a collection of
Amazon EC2 instances that are treated as a logical grouping for the purposes of
automatic scaling and management.
Learn more about Auto Scaling Groups
2021-05-24 19:44:03 +00:00
[here](https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html).
2024-10-02 19:02:23 +00:00
## Autoscaling
Autoscaling is the process of automatically scaling computational resources based
on network traffic requirements. Autoscaling can be done either horizontally or
vertically. Horizontal scaling is done by adding more machines into the pool of
resources whereas vertical scaling means increasing the capacity of an existing
2021-05-24 19:44:03 +00:00
machine.
2024-10-02 19:02:23 +00:00
## Blue-Green Deployments
Blue-Green Deployment is a deployment method designed to reduce downtime by
running two identical production environments labeled Blue and Green. Blue is
the active while Green is the idle environment.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## Canary Deployments
Canary deployment is the pattern used for rolling out releases to a subset of
users or servers. The goal is deploy the updates to a subset of users, test it,
and then roll out the changes to everyone.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## Client-side Load Balancing
Client-side load balancing is a load balancing approach that relies on clients'
decision to call the right servers. As the name indicates, this approach is part
of the client application. Servers can still have their own load balancer
2021-05-24 19:44:03 +00:00
alongside the client-side load balancer.
2024-10-02 19:02:23 +00:00
## Cloud Native Computing Foundation
The [Cloud Native Computing Foundation (CNCF)](https://github.com/cncf/foundation)
is a Linux Foundation project that was founded in 2015 to help advance
2021-05-24 19:44:03 +00:00
container technology and align the tech industry around its evolution.
2024-10-02 19:02:23 +00:00
HashiCorp joined Cloud Native Computing Foundation to further HashiCorp
product integrations with CNCF projects and to work more closely with the
broader cloud-native community of cloud engineers. Read more
2021-05-24 19:44:03 +00:00
[here](https://www.hashicorp.com/blog/hashicorp-joins-the-cncf/).
2024-10-02 19:02:23 +00:00
## Custom Resource Definition (CRD)
Custom resources are the extensions of the Kubernetes API. A Custom Resource
Definition (CRD) file allows users to define their own custom resources and
2021-05-24 19:44:03 +00:00
allows the API server to handle the lifecycle.
2024-10-02 19:02:23 +00:00
## Egress Traffic
Egress traffic is network traffic that begins inside a network and proceeds
2021-05-24 19:44:03 +00:00
through its routers to a destination outside the network.
2024-10-02 19:02:23 +00:00
## Elastic Provisioning
Elastic Provisioning is the ability to provision computing resources
2021-05-24 19:44:03 +00:00
dynamically to meet user demand.
2024-10-02 19:02:23 +00:00
## Envoy Proxy
[Envoy Proxy](https://www.envoyproxy.io/) is a modern, high performance,
small footprint edge and service proxy. Originally written and deployed at
2021-05-24 19:44:03 +00:00
[Lyft](https://eng.lyft.com/announcing-envoy-c-l7-proxy-and-communication-bus-92520b6c8191),
2024-10-02 19:02:23 +00:00
Envoy Proxy is now an official project at [Cloud Native Computing Foundation
(CNCF)](https://www.cncf.io/cncf-envoy-project-journey/)
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## Forward Proxy
A forward proxy is used to forward outgoing requests from inside the network
to the Internet, usually through a firewall. The objective is to provide a level
2021-05-24 19:44:03 +00:00
of security and to reduce network traffic.
2024-10-02 19:02:23 +00:00
## Hybrid Cloud Architecture
A hybrid cloud architecture is an IT architectural approach that mixes
on-premises, private cloud, and public cloud services. A hybrid cloud
environment incorporates workload portability, orchestration, and management
2021-05-24 19:44:03 +00:00
across the environments.
2024-10-02 19:02:23 +00:00
A private cloud, traditionally on-premises, is referred to an infrastructure
2021-05-24 19:44:03 +00:00
environment managed by the user themselves.
2024-10-02 19:02:23 +00:00
A public cloud, traditionally off-premises, is referred to an infrastructure
2021-05-24 19:44:03 +00:00
service provided by a third party.
2024-10-02 19:02:23 +00:00
## Identity-based authorization
Identity-based authorization is a security approach to restrict or allow access
2021-05-24 19:44:03 +00:00
based on the authenticated identity of an individual.
2024-10-02 19:02:23 +00:00
## Infrastructure as a Service
Infrastructure as a Service, often referred to as IaaS, is a cloud computing
approach where the computing resources are delivered online via APIs. These
2021-05-24 19:44:03 +00:00
APIs communicate with underlying infrastructure like physical computing resources,
2024-10-02 19:02:23 +00:00
location, data partitioning, scaling, security, backup, etc.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
IaaS is one of the four types of cloud services along with SaaS
2021-05-24 19:44:03 +00:00
(Software as a Service), PaaS (Platform as a Service), and Serverless.
2024-10-02 19:02:23 +00:00
## Infrastructure as Code
Infrastructure as Code (IaC) is the process of developers and operations teams'
ability of provisioning and managing computing resources automatically through
2021-05-24 19:44:03 +00:00
software, instead of using configuration tools.
2024-10-02 19:02:23 +00:00
## Ingress Controller
In Kubernetes, "ingress" is an object that allows access Kubernetes services
from outside the Kubernetes cluster. An ingress controller is responsible for
ingress, generally with a load balancer or an edge router that can help with
2021-05-24 19:44:03 +00:00
traffic management.
2024-10-02 19:02:23 +00:00
## Ingress Gateway
An Ingress Gateway is an edge of the mesh load balancer that provides secure and
reliable access from external networks to Kubernetes clusters.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## Ingress Traffic
Ingress Traffic is the network traffic that originates outside the network and
2021-05-24 19:44:03 +00:00
has a destination inside the network.
2024-10-02 19:02:23 +00:00
## Key-Value Store
A Key-Value Store (or a KV Store) also referred to as a Key-Value Database is
a data model where each key is associated with one and only one value in
2021-05-24 19:44:03 +00:00
a collection.
2024-10-02 19:02:23 +00:00
## L4 - L7 Services
L4-L7 Services are a set of functions such as load balancing, web application
firewalls, service discovery, and monitoring for network layers within the
2021-05-24 19:44:03 +00:00
Open Systems Interconnection (OSI) model.
2024-10-02 19:02:23 +00:00
## Layer 7 Observability
Layer 7 Observability is a feature of Consul Service Mesh that enables a
unified workflow for metric collection, distributed tracking, and logging.
It also allows centralized configuration and management for a distributed
data plane.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## Load Balancer
A load balancer is a network appliance that acts as a [reverse proxy](#reverse-proxy)
2021-06-19 21:45:18 +00:00
and distributes network and application traffic across the servers.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## Load Balancing
Load Balancing is the process of distributing network and application traffic
across multiple servers.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## Load Balancing Algorithms
Load balancers follow an algorithm to determine how to route the traffic across
2021-05-24 19:44:03 +00:00
the server farm. Some of the commonly used algorithms are:
1. Round Robin
2. Least Connections
3. Weighted Connections
4. Source IP Hash
5. Least Response Time Method
6. Least Bandwidth Method
2024-10-02 19:02:23 +00:00
## Multi-cloud
A multi-cloud environment generally uses two or more cloud computing services
from different vendors in a single architecture. This refers to the distribution
of compute resources, storage, and networking aspects across cloud environments.
A multi-cloud environment could be either all private cloud or all public cloud
or a combination of both.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## Multi-cloud Networking
Multi-cloud Networking provides network configuration and management across
2021-05-24 19:44:03 +00:00
multiple cloud providers via APIs.
2024-10-02 19:02:23 +00:00
## Mutual Transport Layer Security (mTLS)
Mutual Transport Layer Security, also known as mTLS, is an authentication
mechanism that ensures network traffic security in both directions between
a client and server.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## Network Middleware Automation
The process of publishing service changes to network middleware such as
load balancers and firewalls and automating network tasks is called Network
2021-05-24 19:44:03 +00:00
Middleware Automation.
2024-10-02 19:02:23 +00:00
## Network security
Network security is the process of protecting data and network. It consists
of a set of policies and practices that are designed to prevent and monitor
unauthorized access, misuse, modification, or denial of a computer network
2021-05-24 19:44:03 +00:00
and network-accessible resources.
2024-10-02 19:02:23 +00:00
## Network traffic management
Network Traffic Management is the process of ensuring optimal network operation
by using a set of network monitoring tools. Network traffic management also
focuses on traffic management techniques such as bandwidth monitoring, deep
2021-05-24 19:44:03 +00:00
packet inspection, and application based routing.
2024-10-02 19:02:23 +00:00
## Network Visualization
Network Visualization is the process of visually displaying networks and
connected entities in a "boxes and lines" kind of a diagram.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
In the context of microservices architecture, visualization can provide a clear
picture of how services are connected to each other, the service-to-service
2021-05-24 19:44:03 +00:00
communication, and resource utilization of each service.
2024-10-02 19:02:23 +00:00
## Observability
Observability is the process of logging, monitoring, and alerting on the
2021-05-24 19:44:03 +00:00
events of a deployment or an instance.
2024-10-02 19:02:23 +00:00
## Elastic Scaling
Elastic Scaling is the ability to automatically add or remove compute or
2021-05-24 19:44:03 +00:00
networking resources based on the changes in application traffic patterns.
2024-10-02 19:02:23 +00:00
## Platform as a Service
Platform-as-a-Service (PaaS) is a category of cloud computing that allows
users to develop, run, and manage applications without the complexity of
building and maintaining the infrastructure typically associated with
developing and launching the application.
## Reverse Proxy
A reverse proxy handles requests coming from outside, to the internal
network. Reverse Proxy provides a level of security that prevents the
external clients from having direct access to data on the corporate servers.
The reverse proxy is usually placed between the web server and the external
traffic.
## Role-based Access Controls
The act of restricting or provisioning access
2021-05-24 19:44:03 +00:00
to a user based on their specific role in the organization.
2024-10-02 19:02:23 +00:00
## Server side load balancing
A Server-side Load Balancer sits between the client and the server farm,
accepts incoming traffic, and distributes the traffic across multiple backend
2021-05-24 19:44:03 +00:00
servers using various load balancing methods.
2024-10-02 19:02:23 +00:00
## Service configuration
A service configuration includes the name, description, and the specific
function of a service. In a microservices application architecture setting,
2021-05-24 19:44:03 +00:00
a service configuration file includes a service definition.
2024-10-02 19:02:23 +00:00
## Service Catalog
A service catalog is an organized and curated collection of services that
2021-05-24 19:44:03 +00:00
are available for developers to bind to their applications.
2024-10-02 19:02:23 +00:00
## Service Discovery
Service Discovery is the process of detecting services and devices on a
network. In a microservices context, service discovery is how applications
2021-05-24 19:44:03 +00:00
and microservices locate each other on a network.
2024-10-02 19:02:23 +00:00
## Service Mesh
Service Mesh is the infrastructure layer that facilitates service-to-service
communication between microservices, often using a sidecar proxy. This
network of microservices make up microservice applications and the
2021-05-24 19:44:03 +00:00
interactions between them.
2024-10-02 19:02:23 +00:00
## Service Networking
Service networking brings several entities together to deliver a particular
service. Service Networking acts as the brain of an organization's
2021-05-24 19:44:03 +00:00
networking and monitoring operations.
2024-10-02 19:02:23 +00:00
## Service Proxy
A service proxy is the client-side proxy for a microservice application.
It allows applications to send and receive messages over a proxy server.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## Service Registration
Service registration is the process of letting clients (of the service)
and routers know about the available instances of the service.
2021-05-24 19:44:03 +00:00
Service instances are registered with a service registry on startup and deregistered at shutdown.
2024-10-02 19:02:23 +00:00
## Service Registry
Service Registry is a database of service instances and information on
2021-05-24 19:44:03 +00:00
how to send requests to these service instances.
2024-10-02 19:02:23 +00:00
## Microservice Segmentation
Microservice segmentation, sometimes visual, of microservices is the
segmentation in a microservices application architecture that enables
2021-06-16 20:13:32 +00:00
administrators to view their functions and interactions.
2021-05-24 19:44:03 +00:00
2024-10-02 19:02:23 +00:00
## Service-to-service communication
Service-to-service communication, sometimes referred to as
inter-service communication, is the ability of a microservice
application instance to communicate with another to collaborate and
2021-05-24 19:44:03 +00:00
handle client requests.
2024-10-02 19:02:23 +00:00
## Software as a Service
Software as a Service is a licensing and delivery approach to software
delivery where the software is hosted by a provider and licensed
to users on a subscription basis.