This lab is currently in Beta, content may be updated as we refine the material
LABINTERMEDIATE

Ingress Gateway for Inbound Mesh Traffic

Put a controlled front door on your service mesh. Register an ingress gateway, expose a mesh service to outside clients on a listener port, route two services off one listener by host header, and prove intentions still gate the door.

45 minutes
hashicorp/consul
Ingress Gateway for Inbound Mesh Traffic - Platform Engineering Hands-On Lab Icon
Share this Lab

Lab Overview

Every service in a Consul service mesh only accepts mutual-TLS connections from other verified sidecars, so a plain client from outside the mesh, a browser, a load balancer, or a legacy app, cannot reach a mesh service directly. An ingress gateway is the controlled front door that solves this north-south problem.

In this lab you work with a small mesh: one Consul server, a backend VM running two mesh services (`web` and `api`), and a dedicated gateway VM. You will:

  • Register and start the ingress gateway (a Consul-managed Envoy proxy) at the

edge of the mesh

  • Write an `ingress-gateway` config entry that exposes the `web` service on an

HTTP listener, then reach it from outside the mesh through the gateway

  • Add the `api` service to the same listener and route to each service by its

`<service>.ingress.consul` host header

  • Prove the zero-trust boundary is intact: an intention still gates traffic from

the gateway to a backend service, exactly like any other mesh hop

Everything runs on Consul Community Edition on Ubuntu, with Consul and Envoy installed at pinned versions by the lab's setup scripts.

What You'll Learn

Explain the north-south problem and why external clients cannot reach mesh services directly

Register and start an ingress gateway Envoy proxy at the edge of the mesh

Expose a mesh service on an ingress-gateway listener and reach it from outside the mesh

Route multiple services off one HTTP listener using the <service>.ingress.consul host header

Verify that intentions still gate traffic passing through the ingress gateway

Prerequisites

consul-fundamentals

service-mesh-basics

linux-command-line

Technologies Covered

consulingress-gatewayservice-meshenvoynorth-southintentions

Choose your plan

Simple, Transparent Pricing

Unlock full access to TeKanAid courses, labs, and bootcamps

Buying for a team? Private corporate training is available for up to 15 learners.View team training
MonthlyQuarterly
Try Premium free for 7 days →

Just exploring? Start free below. Want the full experience? Try Premium free for 7 days (card required, $0 today).

Pro

All courses, with lab scripts to run on your own machine

$59/month

Renews automatically. Cancel anytime.

Final price verified at checkout.

  • Full access to all courses
  • Lab scripts to download and run on your own machine (hosted labs not included)
  • Progress tracking
  • Certificate of completion
  • Community access
  • Self-paced bootcamps
  • Premium puzzle library not included (5 free puzzles available)
  • New content access
Recommended

Premium

Full access, including unlimited hosted labs

$99/month

Renews automatically. Cancel anytime.

Final price verified at checkout.

  • Everything in Pro
  • Unlimited hands-on labs, fully hosted on TeKanAid Academy (nothing to set up)
  • Full access to the puzzle library
  • Lab AI Assistant
  • Priority support

Prefer a single course?

Purchase individual courses for a one-time fee of $79. Full access to course content, quizzes, certificates, and community features, lab access is not included.

Browse Courses

Just exploring? Start free, no account needed

Three free ways to start. All bridge into the paid Premium catalog when you're ready.

Not ready to commit? The crash course is email-only. No academy account required.

Ready to Get Started?

Start this hands-on lab and build real-world Platform Engineering skills

Get Access Now