Encore automates application infrastructure from development to production, so new services and features can ship without Terraform PRs, provisioning tickets, or manual cloud setup.
See how it could work for your team.
Encore’s open source Infra SDK replaces HCL/YAML with type-safe APIs for databases, pub/sub, object storage, secrets and caching. Declare one in your code and Encore provisions the managed service behind it.Configuration (instance sizes, regions, and so on) is set per environment in the platform instead of in the code, so the control is the same and there is less for coding agents to get wrong.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. The platform holds everything environment-specific: instance sizing, connection limits, secret values, which cloud and region. 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.
Run in your terminal to get started locally.