
Explore how the traffic training course is structured, learn what traffic is, and access GitHub repositories with config files and tooling to practice Traefik setups.
Discover how Traefik, a modern reverse proxy and load balancer, simplifies deploying microservices by routing requests to containers, enabling SSL termination and flexible URL paths.
Explore traffic routing with Traefik through getting started labs, load balancing, YAML configuration, routing to containers, tls certificates, http to https redirects, middleware, and monitoring with logs, metrics, and tracing.
Explore essential tooling for this course: Windows Terminal with auto-completion, Docker Desktop for Windows, a feature-rich editor with an integrated terminal, and optional Linux subsystem for Windows to run Docker.
Learn YAML basics for config files used by Docker compose and Traefik, including two-space indentation, dash-based arrays, key-value pairs, and nested objects.
Set up Traefik with docker compose and traffic.yaml, configure dynamic labels and static startup config, enable the docker provider, and expose an http entry point on port 80.
Explore the Traefik dashboard to view traffic, routers, and entry points, verify container labels, and inspect the load balancer configuration across services.
Learn how Traefik routes traffic to Docker containers by defining entry points, routers, and labels; map ports and paths to multiple web servers and verify routing.
Enable https in traefik by using a dynamic yaml provider to configure certificates, keys, and a secure entry point, then mount and apply tls across web servers with docker compose.
Configure http to https redirection in a dockerized environment by enabling ssl, setting up port 80 to forward to 443, and validating automatic redirects from http to https.
discover how middlewares in Traefik can modify requests, add compression and authentication, and redirect traffic. learn practical naming conventions and how to apply middlewares to http and tcp traffic.
Remove a path prefix from a URL using Traefik's strip prefix middleware. Learn to configure the prefix middleware and verify requests reach the backend with the stripped path.
Enable gzip compression with Traefik by using the compression middleware to speed up client loading, configure the webserver, and verify via the Docker Compose traffic dashboard.
Add basic auth to a Traefik site by configuring a middleware, hashing the password, and testing login on a docker-based web server.
Add a prefix to a URL in Traefik and apply the path in routing. Verify the behavior using docker compose up and local logs.
Learn how to attach multiple middlewares to a single container in Traefik, including auth and compression, with practical lab steps and troubleshooting tips.
Discover how to monitor modern web servers using traffic, enabling logs, metrics, and traces to observe incoming requests and processing speed, and choose the right tooling.
Explore logging in Traefik by adjusting log levels, adopting JSON format for easy monitoring and importing into monitoring tools, and reviewing access and exit logs to understand requests and responses.
Trace end-to-end visibility in your app with Traefik by configuring tracing with Elastic APM and Kibana, then monitor latency, throughput, and resource usage via dashboards.
Set up a DigitalOcean account, claim $200 credit, verify with a $5 PayPal payment, then deploy an Ubuntu VM in Frankfurt and access its IP and console.
Create a dns entry to point a domain to your vm, using the domain management console to add the host and dns records.
Learn to SSH into a VM using its public IPv4 address, reach a Linux prompt as root, accept the fingerprint, and log in from your local command prompt.
Install Docker and Docker Compose on an Ubuntu Digital Ocean server, verify Docker is running, clone the GitHub repository, and prepare to run traffic lab with an externally accessible domain.
Clone the GitHub repo, configure your cloud domain in the docker compose file, and start docker compose up to run traefik on a cloud server with a real domain.
Get your lab ready with the chapter seven Kubernetes on the GitHub repository, featuring two examples including example 01 and the real web server, plus required files.
Enable Kubernetes in Docker Desktop to run labs, restart if needed, and verify with kubectl get nodes and the Docker Desktop indicators.
Deploy Traefik in Kubernetes using the whoami service to illustrate traffic routing, permissions, and the traffic dashboard.
Conclude the course on routing with Traefik and deepen your skills by cloning the GitHub repository, making adjustments, and reading the traffic docs.
Routing with Traefik: Learn Traefik in less than 2 hours
This course is the perfect opportunity for beginners to learn how traefik works.
Also if you search for a reverse proxy that makes it easy to route requests to your webservices, this is what you need!
Since setting up a reverse proxy is not the task you want to waste time with (thats probably more developing your application), I made this course to deliver the information you need as fast as possible!
This course shows you everything to get started just a few hours.
You don't need to be a pro, just a laptop with docker installed is sufficient
We will touch the following topics:
Getting Started and installation
Basics of Routing
HTTPS
Middlewares (Manipulate the request that come in as well as a lot of useful features)
Monitoring
Cloud
Simple Kubernetes examples to get started with
and much more...
I will take you on a journey showing you a mixture on theoretic knowledge combined with coding exercises and a lot of useful documents and links that help you getting started.
I have created a github page as well with all the code examples that will be part of this course.
You can easily download these and run them directly on your computer.
Looking forward to see you in the course!