docs/platform/introduction.md
Cloud platforms are powerful, but the path from code to a running production system on AWS or GCP usually involves Terraform, YAML, container orchestration, IAM policies, secret managers, and a CI/CD pipeline to glue it all together. Most teams end up building (and maintaining) their own internal developer platform on top of all that.
Encore Cloud removes the need for that internal platform. It pairs with the open source Encore.ts and Encore.go infrastructure SDKs to take an application from local development to a production deployment in your own cloud, with the SDK declarations as the single source of truth.
The infrastructure SDKs let you declare the resources your application needs (SQL databases, Pub/Sub topics, object storage, caches, cron jobs, secrets) directly in your TypeScript or Go code, as typed objects.
Encore Cloud reads those declarations to build an infrastructure model of your application. It then uses that model to:
The resources used in production are exactly the ones your code asked for, nothing more, nothing less.
When your application is deployed, there are no runtime dependencies on Encore Cloud and no proprietary code runs in your cloud. The application is a standard service talking to standard managed AWS or GCP resources.
Because the SDK is the source of truth for your infrastructure, the same model runs locally, in per-PR preview environments, and in production:
encore run boots the whole system on your laptop with real Postgres, real Pub/Sub semantics, and real tracing. Infrastructure namespaces let multiple branches or agents work in parallel with isolated local state.This loop is what's structurally missing from Terraform-based workflows, which tend to be production-centric and hard to run on a laptop. The tight feedback loop is especially impactful for AI coding agents, which work best when they can validate their own changes against real infrastructure rather than guess. See the Development Workflow page for the full picture.
The infrastructure model also drives a Service Catalog with API docs and a live Flow architecture diagram. Useful for onboarding new engineers and for AI tooling, but not the reason most teams adopt Encore.
Encore Cloud is optional. The SDKs are open source and produce a standard application binary or Node.js process. If you want to run things yourself:
encore build docker and deploy it anywhere.See the self-hosting guide for the full workflow.
Encore Cloud suits teams that want their application's infrastructure to be defined and operated from the same codebase as the application itself, deployed into AWS or GCP accounts they own. Typical use cases include:
See the showcase for production examples, or read customer stories for how specific teams use it.