← Writing · page 5 of 9

Infrastructure

135 posts tagged infrastructure.

Oct 31, 2026

Top Cloud Security Misconfigurations in 2026: 59% Still Have Old Keys

The cloud security misconfigurations that still matter in 2026, with current data: 59% of IAM users hold year-old keys, half of EC2 skips IMDSv2, 1% of S3 buckets are public, and the DBIR puts third parties in 48% of breaches.

13 min
Oct 31, 2026

How to Set Up Usage-Based Billing with Stripe Meters (2026)

Step-by-step Stripe Billing Meters guide for 2026: create a meter and metered price, subscribe a customer, send idempotent meter events and v2 meter event streams, preview invoices, handle error webhooks, test with test clocks, and fix common errors.

13 min
Oct 31, 2026

How to Host a Static Website on S3 and CloudFront with HTTPS (2026)

Step-by-step 2026 guide to hosting a static site or SPA on a private S3 bucket behind CloudFront with HTTPS: Origin Access Control, an ACM certificate in us-east-1, a CloudFront Function for routing, Route 53, Terraform, cache invalidation, and fixes for AccessDenied 403 errors.

12 min
Oct 31, 2026

SSH Security Best Practices 2026: OpenSSH 10.6, ML-KEM and FIDO2 Keys

SSH security best practices for 2026: what OpenSSH 10.0 to 10.6 changed (ML-KEM post-quantum key exchange by default, DSA removed, PQ warnings), Ed25519 vs FIDO2 keys, SSH certificates, a tested sshd_config, bastion vs SSM vs Tailscale SSH, and regreSSHion lessons.

14 min
Oct 31, 2026

How to Implement SOC 2 Controls on AWS with Terraform (2026)

Step-by-step SOC 2 technical controls on AWS with Terraform: organization CloudTrail, AWS Config and a custom conformance pack, GuardDuty, Security Hub CSPM with CIS v5.0.0, Identity Center MFA, encryption defaults, AWS Backup vault lock, 400-day retention and evidence export.

18 min
Oct 31, 2026

Should You Run Databases on Kubernetes in 2026? 66% Do, RDS Costs 1.7x

Should you run databases on Kubernetes in 2026? Postgres operators compared (CloudNativePG 1.30, Zalando 2.0, Crunchy PGO 6, Percona 3.1), local NVMe vs network storage, Data on Kubernetes survey numbers, and RDS, Aurora and Cloud SQL priced against plain EC2 nodes.

13 min
Oct 31, 2026

Remote vs Local MCP Servers in 2026: stdio vs Streamable HTTP, No Sessions

Remote vs local MCP servers explained for 2026: how stdio and Streamable HTTP work, why HTTP+SSE is deprecated, what the stateless 2026-07-28 spec removed, how Workers, Cloud Run, Lambda, AgentCore and Vercel host MCP, and the auth, scaling and security trade-offs.

12 min
Oct 31, 2026

How to Reduce AWS Costs: Step-by-Step Checklist With CLI (2026)

Cut your AWS bill step by step in 2026: break down EC2-Other in Cost Explorer, export CUR 2.0 to Athena, enable Compute Optimizer and Cost Optimization Hub, find idle EBS, snapshots, IPs and load balancers with the AWS CLI, swap NAT for VPC endpoints, add lifecycle rules, budgets and anomaly alerts.

16 min
Oct 31, 2026

How to Audit an AWS Account with Prowler 5.47: Step-by-Step (2026)

Audit an AWS account with Prowler 5.47.0: install a pinned version, deploy the read-only ProwlerScan role, run CIS 6.0 and SOC 2 checks, read the OCSF output, fix and mute findings, schedule weekly scans in GitHub Actions, and scan a whole organisation.

11 min
Oct 31, 2026

How to Run Zero-Downtime Postgres Migrations: Step by Step (2026)

Run PostgreSQL schema migrations without downtime: lock_timeout and retries, CREATE INDEX CONCURRENTLY, NOT NULL via CHECK NOT VALID or the PG 18 NOT NULL NOT VALID, batched backfills, an expand/contract column rename, pgroll 0.16, Squawk in CI and pg_locks queries.

17 min
Oct 31, 2026

Nginx vs Caddy vs Traefik in 2026: HAProxy, Envoy and Which to Pick

Nginx 1.30, Caddy 2.11, Traefik 3.7, HAProxy 3.4 and Envoy 1.40 compared for 2026: automatic HTTPS, config models, what the benchmarks really show, Kubernetes after ingress-nginx, and a security year in which nginx fixed 26 CVEs, up from 2.

13 min
Oct 31, 2026

How to Set Up Nginx as a Reverse Proxy With Let's Encrypt (Ubuntu 24.04)

Step-by-step Nginx reverse proxy on Ubuntu 24.04 with Let's Encrypt: server blocks, proxy headers, WebSockets, certbot 5.9 and the nginx plugin, renewal timers, HTTP/2 and HSTS, the 2026 certificate changes, and fixes for 502 and permission errors.

14 min
Oct 31, 2026

Kubernetes Probes Explained: Liveness vs Readiness vs Startup (2026)

Kubernetes liveness, readiness and startup probes explained for v1.37: what each probe does on failure, httpGet vs tcpSocket vs exec vs gRPC, the timing math behind failureThreshold and periodSeconds, why liveness must not check dependencies, sidecars and graceful shutdown.

12 min
Oct 31, 2026

How to Set Up Karpenter on EKS: NodePools, Spot and Consolidation (2026)

Step-by-step Karpenter 1.15.1 setup on an existing EKS cluster: CloudFormation IAM and SQS, EKS Pod Identity, Helm install, EC2NodeClass and NodePool YAML, Spot with on-demand fallback, Balanced consolidation and disruption budgets, Cluster Autoscaler migration, and fixes for nodes not launching.

14 min
Oct 31, 2026

How to Fix SSH Permission Denied (publickey): Causes and Fixes (2026)

Fix SSH 'Permission denied (publickey)' step by step: read ssh -vvv, use the right user (ec2-user, ubuntu, admin, git), fix key and authorized_keys permissions, IdentitiesOnly and agent issues, sshd -T and Match blocks, ssh-rsa and DSA errors, SELinux, and EC2, GCP and Azure keys.

15 min