Skip to main content

Padding Tutorials

What do you want to build?

10 tutorials

All tutorials

  • How to Load Balance Traffic Across Servers with Nginx

    You will spread requests across three backends with an Nginx upstream block, weight them, keep a spare in reserve, and watch Nginx route around a backend that stops answering.

    Advanced · 14 min · Web servers and networking

  • How to Deploy a Laravel App with Nginx and PHP-FPM

    You will serve a Laravel 13 app on Ubuntu 26.04 with Nginx 1.30 passing PHP requests to a dedicated PHP-FPM 8.5 pool over a Unix socket, with APP_DEBUG off, a private .env file, code the app user cannot change, a production cache, and a repeatable deploy script.

    Advanced · 30 min · Web frameworks

  • How to Deploy a Django App with Gunicorn and Nginx on Ubuntu 26.04

    You will run a Django 6.1 project on Ubuntu 26.04 with DEBUG off, a secret key kept in a private file, Gunicorn started by a systemd socket and service as an unprivileged user, and Nginx serving static files and passing everything else to the app.

    Advanced · 28 min · Web frameworks

  • How to Build and Submit an Expo App to the App Stores with EAS

    You will set up EAS for an Expo SDK 58 app, build it for testers with an internal distribution profile, build a production release, and submit it to TestFlight and Google Play, with the costs, the accounts you need and the places where credentials stay out of your repository.

    Advanced · 20 min · Mobile development

  • How to Find and Fix Slow PostgreSQL Queries with EXPLAIN ANALYZE

    You will read a PostgreSQL 18 query plan, add an index that turns a 40 ms table scan into a 0.2 ms lookup, and use pg_stat_statements to find which queries deserve that effort.

    Advanced · 16 min · Databases

  • How to Send Alerts with Prometheus Alertmanager

    You will write alert rules in Prometheus 3.16, test them with promtool, install Alertmanager 0.35 on Ubuntu 26.04 listening on localhost only, route alerts to a receiver, trigger and resolve a real alert by stopping Node Exporter, and learn silences and an email receiver whose password stays in a file.

    Advanced · 30 min · Data and monitoring

  • How to Store Terraform 1.17 State Remotely in an S3 Bucket

    You will create a private, versioned and encrypted S3 bucket for Terraform state, point Terraform 1.17 at it with native S3 locking, move an existing local state into it, and delete the bucket correctly when you finish.

    Advanced · 18 min · Cloud and deployment

  • How to Deploy to Your Server over SSH from GitHub Actions

    You will set up a deploy key that can only do one thing on your Ubuntu 26.04 server, store it as an encrypted GitHub environment secret, and write a workflow that uploads each release over SSH and switches to it with a single atomic step.

    Advanced · 20 min · CI/CD and automation

  • How to Evaluate and Improve a RAG App with a Test Set

    You will write a test set of questions with known answers, measure retrieval with hit rate and mean reciprocal rank and the full pipeline with pass or fail checks, then use the results to add a distance cutoff that makes the app decline questions it cannot answer.

    Advanced · 28 min · AI and machine learning

  • How to Defend an LLM App Against Prompt Injection

    You will build the layers that limit the damage of prompt injection in a mail-summarising assistant, which are separated data, a tool allowlist per task, validated actions, filtered output and human approval of side effects, and write tests that check each layer without a model.

    Advanced · 28 min · AI and machine learning