// Articles

Guides and deep dives

Guides, tutorials, and comparisons to help you build better backend applications.

Filter by category: All (674)
Appointment Reminders Backend for Clinics: Scheduling, SMS and Retries

Design the backend that sends 24-hour and 2-hour appointment reminders exactly when they are due, never twice, in the clinic's time zone and without medical details in the message, built by hand on AWS or in TypeScript with Encore.

7 Min Read
KYC Onboarding Backend: Document Uploads, Verification and Webhooks

Design the backend behind fintech customer onboarding: collect identity documents through signed uploads, start one verification check per application, accept signed provider webhooks and keep an auditable status trail, built by hand on AWS or in Go with Encore.

10 Min Read
Google Cloud Storage with Terraform: Buckets, Lifecycle Rules and Access

Terraform for a private Cloud Storage bucket with versioning, soft delete, lifecycle rules and CORS, IAM that lets a service create but not delete objects, and the permission signed URLs need on Cloud Run, plus how Encore provisions buckets from code.

6 Min Read
ECS Fargate with Terraform: Cluster, Service, Load Balancer and Autoscaling

A complete Terraform setup for an API on Amazon ECS Fargate behind an Application Load Balancer, with security groups, logs, deployment rollback and CPU autoscaling, the settings that cause failed deployments, and how Encore deploys to Fargate from code.

8 Min Read
AWS Secrets Manager with Terraform: Secrets, Rotation and Access

Terraform for Secrets Manager secrets whose values never reach state, a customer managed KMS key, read access for an ECS service, rotation options, and the deletion behavior that breaks re-applies, plus how Encore handles secrets from code.

7 Min Read
Google Cloud Pub/Sub with Terraform: Topics, Subscriptions and Dead Letters

Terraform for a Pub/Sub topic and pull subscription with retry and dead-letter policies, the IAM bindings that dead lettering quietly depends on, and how Encore provisions the same topics from Go or TypeScript.

7 Min Read
Cloud SQL with Terraform: Private PostgreSQL on Google Cloud

Terraform for a Cloud SQL for PostgreSQL instance with private IP, backups and point-in-time recovery, a database user whose password never lands in state, and the settings that cause trouble later, plus how Encore provisions Cloud SQL from code.

8 Min Read
ECS Task Role vs Execution Role: What Each One Is For

Which IAM role on an Amazon ECS task definition does what, which permissions belong on each, the errors you get when they are swapped, and Terraform that sets both up for a Fargate service.

8 Min Read
Cloud Run vs App Engine: Which Should You Use on Google Cloud?

How Google's two serverless platforms differ on runtimes, scaling, timeouts, background work and bundled services, when App Engine still makes sense, and what a move to Cloud Run involves.

8 Min Read
How to Migrate Heroku Redis to Amazon ElastiCache

Move from Heroku Key-Value Store (formerly Heroku Redis) to ElastiCache in your own AWS account: sort keys into what to drop, drain and copy, then carry live sessions across with their remaining TTLs.

8 Min Read
How to Migrate Fly.io Postgres to Amazon RDS

Move a Fly Managed Postgres or unmanaged Fly Postgres database into Amazon RDS in your own AWS account, using flyctl proxies, pg_dump and pg_restore, then point a Go backend at the new database.

6 Min Read
How to Migrate Railway Postgres to Amazon RDS

Move a Railway Postgres database into Amazon RDS in your own AWS account through Railway's public TCP proxy with pg_dump and pg_restore, with a rehearsal, a short write freeze and checks before cutover.

7 Min Read