// Articles

Guides and deep dives

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

Filter by category: All (965)
How to Stop Waiting on Terraform PRs for New Services

Why new services queue behind the Terraform repository, how to shorten the review loop you have, and how to take routine databases, queues and cron jobs out of it with infrastructure from code.

9 Min Read
Fix Terraform "Error: Cycle"

Why Terraform reports a dependency cycle, how to read the resource list in the error and the graph, and how to break the most common cycles: security groups that reference each other, inline policies and lifecycle settings.

6 Min Read
Fix S3 SignatureDoesNotMatch Errors

What S3's SignatureDoesNotMatch error means, how to compare the canonical request S3 computed with yours, and the usual causes: bad secret keys, presigned URL header mismatches, proxies, key encoding and the newer SDK checksum defaults.

5 Min Read
Generate S3 Presigned URLs in Python

Create presigned download and upload URLs with boto3, use presigned POST to cap upload size, avoid the signature, Region and expiry mistakes that break URLs, and test the flow locally.

6 Min Read
Connect a Python App to RDS Postgres

Connect to Amazon RDS for PostgreSQL from Python with psycopg 3: a connection pool sized for RDS limits, verified TLS with the RDS CA bundle, passwords from Secrets Manager or IAM tokens, and the network setup that causes most timeouts.

6 Min Read
Logistics EDI Backend: 204 Load Tenders, 990 Responses and 214 Status Updates

Design the carrier side of EDI with shippers: receive X12 204 load tenders through an AS2 or SFTP gateway, acknowledge with 997s, answer with 990s, send 214 shipment status updates, and keep control numbers and duplicates straight, then build it in Go with Encore.

13 Min Read
HL7 Message Ingestion Backend: MLLP, ACKs, Duplicates and ADT Events

Design the backend that receives HL7 v2 messages from hospital systems: an MLLP bridge in front of an HTTP endpoint, original-mode ACKs, duplicate control IDs, raw message storage, ADT events and a census that tolerates out-of-order delivery, then build it in Go with Encore.

12 Min Read
Read Google Secret Manager Secrets in Node.js

Access secret versions with @google-cloud/secret-manager, cache values, choose between latest and pinned versions, mount secrets on Cloud Run instead, grant the right IAM role, and see how declared secrets in TypeScript compare.

6 Min Read
Read Google Secret Manager Secrets in Go

Access secret versions with the cloud.google.com/go/secretmanager client, verify checksums, load secrets once at startup, decide between latest and pinned versions, grant secretAccessor, and compare with secrets declared in Go.

6 Min Read
Fix "does not have storage.objects.get access" on Google Cloud Storage

Why Cloud Storage returns 403 with "does not have storage.objects.get access to the Google Cloud Storage object", how to find the identity your code runs as, and which role to grant on which bucket.

5 Min Read
Generate Google Cloud Storage Signed URLs in Python

Create V4 signed URLs for downloads and uploads with google-cloud-storage, sign on Cloud Run and GKE without a key file, cap upload size with a signed POST policy, and fix the errors that break signing.

5 Min Read
Fix "iam.serviceAccounts.actAs" Permission Denied on GCP

Why Cloud Run, Cloud Functions, Compute Engine and Cloud Build deploys fail with iam.serviceAccounts.actAs, which identity needs the Service Account User role on which service account, and how to grant it without handing out project-wide impersonation.

5 Min Read