What does Apex run?
Apex runs request-time application code and serves static assets from a distributed edge layer. You can deploy JavaScript or TypeScript workloads and expose them as web routes or APIs.
How does routing work?
Each request is evaluated against project routing rules and current region health. Apex prefers a healthy nearby region and can fail over when a region is unavailable.
Do I need to manage servers?
No. You manage source code, environment configuration, routing rules, and release policy. Apex manages the runtime fleet, certificates, scaling, and infrastructure updates.
Can I keep state in one region?
Yes. Choose a primary data region for persistent storage or connect an external database. Edge execution can remain distributed while writes use a single source of truth.
How do preview environments work?
A preview can be created from a branch or pull request. It gets a unique URL and its own environment configuration, then can be promoted without rebuilding the application from scratch.
What happens when a deployment is unhealthy?
Health checks and release gates can prevent promotion. Production can be rolled back to a previous deployment, while logs and request traces show the failure path.