# Apps and runtimes

> Static sites, server-rendered apps, containers and functions: what each one is for and how it runs.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://run.docs.sypnia.com/apps/

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](https://run.docs.sypnia.com/apps/static-sites)        | the build produces only files                                                        |
| [Server-rendered app](https://run.docs.sypnia.com/apps/server-apps) | a framework renders pages on the server                                              |
| [Container](https://run.docs.sypnia.com/apps/containers)            | you have a `Dockerfile`, a language other than JavaScript, or long-lived connections |
| [Function](https://run.docs.sypnia.com/apps/functions)              | one endpoint or a webhook, alone or inside another app                               |

- [Static sites](/apps/static-sites/): Files built once and served from the edge: landings, docs and single-page apps.
- [Server-rendered apps](/apps/server-apps/): Next.js, Astro, SvelteKit, Nuxt and React Router apps that render on the server, on AWS Lambda.
- [Containers](/apps/containers/): Anything with a Dockerfile, as an always-on service on Fargate or a scale-to-zero Lambda container.
- [Functions](/apps/functions/): One HTTP endpoint or webhook, alone or next to another app.
