Hosting
Run web services, workers, cron jobs and functions from your GitHub repository.
Last updated
Hosting builds your code from GitHub, a .zip or a Docker image and runs it in your project. Apps run in Mumbai (ap-south-1), each in its own gVisor sandbox, and a web service answers at https://<app id>.apps.daster.io. You find it in the project sidebar under Hosting & compute:
- Hosting shows your deployments (Deployments, Build & deploy settings, Sizes & pricing) and the live card with your app's address.
- Compute lists every service (All resources, Web services, Workers, Cron jobs, Functions) with Variables shared by the project and Insights with its alerts.
Service kinds
| Kind | What it does |
|---|---|
| Web service | Answers HTTP requests on its port and gets an address |
| Worker | Runs in the background |
| Cron job | Runs on a schedule (UTC, minute precision) |
| Function | Runs when it is invoked |
What can run
DASTER runs Node and npm servers, static build output served by Node, and restricted Dockerfiles. A repository in another language may be detected, but detection does not mean DASTER can run it yet.
Roles
Organization Owners and Admins and project Maintainers can manage hosting (connect GitHub, variables, schedules, build settings, stop, restart, delete). Developers can deploy, cancel builds, invoke functions and use Run now. Viewers can read.
Deployments run in the project's Development environment. Promote to Production runs a tested image in the project's Production environment; see Upload a .zip, autoscale and promote.
Apps can reach the internet over HTTP and HTTPS. Private addresses and port 25 are blocked; send mail through App email.
Note: Not available yet: renaming a service or changing its port on its Settings tab, and Insights' latency and error-rate charts. Prices are not final.
To put your own hostname in front of a web service, see Connect a domain.
Get started
- Deploy from GitHubConnect GitHub, pick a repository and deploy a service with the Deploy an app wizard.
- Deploy on push and previewsRedeploy on every push to your branch and get a preview address for other branches.
- Logs and metricsRead build and runtime logs and see requests, memory and CPU for each service.
- Sizes and scalingChoose an instance size and the number of instances for each hosted service on DASTER, and see how scaling affects your usage.
- Manage a serviceRestart a service, run a cron job now, change build settings, stop or delete a service.
- Upload a .zip, autoscale and promoteDeploy without GitHub, let a web service scale with traffic, and move a tested release to Production.
Next steps
- DatabasesPostgreSQL with Backend Cloud, plus MongoDB-compatible Document Database and MySQL-compatible SQL Database.
- Authentication, Storage & RealtimeSign-in for your app's users, file buckets and live events, all part of Backend Cloud.
- WordPressManaged WordPress and WooCommerce sites that DASTER runs for you, paid from your wallet.