← Writing · page 7 of 11

How-to guides

156 posts tagged how-to.

Oct 31, 2026

How to Upgrade an EKS Cluster to 1.37 Safely: Step by Step (2026)

Upgrade Amazon EKS one minor version at a time without an outage: refresh upgrade insights, scan for removed APIs with Pluto, upgrade the control plane with eksctl or the AWS CLI, then VPC CNI, CoreDNS and kube-proxy, then node groups and Karpenter, with the 7-day rollback.

15 min
Oct 31, 2026

How to Troubleshoot DNS with dig: NXDOMAIN, SERVFAIL, DNSSEC (2026)

Step-by-step DNS troubleshooting with dig and nslookup: compare your OS resolver, read dig output, tell NXDOMAIN from NODATA and SERVFAIL, query authoritative servers, use +trace, debug DNSSEC with +cd, EDE codes and a validator, negative TTLs and CNAME-at-apex errors.

17 min
Oct 31, 2026

How to Deploy to Cloud Run with GitHub Actions: Step-by-Step (2026)

Deploy a container to Google Cloud Run from GitHub Actions in 2026 with no service account keys: Artifact Registry, Workload Identity Federation with auth@v3, deploy-cloudrun@v3, Secret Manager, tagged canary revisions, rollbacks, custom domains, and fixes for the PORT 8080 startup error.

15 min
Oct 31, 2026

How to Deploy a Remote MCP Server on Cloudflare Workers (2026)

Step-by-step: build a stateless remote MCP server on Cloudflare Workers with createMcpHandler from agents 0.32.0, add tools backed by KV and Durable Objects, protect it with Workers OAuth Provider 1.2.4, deploy with Wrangler 4.156.0, connect Claude Code and Cursor, and fix the common errors.

13 min
Oct 31, 2026

How to Debug an MCP Server with MCP Inspector (2026 Guide)

Debug MCP servers with MCP Inspector 2.13: web UI, CLI exit codes, the stdout logging trap Inspector will not catch, Streamable HTTP errors like 406 and -32020, protocol eras and -32022, logging after 2026-07-28, and where Claude, Cursor and VS Code keep MCP logs.

14 min
Oct 31, 2026

How to Cut LLM API Costs: Prompt Caching, Batching, Routing (2026)

Step-by-step guide to cutting LLM API costs in 2026: measure usage fields, stabilise prompt prefixes, add Claude cache_control and OpenAI cache breakpoints, use Gemini context caching, move offline work to 50%-off batch APIs, route by task, cap max_tokens, and fix cache misses.

12 min
Oct 31, 2026

How to Connect MCP Servers to Claude Code, Cursor and VS Code (2026)

Step-by-step: add MCP servers to Claude Code with claude mcp add and .mcp.json scopes, to Cursor with mcp.json, and to VS Code, including remote OAuth servers, environment secrets, and fixes for failed starts, missing tools and timeouts.

13 min
Oct 31, 2026

How to Run Postgres on Kubernetes with CloudNativePG 1.30 (2026)

Step-by-step CloudNativePG 1.30.1 guide: install the operator, create a three-instance PostgreSQL 18 cluster, back up to S3 with the Barman Cloud plugin, restore to a point in time, add PgBouncer, monitor with Prometheus, upgrade majors and fix common errors.

15 min
Oct 31, 2026

How to Build Agents With Claude Agent SDK Subagents (Python, 2026)

Step-by-step Claude Agent SDK guide pinned to claude-agent-sdk 0.2.176: install, the query loop, custom tools, subagent definitions, permissions and hooks, MCP servers, sessions, budget and depth caps, plus a troubleshooting table for the errors people hit.

11 min
Oct 31, 2026

How to Build a Voice AI Agent with LiveKit Agents or Pipecat (2026)

Step-by-step: build a cascaded voice AI agent on LiveKit Agents 1.8.10 (or Pipecat 1.15.0) with STT, LLM and TTS, turn detection, tool calling, per-turn latency metrics, LiveKit Cloud deployment and a SIP phone number, plus fixes for common errors.

16 min
Oct 31, 2026

How to Build Multi-Arch Docker Images with Buildx (amd64 + arm64, 2026)

Build one Docker image for linux/amd64 and linux/arm64 with docker buildx: platform-aware Dockerfiles, QEMU vs native GitHub arm64 runners, manifest lists, gha and registry caching, a full GitHub Actions workflow, and fixes for exec format error.

12 min
Oct 31, 2026

How to Build a CI/CD Pipeline With GitHub Actions: Step-by-Step (2026)

Build a CI/CD pipeline with GitHub Actions from scratch: lint and test every pull request, Docker Buildx with the GHA cache, push to GHCR, staging and production environments with required reviewers, deploy by digest over SSH, concurrency, SHA-pinned actions and fixes for common errors.

18 min
Oct 31, 2026

How to Build an AI Agent in n8n 2.45: Tools, Memory and MCP (2026)

Step-by-step n8n AI agent tutorial on n8n 2.45.7: Chat Trigger, AI Agent node, model credentials with a fallback, Postgres Chat Memory, HTTP, Code, sub-workflow and MCP Client tools, a structured output parser, error workflows, and a troubleshooting table for the real error messages.

16 min
Oct 31, 2026

How to Benchmark LLM Inference: TTFT, Throughput and Goodput (2026)

Benchmark an LLM inference server properly with vllm bench serve (vLLM 0.32) and GuideLLM 0.8: define TTFT, ITL, TPOT and goodput, run a concurrency sweep, use real prompts instead of random ones, read the knee in the results, and fix the mistakes that make benchmarks lie.

13 min
Oct 31, 2026

How to Build an AWS VPC With Terraform: Public and Private Subnets (2026)

Build a 3-AZ AWS VPC in Terraform with terraform-aws-modules/vpc 6.7.3 and AWS provider 6.70: public and private subnets, NAT per AZ vs single vs regional, a free S3 gateway endpoint, flow logs, outputs, an SSM connectivity test and fixes for common errors.

16 min