Upload a .zip, autoscale and promote

Deploy without GitHub, let a web service scale with traffic, and move a tested release to Production.

Last updated

Check your wallet first

Before a deploy, a redeploy or a bigger size starts, DASTER checks that your organization's wallet can pay the next hour of everything you run on Hosting, with the change, at the prices in Billing › Pricing. If it cannot, the deploy is refused with insufficient_wallet_balance (top up in Billing › Wallet), or spending_limit_exceeded when the hour would go over a hard spending limit. Services that already run keep running.

Deploy from a .zip

In Deploy an app, choose Upload a .zip and pick a .zip of your app folder (up to 100 MB). DASTER detects how to build and run it, the same way as for a repository. It refuses links, paths outside the folder and damaged archives, and leaves out node_modules, .git and .env files. To ship a new version, use Build & deploy settings › Deploy from a new .zip.

Deploy a Docker image

In Deploy an app, choose Docker image and enter its reference, such as ghcr.io/acme/api:1. DASTER pins it to its digest when the deployment starts, so a later push of the same tag changes nothing until you deploy again; the Deploy step shows the digest.

The image must be public, on one of these registries: Docker Hub (docker.io), ghcr.io, quay.io, public.ecr.aws, registry.gitlab.com or mcr.microsoft.com. Another registry answers image_registry_not_allowed, and an image larger than 1 GiB uncompressed answers image_too_large. Private registries and registry passwords are not supported.

Autoscale

On a web service's Scaling tab, choose Autoscale and set the minimum (0 lets it stop completely when nobody visits), the maximum (up to the size's instance limit, 2 today), how many requests in flight one instance should take, and how many idle seconds pass before an instance is removed. At 0 instances the next visit waits a few seconds while one starts. You pay only for hours in which an instance ran.

Promote to Production

Owners and admins can use Build & deploy settings › Promote to Production. It runs the exact image of your live Development deployment in Production, without building it again. Roll back Production returns Production to its previous release. Production keeps its own variables. Stop Production, Start Production and Delete Production are there too; delete keeps the history, and a custom domain must be disconnected first.