Skip to content
Writing / InfraTales

Architecture notes from real production work.

A clean content hub for AWS patterns, GenAI production notes, architecture diagrams, and failure-mode thinking.

FinOps11 min

Design DynamoDB to stay in the always-free tier

Fit a multi-tenant task tracker inside DynamoDB's 25 free read and write capacity units, with the cost of each access pattern and when on-demand wins.

#amazon-dynamodb#serverless#aws-free-tier#cost-optimization#best-practices
Read
Production GenAI9 min

Turn Lambda functions into MCP tools with AgentCore Gateway

Two order Lambda functions as agent tools behind Cognito tokens and a Cedar policy, with the tool schema limits, a tested CDK stack and the monthly math.

#amazon-bedrock-agentcore#aws-lambda#amazon-cognito#ai-agents#security-best-practices
Read
Production GenAI10 min

Keep LLM bills under control on Amazon Bedrock

A tested Lambda gateway that checks each user's daily budget in DynamoDB before it calls Claude, plus the caching settings and the monthly math.

#amazon-bedrock#cost-optimization#amazon-dynamodb#aws-lambda#generative-ai
Read
Production GenAI9 min

RAG for pennies with Amazon S3 Vectors

Markdown in S3 turned into answers with sources using S3 Vectors, Titan embeddings and Nova Micro, plus monthly costs at 100,000 and 10 million chunks.

#amazon-s3-vectors#amazon-bedrock#amazon-s3#cost-optimization#serverless
Read
Security / Reliability9 min

Least-privilege IAM you can test in CI

Every policy in a CDK app goes to IAM Access Analyzer on each pull request, so new access or a public bucket fails the build, for $0.014 a run.

#security-best-practices#iam#aws-cdk#ci-cd#best-practices
Read
Security / Reliability10 min

Private Lambdas, No NAT Gateway: Secure Document Intake on AWS

A document upload pipeline where the Lambda functions can't reach the internet at all. It uses free gateway endpoints instead of a NAT gateway, costs about $9 a month, and comes with tested CDK code you can deploy.

#aws-lambda#serverless#aws-cdk#security-best-practices#best-practices
Read
Next step

Reading about a problem you actually have?

Start with a fixed-scope production review, or book a free 30-minute fit call if you are not sure yet.