Lightweight deployments
for AI era.

Deploy to your cloud in seconds. Scale to zero where possible, control your infrastructure bill.
Pick the best components across providers.

deploy to
$ relight deploy myapp . --compute gcp
Building image...
Pushing to us-docker.pkg.dev/my-project/relight/myapp:v1...
Deploying to Cloud Run (us-east1)...
 
--> Live at https://myapp-abc123.run.app
Sleeps after 30s idle. $0 when sleeping.
Features

As simple as it gets.

Native scale-to-zero

Uses App Runner, Cloud Run, Container Apps and Containers - no Kubernetes or custom runtimes. Apps sleep when idle, wake on the next request. Cold starts in 1-3 seconds on Cloudflare, 3-5 on GCP, 2-5 on Azure. Instant on AWS.

Bring Your Own Cloud

Deploy to your own GCP, AWS, Azure, or Cloudflare account. Nothing to install upfront. Your API token stays on your machine.

Any Docker app

Push local docker image, directly to the cloud and run. Declare what you need. Relight provisions the right service per provider and injects credentials as env vars.

Same DX across providers

One CLI, one workflow. Deploy, migrate, and manage apps the same way whether you're on Cloudflare, AWS, GCP, or Azure.

How it works

Three steps. One CLI.

01

Connect

Paste your API token. Cloudflare, GCP, AWS, Azure - one command to authenticate.

02

Deploy

Any Docker app. Relight builds the image, pushes it to your registry, and deploys. You get a URL.

03

Sleep & wake

No traffic? Your app sleeps. Cost drops to zero. Next request wakes it.

Infrastructure

Mix and match across providers.

Every layer can run on a different provider. Use one cloud end-to-end, or pick the best of each.

Full-stack providers

These providers can host your entire app end-to-end - compute, database, DNS, and container registry.

Layer GCP AWS Azure
DNS Cloud DNS Route 53 Azure DNS
APP Cloud Run App Runner* Container Apps
DB Cloud SQL (Postgres) RDS (Postgres) Flexible Server (Postgres)
Registry Artifact Registry ECR ACR

* Not true scale-to-zero. ~$2.55/mo minimum per idle app, but no cold starts.

Additional providers

Provider Layers Best for
Cloudflare DNS, Registry Free DNS and global edge routing. Great as a CDN and DNS layer in front of any compute provider.
DigitalOcean DB, DNS Affordable managed Postgres databases. The simplest and cheapest option when you need a standalone database provider.
GitHub Registry Free container registry (GHCR). Use your existing GitHub credentials to store images instead of a cloud-specific registry.

Example stacks

One cloud

Simplest deploy

DNS GCP
LB GCP
APP GCP
DB GCP

One API key, one bill. Everything runs in the same cloud with low latency between services. The simplest setup when you're already on a provider or just getting started.

DNS separate

Separate infra without moving DNS

DNS Cloudflare
LB AWS
APP AWS
DB AWS

Keep your domain on Cloudflare for free DNS and edge caching, while running compute and database on AWS. Common when you already manage DNS on Cloudflare but want AWS infrastructure.

Cheapest database

Best pricing

DNS Cloudflare
APP GCP
DB DigitalOcean

Cloudflare for free DNS, GCP Cloud Run for compute with scale-to-zero, and DigitalOcean for the most affordable managed Postgres. Mix three providers to minimize cost.

There is no perfect cloud

GCP

  • + Free tier on Cloud Run
  • + True scale-to-zero
  • + Full database support (Cloud SQL)
  • + Most competitive pricing
  • - No pay-per-use multi-region LB
  • - Slower cold starts (3-5s)

AWS

  • + No cold starts
  • + Full database support (RDS)
  • + Pay-per-use global load balancing
  • + Largest cloud ecosystem
  • - ~$2.55/mo minimum per idle app
  • - No free tier for compute

Azure

  • + True scale-to-zero
  • + Full database support (Flexible Server)
  • + Large ecosystem
  • - Cold starts 2-5s
  • - No free tier for compute
Get started

Try it.

Free and open source. One command to install, one command to deploy.