// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
A practical Google Cloud setup for a small TypeScript project: one project, a budget alert, and an API with Postgres and a nightly job, compared across Encore, Cloud Run by hand and a free-tier VM.
Signed upload URLs, direct uploads and signed downloads for a TypeScript API on GCP, with the IAM setup each one needs.
Get API keys and passwords into a Go service on Cloud Run: environment variables, mounted volumes, the client library, or secrets declared in code.
Publish and consume Pub/Sub messages from a TypeScript service, with retries, dead-letter topics and idempotent handlers.
Scheduled tasks for a Cloud Run backend: Cloud Scheduler with OIDC, Cloud Run jobs, or a cron declared next to the code it calls.
Reach a private Memorystore instance from a Go service on Cloud Run, with VPC egress, AUTH and TLS, or let the cache be provisioned from code.
Three ways to reach a Cloud SQL Postgres database from a Cloud Run service, and what each one asks you to set up.
How Google Cloud Run and AWS Fargate differ on scaling, networking, pricing model and setup, and how to keep the choice reversible.
Run an OpenAI Agents SDK agent in a TypeScript service, back its sessions with Postgres, and deploy it to your own cloud with Encore.
Build a tool-calling agent with the AI SDK in a TypeScript service, keep its message history in Postgres, and deploy it to your own cloud with Encore.
Run Claude Agent SDK sessions inside a TypeScript service, mirror their transcripts to Postgres, and deploy it to your own cloud with Encore.
Run the Cursor agent loop inside a TypeScript service, keep threads and agent state in Postgres, and deploy it to your own cloud with Encore.