Apps and runtimes
Static sites, server-rendered apps, containers and functions: what each one is for and how it runs.
An app is one thing you deploy: a website, an API, a worker. It has one kind, chosen by Run from your code or written in its table of sypnia.toml, plus optional functions, jobs and queues next to it.
| Kind | Choose it when |
|---|---|
| Static site | the build produces only files |
| Server-rendered app | a framework renders pages on the server |
| Container | you have a Dockerfile, a language other than JavaScript, or long-lived connections |
| Function | one endpoint or a webhook, alone or inside another app |
Files built once and served from the edge: landings, docs and single-page apps.
Next.js, Astro, SvelteKit, Nuxt and React Router apps that render on the server, on AWS Lambda.
Anything with a Dockerfile, as an always-on service on Fargate or a scale-to-zero Lambda container.
One HTTP endpoint or webhook, alone or next to another app.