Infrastructure tutorials

Production-grade guides for Linux, servers, security and performance. Copy-paste commands, multi-distro support, written by engineers who run this in production.

performance Intermediate

Optimize Varnish 7 cache storage with memory tuning and persistence configuration

Configure Varnish 7 memory allocation and storage backends for optimal cache performance. Set up file-based persistence and tune memory parameters for high-traffic workloads with monitoring.

25 min 4 distros 25 views
security Intermediate

Set up NGINX rate limiting and security headers for DDoS protection

Configure NGINX with comprehensive rate limiting zones, security headers, and DDoS protection rules to secure your web applications against malicious traffic and automated attacks.

25 min 4 distros 35 views
monitoring Intermediate

Monitor Varnish 7 performance with Prometheus and Grafana dashboards

Set up comprehensive Varnish monitoring using prometheus-varnish-exporter, custom Grafana dashboards, and performance alerting rules for production cache optimization.

25 min 4 distros 18 views
hosting Intermediate

Configure Lighttpd 1.4 load balancing with multiple backend servers for high availability

Set up Lighttpd with mod_proxy to distribute traffic across multiple backend servers, implement health checks for automatic failover, and configure SSL termination for a robust high availability web infrastructure.

25 min 4 distros 33 views
performance Advanced

Optimize OpenResty performance with advanced caching strategies and Lua optimization

Configure high-performance caching with Redis integration, implement microcaching strategies, and optimize Lua scripts for memory management in production OpenResty deployments.

45 min 4 distros 39 views
security Advanced

Implement OpenResty rate limiting and API protection with Lua middleware

Build production-grade API protection using OpenResty's Lua middleware with advanced rate limiting algorithms, request throttling, and comprehensive security policies for high-traffic web applications.

45 min 4 distros 34 views
monitoring Intermediate

Set up Netdata slave nodes for centralized monitoring with parent-child architecture

Configure Netdata parent-child architecture to stream metrics from multiple servers to a centralized dashboard. Set up authentication, SSL encryption, and troubleshoot streaming issues for scalable monitoring infrastructure.

45 min 4 distros 119 views
monitoring Intermediate

Configure Node.js application monitoring with PM2 and Grafana

Set up comprehensive Node.js application monitoring using PM2 process manager with Prometheus metrics collection and Grafana dashboards for production-grade observability and alerting.

45 min 4 distros 82 views
performance Intermediate

Configure Varnish ESI (Edge Side Includes) for dynamic content optimization

Set up Varnish Cache 7 with Edge Side Includes to fragment and cache dynamic content separately. ESI allows you to cache static page parts while keeping dynamic sections fresh, improving performance for complex applications with mixed content types.

25 min 4 distros 132 views
monitoring Intermediate

Monitor Cherokee web server performance with Grafana and Prometheus metrics collection

Set up comprehensive Cherokee web server monitoring with Prometheus metrics collection and Grafana dashboards. Configure alerting rules, performance thresholds, and real-time visualization for production Cherokee deployments.

45 min 4 distros 116 views
networking Advanced

Configure FRRouting route maps and prefix lists for advanced routing policies

Set up FRRouting with route maps and prefix lists to control BGP route advertisement, implement traffic engineering, and create sophisticated routing policies for enterprise networks.

45 min 4 distros 192 views
hosting Intermediate

Configure Cherokee web server with MySQL database optimization and performance tuning

Set up Cherokee web server with optimized MySQL database connections, FastCGI configuration, and performance tuning for high-traffic web applications on Linux systems.

45 min 4 distros 98 views

Need help?

Don't want to manage this yourself?

We handle infrastructure for businesses that depend on uptime. From initial setup to ongoing operations.

Talk to an engineer