Рет қаралды 8,351
*Get 200$ worth of credits in the Digital Ocean Cloud: link.techwithmarco.com/digita... (*)
In this tutorial, I'll show you how to set up #CrowdSec with #Traefik to provide ultimate security for
your web applications. CrowdSec is an open-source security stack that helps protect your web applications from attacks, while #Traefik is a reverse proxy that helps route traffic to the right web application.
To get started, I'll assume you have already set up Traefik, otherwise have a look at my traefik tutorial • TRAEFIK - the BEST rev... . First, I'll show you how to configure CrowdSec and Traefik.
Then, I'll show you how to create the "crowdsec_config" folder with the "acquis.yml" file, which allows CrowdSec to read log files of Traefik. I'll also mount the log directory of Traefik to the CrowdSec container so that the CrowdSec container can read the log files of Traefik.
Finally, I'll show you how to connect crowdsec with the traefik-crowdsec-bouncer to take action on the above gathered information.
You can verify that everything is working by visiting your web application and triggering some attacks. You should see log entries in Traefik's logs showing that the requests were blocked by the Traefik bouncer.
Thank you for watching this tutorial. If you have any questions or comments, feel free to leave them in the comments section below. Don't forget to like and subscribe to our channel for more videos like this.
Here you can find the tutorials files on my github:
github.com/marcogreiveldinger...
Terraform - Cloudflare - Github Actions Automation: • Terraform and Cloudfla...
Traefik Tutorial: • TRAEFIK - the BEST rev...
00:00 - 00:14 Intro
00:15 - 00:50 What is CrowdSec
00:51 - 03:00 Create a new cloud server
03:01 - 06:40 Traefik Setup
06:41 - 11:25 CrowdSec configuration setup
11:26 - 17:20 CrowdSec Bouncer - take action on information
17:21 - 21:16 CrowdSec Console - Dashboard overview
21:17 - 22:10 CrowdSec Hub community
22:11 - 22:34 Outro
www.crowdsec.net/
traefik.io/traefik/
www.digitalocean.com/ #digitalocean
Music from #Uppbeat (free for Creators!):
uppbeat.io/t/avbe/night-in-kyoto
License code: HZXPGBZOG9PSJT0W
Support me at Patreon: / techwithmarco
--------------------------
(*) -links are affiliate links. (If you buy something through the link, I receive a commission of your purchases. There are no extra costs for you.)