Encore automates application infrastructure from development to production, so new services and features can ship without Terraform PRs, provisioning tickets, or manual cloud setup.
No Terraform, no CloudFormation, no YAML. Encore’s open source SDK gives you type-safe APIs for the building blocks of a backend — databases, pub/sub, object storage, secrets and caching. Declare one in your code and Encore provisions the production-grade managed service behind it.Works locally without Docker configuration, and the same code deploys to AWS or GCP without changes.
import { SQLDatabase } from "encore.dev/storage/sqldb";
const db = new SQLDatabase("todo", {
migrations: "./migrations",
});Managed PostgreSQL with migrations, pooling and IAM auth
All infrastructure runs in your own AWS or GCP account. You have full access to the cloud console, can inspect any resource, and there's no vendor lock-in for your data.
Define infrastructure in your application code instead of separate configuration files.
import { SQLDatabase } from "encore.dev/storage/sqldb";
const db = new SQLDatabase("users", {
migrations: "./migrations",
});resource "aws_db_instance" "users" {
identifier = "users-db"
engine = "postgres"
instance_class = "db.t3.micro"
allocated_storage = 20
db_name = "users"
username = var.db_username
password = var.db_password
vpc_security_group_ids = [
aws_security_group.rds.id
]
# ... plus networking, IAM, secrets
}Your code says which resources exist and how services use them. Everything environment-specific — instance sizing, connection limits, secret values, which cloud and region — is set in the platform, so the same code runs everywhere without a rebuild.
Encore reads the first and applies the second — so nothing environment-specific ends up hardcoded.
“What used to take days or weeks of back-and-forth between developers and infra teams is now automated and completed in minutes.”
Focus on your product. Encore handles the infrastructure.
Paste into your coding agent to install Encore and scaffold an app.