Tutorials

Learn web development with step-by-step guides

From beginner to advanced — Django, Python, REST APIs, JavaScript, Bootstrap, and more

All Django Python REST API JavaScript Bootstrap Database DevOps Security AI & LLMs
Level: All Levels Beginner Intermediate Advanced

DevOps Tutorials

32 tutorials
DevOps Advanced
Terraform and CloudFormation Side by Side: State, Drift, Modules vs Nested Stacks, Testing, and Migration

The same S3 and SQS resources built in both tools, compared on state and locking, plans vs change sets, drift, modules vs nested stacks, loops, policy, testing, import, refactoring and state security, with a step-by-step migration path in each direction.

20 min · 50
Read
DevOps Advanced
Immutable Infrastructure: Golden Images with Packer, Rolling Replacement, and Eliminating Configuration Drift

Build versioned golden images with Packer, inject per-instance data with cloud-init, fetch secrets at boot, replace instances behind HAProxy or a managed group with health checks, then detect drift, test images, set a patching cadence and roll back.

19 min · 49
Read
DevOps Advanced
Cloud Architecture Patterns: Availability Zones, Multi-Region, Landing Zones, and Cost Trade-offs

Work from failure domains and RTO/RPO to concrete designs: zone-spread stateless tiers, data replication options, active-passive and active-active regions, landing zones, hub-and-spoke networks, egress cost, and game days.

20 min · 68
Read
DevOps Advanced
Ansible at Scale: Roles, Collections, Dynamic Inventory, Vault, and Testing with Molecule

Structure a large Ansible codebase: role interfaces and variable precedence, pinned collections, cloud inventory plugins, Vault and its alternatives, rolling updates with serial and max_fail_percentage, ansible-lint, and Molecule tests.

20 min · 57
Read
DevOps Advanced
GitHub at Scale: Rulesets, CODEOWNERS, Reusable Workflows, OIDC, and Self-Hosted Runners

Harden GitHub across many repositories: rulesets, CODEOWNERS, merge queue, reusable workflows, least-privilege tokens, SHA pinning, OIDC to AWS, environment approvals, ephemeral runners, and pull_request_target pitfalls.

20 min · 65
Read
DevOps Advanced
GitOps with Argo CD: Declarative Delivery, Drift Detection, Sync Waves, and Safe Rollbacks

Run Argo CD in production: app and config repo layout, Application and ApplicationSet, self-heal and prune, sync waves and hooks, Sealed Secrets vs External Secrets, promotion, RBAC, rollback, and common failure modes.

20 min · 67
Read
DevOps Advanced
Zero-Downtime Deploys for Django on a Single VPS: Gunicorn Graceful Reloads, Release Directories and Health Checks

Stop dropping requests on deploy: systemd socket activation, gunicorn HUP reloads, atomic release symlinks, expand/contract migrations and a /healthz-gated deploy script that rolls itself back, all on one Ubuntu 24.04 VPS.

25 min · 270
Read
DevOps Advanced
systemd for Django in Depth: Hardened Services, Timers Instead of Cron, Resource Limits and Restart Policies

Complete, sandboxed systemd units for gunicorn and Django management commands: hardening measured with systemd-analyze, memory and CPU limits that contain OOM kills, sane restart policies, timers that replace cron, and failure alerts.

21 min · 242
Read
DevOps Advanced
Redis in Production for Django: Persistence, Memory Limits and Eviction, Security and Sentinel

Split Redis by job so the cache can evict freely while Celery tasks and sessions never vanish: AOF vs RDB, maxmemory policies, ACLs and network lockdown, kernel tuning, monitoring, backups and Sentinel failover.

23 min · 264
Read
DevOps Advanced
PostgreSQL Tuning for Django in Production: Memory Settings, Autovacuum, Bloat and pg_stat_statements

Size PostgreSQL memory, connections and checkpoints for real hardware, keep hot Django tables vacuumed and bloat-free, and use pg_stat_statements, auto_explain and role timeouts to find and contain slow queries.

22 min · 284
Read
DevOps Advanced
PostgreSQL Streaming Replication and Failover for Django: Hot Standby, Promotion and Tested Recovery

Build a PostgreSQL 16 hot standby with replication slots, monitor lag and WAL retention, fail over without split-brain, rebuild the old primary with pg_rewind, and route Django reads safely, with a drill checklist to prove it works.

24 min · 244
Read
DevOps Advanced
Nginx in Depth for Django: Tuning, Rate Limiting, Proxy Caching, Security Headers and Upload Handling

A complete production nginx config for Django behind gunicorn: correct proxy headers, keep-alive upstreams, immutable static caching, safe uploads, login and API rate limits, anonymous page caching and security headers that survive the add_header trap.

24 min · 279
Read
Missing a topic?

These tutorials are written from real production work, and the best ideas come from readers. Got a suggestion, a correction, or a subject you keep searching for and never find properly explained? Tell us — we read every message, and requested topics move to the front of the queue.

Ready to Build Something?

Check out our premium Django packages and SaaS templates to jumpstart your project.