No Terraform, no CloudFormation, no YAML. Your application code defines what infrastructure exists. Add a database in code, it appears in the cloud.

No Terraform, no CloudFormation, no YAML. Your application code defines what infrastructure exists. Add a database in code, it appears in the cloud.
RDS, Cloud SQL, SNS/SQS, Pub/Sub, S3, Cloud Storage. Battle-tested managed services with proper networking, security, and scaling.
All resources run in your AWS or GCP account. Full console access, no vendor lock-in for your data or infrastructure.
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.
Encore connects to your cloud using a dedicated IAM role with minimal permissions. You can see exactly what Encore creates and modify resources directly if needed.
Declare a database in your code. Encore provisions PostgreSQL with migrations, connection pooling, IAM authentication, and proper networking.
Works locally without Docker configuration. Same code deploys to RDS on AWS or Cloud SQL on GCP without changes.
import { SQLDatabase } from "encore.dev/storage/sqldb";
// Encore provisions PostgreSQL in your cloud
const db = new SQLDatabase("users", {
migrations: "./migrations",
});
// Use with full type safety
const user = await db.queryRow`
SELECT * FROM users WHERE id = ${id}
`;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
}Encore provides type-safe APIs for the building blocks of modern applications. Under the hood, it uses production-grade managed services from your cloud provider.
Managed PostgreSQL with automatic migrations, connection pooling, and IAM authentication
Event-driven messaging with type-safe topics, automatic retries, and dead-letter queues
Scheduled tasks with distributed execution and built-in monitoring
Blob storage with streaming uploads, signed URLs, and bucket policies
Encrypted storage for API keys and credentials, versioned and environment-scoped
Redis-compatible in-memory cache with cluster mode and automatic failover