This course provides a comprehensive guide to HashiCorp Consul, covering its architecture, deployment, and core services. You’ll learn to deploy single data centers, register services using service discovery, and manage configurations with Consul Key/Value (KV). The course also covers backup and restore procedures, service proxies, securing agent communication with ACLs, and using gossip encryption for data in transit. By the end, you’ll have the skills to confidently work with Consul and prepare for the Consul Associate exam.
Who should take this Course?
The HTML5 and CSS3 Online Course is ideal for beginners, students, and aspiring web developers who want to build responsive and visually appealing websites from scratch. It is also suitable for designers, hobbyists, and professionals from non-technical backgrounds looking to enhance their front-end development skills using modern HTML5 and CSS3 techniques.
What you will learn
Learn network automation and service discovery
Learn differences between voting and non-voting servers
Add or remove Consul Agents from the cluster
Monitor changes using Consul Watch
Manage Consul Service Mesh Intentions
Perform CLI requests using a token
Course Outline
Course Introduction
Course Introduction
Objective 1: Explain Consul Architecture
Objective 1 - Section Overview
Introduction to HashiCorp Consul
Service Discovery
Service Mesh
Network Automation
Service Configuration
Basic Consul Architecture
Consensus Protocol (Raft)
Gossip Protocol (Serf)
Network Traffic and Ports
Consul High Availability
Scaling for Performance
Voting Versus Non-Voting Servers
Redundancy Zones
Consul Autopilot
Objective 1 - Section Recap
Objective 2: Deploy a Single Datacenter
Objective 2 - Section Overview
Start the Consul Process
Lab Session - Starting the Consul Process - Using Dev Mode
Manage the Consul Process
Consul Agent Configuration
Lab Session - Creating a Consul Agent Configuration
Configure Networking and Ports
Adding/Removing Consul Agents to the Cluster
Lab Session - Adding and Removing Consul Agents
Objective 2 - Section Recap
Objective 3: Register Services and Use Service Discovery
Objective 3 - Section Overview
Registering a Consul Service
Creating a Service Definition
Lab Session - Service Definition and Registration
Configuring Service Health Checks
Lab Session - Working with Health Checks
Check Service Status from the Catalog
Lab Session - Check Service Status from the Catalog
Introduction to Prepared Queries
Lab Session - Prepared Queries
Objective 3 - Section Recap
Objective 4: Access the Consul Key/Value (KV)
Objective 4 - Section Overview
Introduction to Consul K/V Store
Interacting with Consul K/V
Lab Session - Working with the Consul K/V
Using Consul Watch to Monitor Changes
Using envconsul
Lab Session - Using Envconsul to Monitor Changes to Consul K/V
Using consul-template
Lab Session - Using Consul-Template to Monitor Changes to Consul K/V
Objective 4 - Section Recap
Objective 5: Backup and Restore
Objective 5 - Section Overview
Introduction to Consul Snapshots
Using Consul Snapshots
Lab Session - Consul Snapshots
Consul Snapshot Agent (Enterprise)
Lab Session - Using the Consul Snapshot Agent (Enterprise)
Objective 5 - Section Recap
Objective 6: Register a Service Proxy
Objective 6 - Section Overview
Introduction to Consul Service Mesh
Registering a Service Proxy
Introduction to Consul Service Mesh Intentions
Managing Consul Service Mesh Intentions
Lab Session - Service Mesh
Objective 6 - Section Recap
Objective 7: Secure Agent Communication
Objective 7 - Section Overview
Consul Security/Threat Model
Certificates Required in Consul
TLS Encryption Settings
Objective 7 - Section Recap
Objective 8: Secure Services with Basic ACLs
Objective 8 - Section Overview
Introduction to the Consul ACL System
Lab Session - Enable and Configure the Consul ACL System
Creating ACL Policies
Lab Session - Creating ACL Policies
Creating and Managing ACL Tokens
Lab Session - Creating ACL Tokens
Perform a UI task Using a Token
Lab Session - Using Tokens with the Consul UI
Perform a CLI Request Using a Token
Lab Session - Using Tokens with the Consul CLI
Perform an API Request Using a Token
Lab Session - Using Tokens with the Consul API
Objective 8 - Section Recap
Objective 9: Use Gossip Encryption
Objective 9 - Section Overview
Introduction to Gossip Encryption
Configure Gossip Encryption
Lab Session - Configure Gossip Encryption
Manage the Lifecycle of Encryption Keys
Lab Session - Managing the Lifecycle of Encryption Keys