Skip to content

Deployment

Cooper deploys to your own cloud account. No Cooper account needed.

Supported clouds

CloudComputeDatabaseCacheMessagingStorage
AWSECS FargateRDSElastiCacheSNS/SQSS3
GCPCloud RunCloud SQLMemorystorePub/SubGCS
AzureContainer AppsAzure DBAzure RedisService BusBlob Storage
Fly.ioFly MachinesFly PostgresUpstash RedisUpstash QStashFly Volumes

Deploy

bash
# See what will be created + cost estimate
cooper deploy --env prod --cloud aws --dry-run

# Actually provision and deploy
cooper deploy --env prod --cloud aws

Environments

bash
cooper env ls           # list all environments
cooper env url prod     # get the URL
cooper destroy --env staging  # tear down

Preview environments

yaml
# .github/workflows/preview.yml
- run: |
    cooper deploy \
      --env preview-pr-${{ github.event.number }} \
      --cloud aws \
      --auto-destroy-after 48h

Each PR gets its own isolated database, cache, and compute. Destroys itself after 48h.

Apache-2.0 Licensed