Mid-level Track Roadmap

Kamal 2 mastery

This course covers Kamal 2 configuration beyond one app on one server. It explains how a host is organized into kamal-proxy, app containers, role containers and accessories. Lessons show two applications sharing one host with hostname and path routing. They define web and worker roles with memory limits, and use destinations to run staging and production from one file. Later lessons cover remote builders and build cache, hooks such as a pre-deploy gate, rollbacks and deploy timeouts. The course ends with a complete production configuration.

What you'll learn

  • ✓Running several apps behind one kamal-proxy, routed by hostname or path prefix
  • ✓Defining roles with their own command, environment, memory limits and proxy setting
  • ✓Using destinations, per-destination secrets and aliases for staging and production
  • ✓Speeding up builds with a remote builder, registry cache and BuildKit secrets
  • ✓Writing hooks, rolling back to retained images and tuning deploy timeouts
Free preview · Lesson 1 4 min read

From one app to a fleet

The basics course got one application onto one server: kamal setup, a config/deploy.yml with a service, an image, a list of servers, a proxy with SSL, and a database accessory. That configuration is honest, and it stops being enough as soon as real requirements show up.

Read the full lesson free →

Curriculum

7 lessons
Type to start searching...