DigitalOcean App Platform
Managed platform-as-a-service that builds and runs apps from a Git repository or container image.
- Provider
- digitalocean
- Category
- Compute
- Official docs
- https://docs.digitalocean.com/products/app-platform/
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| autoscaling | boolean | — | no | false | ▸ false |
| buildMethod | enum | buildpack | dockerfile | container-image | no | — | inherited |
| componentType | enum | web-service | worker | job | static-site | function | no | web-service | inherited |
| criticality | enum | low | medium | high | no | medium | inherited |
| instanceClass | enum | shared-cpu | dedicated-cpu | no | shared-cpu | inherited |
| instancePerEntity | boolean | — | no | false | inherited |
| instances | integer | — | no | — | ▸ 1 |
| managed | boolean | — | no | false | ▸ true |
| ownsData | boolean | — | no | true | inherited |
| runtime | string | — | no | — | inherited |
| shardingStrategy | enum | none | consistent-hash | range | lookup | no | none | inherited |
| singleWriter | boolean | — | no | false | inherited |
| stateless | boolean | — | no | true | ▸ true |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
A service that calls a third party synchronously, with no queue or workflow engine attached, has nowhere to park the request when the third party is slow or down. The failure becomes the user's problem instead of a retried job.
- — all of these hold:
- — the node has at least one synchronous outgoing edge to a third-party-api
- — this does not hold:
- — the node has at least one connected edge joining a workflow-engine or queue
Calling a worker synchronously puts the background job on the request path. The caller waits for the slowest part of the fan-out.
- — the node has at least one synchronous outgoing edge to a worker
A stateful service on a consistent hash ring needs something that owns the ring: detect a dead host, pick a replacement, tell everyone. Without a coordination service the ring is edited by hand during the outage.
- — all of these hold:
- — the node's `shardingStrategy` is "consistent-hash"
- — this does not hold:
- — the node has at least one connected edge joining a coordination-service
A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.
- — all of these hold:
- — the node's `stateless` is false
- — the node sits inside exactly 1 availability-zone group
- — this does not hold:
- — the node sits inside at least one cell group
nodes:
- { id: "app-platform", component: "digitalocean-app-platform" }# yaml-language-server: $schema=../../schema/component.schema.json # DigitalOcean App Platform: "a fully managed Platform-as-a-Service (PaaS) that deploys # applications from Git repositories or container images", building with buildpacks or a # Dockerfile and scaling the components it runs ("App Platform"). An app is made of components # (web service, worker, job, static site, function); the web service is the request-serving one. # "App Platform Pricing" lists the shared-CPU plans starting at apps-s-1vcpu-0.5gb and the # dedicated-CPU plans; request-based autoscaling is opt-in per component. schemaVersion: "1" type: "component" id: "digitalocean-app-platform" kind: "app-server" provider: "digitalocean" docs: "https://docs.digitalocean.com/products/app-platform/" defaults: managed: true stateless: true instances: 1 autoscaling: false properties: componentType: type: "enum" values: ["web-service", "worker", "job", "static-site", "function"] default: "web-service" buildMethod: type: "enum" values: ["buildpack", "dockerfile", "container-image"] instanceClass: type: "enum" values: ["shared-cpu", "dedicated-cpu"] default: "shared-cpu"