Easy scale-to-zero deployments on your cloud.

$ npm install -g relight-cli Copied!
deploy to
$ relight deploy myapp . --compute gcp
Building image...
Pushing to gcr.io/my-project/myapp:v1...
Deploying to Cloud Run (us-east1)...
 
--> Live at https://myapp-abc123.run.app
Sleeps after 30s idle. $0 when sleeping.
$ relight deploy myapp . --compute aws
Building image...
Pushing to 1234567.dkr.ecr.us-east-1/myapp:v1...
Deploying to App Runner (us-east-1)...
 
--> Live at https://myapp.us-east-1.awsapprunner.com
~$2.55/mo when idle. No cold start.
$ relight deploy myapp . --compute cf
Building image...
Pushing to registry.cloudflare.com/myapp:v1...
Deploying to Cloudflare Container...
 
--> Live at https://myapp.your-domain.workers.dev
Sleeps after 30s idle. $0 when sleeping.

As simple as it gets.

Native scale-to-zero

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

Bring Your Own Cloud

Deploy to your own GCP, AWS, 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 cloud and injects credentials as env vars.

Same DX across clouds

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

Three steps. One CLI.

01

Connect

Paste your cloud API token. Cloudflare, GCP, AWS - 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.

Mix and match across clouds.

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

Layer Cloudflare AWS GCP
DNS
LB Workers CloudFront Cloud LB / Global LB*
APP Containers App Runner** Cloud Run
DB D1 RDS Cloud SQL

* GCP Global Load Balancer has a ~$18/mo flat minimum. Cloudflare Workers and AWS CloudFront are usage-based.
** Not true scale-to-zero. ~$2.55/mo minimum per idle app, but no cold starts.

Example stacks

One cloud

Simplest deploy

DNSGCP
LBGCP
APPGCP
DBGCP

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

DNSCloudflare
LBAWS
APPAWS
DBAWS

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.

Compute separate

Best pricing

DNSCloudflare
LBCloudflare
APPGCP
DBGCP

Cloudflare Workers as a free global load balancer at the edge, with GCP Cloud Run for compute and Cloud SQL for the database. Combines two generous free tiers with GCP's flexible per-request pricing.

Cloud pros and cons

Cloudflare

  • + Free tier on Workers and Containers
  • + Global load balancing included
  • + Fastest cold starts
  • - Database limited to D1 (SQLite)
  • - Containers still in beta
  • - Priciest above free tier, complex billing

AWS

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

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
  • - Slowest cold starts (up to 5s)

Try it.

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

$ npm install -g relight-cli Copied!