# Design decisions

> The choices behind Sypnia Run, and why each one was made.

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

For agents: Run design decisions: (1) customer apps are served on <app>.sypnia.app, a domain in the Public Suffix List, never on sypnia.com where Sypnia's sessions live; (2) isolation: shared cells for every plan, a dedicated cell (own AWS account) on request, priced separately; (3) containers run on Lambda by default, Fargate for WebSockets, long requests or steady traffic; (4) free plan: static sites and functions with small monthly amounts, server-rendered apps with a low max_instances, no always-on containers or min_instances; (5) builds run on AWS CodeBuild; (6) one region, us-east-1, with CloudFront at the edge; (7) licenses: AGPL-3.0 engine, MIT @sypnia/run; (8) acceptable use: no crypto mining, phishing or open proxies; new addresses checked against phishing lists; outbound limits on the free plan.

| # | Decision                        | What Sypnia Run does, and why                                                                                                                                                                                                                                               |
| - | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1 | **The free address**            | Every app gets `<app>.sypnia.app`, a domain listed in the Public Suffix List, so browsers treat each app as its own site. Customer code is never served under `sypnia.com`, where Sypnia's sessions live ([Isolation](https://run.docs.sypnia.com/architecture/isolation)). |
| 2 | **Isolation in Sypnia Cloud**   | Shared cells (AWS accounts with many projects, per-project roles and keys, Firecracker micro-VMs) for every plan; a dedicated cell, an AWS account of their own, for customers who ask for it, priced separately.                                                           |
| 3 | **Container runtime**           | Lambda by default, so an idle app costs nothing; Fargate when the app needs WebSockets, long requests or steady traffic ([Containers](https://run.docs.sypnia.com/apps/containers)).                                                                                        |
| 4 | **What the free plan includes** | Static sites and functions with small monthly amounts; server-rendered apps with a low `max_instances`; no always-on containers and no `min_instances`.                                                                                                                     |
| 5 | **Build machines**              | AWS CodeBuild: a fresh container per build, metered per minute, no fleet to run ([Builds](https://run.docs.sypnia.com/deploys/builds)).                                                                                                                                     |
| 6 | **Regions**                     | One region, us-east-1, with CloudFront at the edge, so pages are served close to every visitor.                                                                                                                                                                             |
| 7 | **Licenses**                    | AGPL-3.0 for the engine (a hosted copy must share its changes) and MIT for `@sypnia/run`, like every Sypnia engine and SDK.                                                                                                                                                 |
| 8 | **Acceptable use**              | No crypto mining, phishing or open proxies. New apps' addresses are checked against phishing lists, and the free plan has outbound traffic limits.                                                                                                                          |
