Static Sites & Pub/Sub
Static-site hosting with atomic deploys, plus MQTT / WebSocket Pub/Sub at every PoP.
What it is
Static Sites hosts your build output with atomic, immutable deploys (every push gets a permalink) — perfect for marketing sites, documentation, or pre-rendered apps. Pub/Sub offers MQTT and WebSocket-based topics for fan-out messaging between clients.
When to use it
- Marketing site, blog, docs — deployed from CI in seconds.
- Realtime notifications fan-out to many connected clients.
- IoT telemetry into a managed broker.
Quickstart
asc edge sites deploy ./out --site marketing
asc edge pubsub topics create alerts
asc edge pubsub publish alerts '{"price": 123}'client.edge.sites.deploy(site='marketing', path='./out')
client.edge.pubsub.publish(topic='alerts', message={'price': 123})await client.edge.pubsub.publish('alerts', { price: 123 });Limits & quotas
| Limit | Default | Burst | Notes |
|---|---|---|---|
| Sites per project | 100 | 1,000 | |
| Site bandwidth | Bundled with CDN | — | |
| Pub/Sub messages | $0.20 / M | — | |
| Pub/Sub concurrent connections | 1M / project | — |
Pricing
See pricing. Pay-as-you-go, billed monthly via Stripe.
API surface
POST /v1/edge/sites/deployPOST /v1/edge/pubsub/topics/{t}/publish
Required scope(s): edge:write. See Scopes.
Security
All access is authenticated and scoped. See Auth & scopes and Network controls.