// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.