D
I own a house. I've also rented a lot of apartments. I treated them very differently. In my apartments, I paid rent on time. I didn't punch holes in the walls. I got my security deposit back. Mostly. But I never repainted a landlord's kitchen at 11 p.m. on a Sunday. I have, however, done the equivalent for employers more times than I can count. Here's the metaphor I can't shake. Life is a house you own. Usually forever. Work is an apartment you rent. By definition, it ends. Maybe in two years,…
D
Hi, I'm Kazuho. Last week I was named an AWS DevTools Hero in Japan. Most of my community work goes into contributing to the AWS CDK, and I also maintain a few small tools around it. This post is about one of them. You deploy a CDK app the usual way, nothing unusual in the code, and then the bill shows a few hundred dollars a month for resources you never meant to create. Has that happened to you? NAT Gateways, load balancers, databases and VPC endpoints charge by the hour whether anyone calls…
D
Somewhere in a grocery freezer in the Northeast there is a box of filet mignon. It's marbled. It's premium. The box says so. It was printed. That's not a metaphor. In September 2026, Steakholder Foods announced that its Perfecta line of plant-based steak, chicken and salmon had reached retail shelves in the Northeastern US. The cuts come off industrial 3D printers, one layer at a time, with the "fat" laid down exactly where a cow would have put it. If the cow had read the spec. And according to…
D
Do you know what your Lambda function is called today? Just "Lambda function"? Well, not anymore. Event Function. AWS renamed it on October 12, 2026, and you probably haven't even heard about it. 😉 This rename didn't come out of nowhere. Over the past year AWS shipped plenty of updates for Lambda, API Gateway and EventBridge. We have new kinds of functions, a new event bus, and a few days ago the 15-minute limit many of us lived with for years went away. At least in some cases. The phrase…
D
Every week an AI agent renders our video podcast. An episode is 384 lip-synced video clips, and each clip needs a GPU. We moved that job to Lambda Managed Instances (LMI), the Lambda capacity type that gained GPU support in November. The first version ran on an NVIDIA L4 and held the GPU for about 5.2 hours, roughly $4.60 an episode. After a day of measuring and tuning, the same episode projects to about 1.1 hours and $2.20. This post covers how the pipeline is built, what surprised us, and how…
D
I made a big mistake. I checked in over 2 GB of images into GitHub. Not on purpose, it just happened over time. I've been building Kids and Dragons, a role-playing adventure game for kids, with coding agents, and it generates a lot of art. Like, thousands of assets. And because I've been trying to go "hands-free" with its development, every painting, every sound file, and every revision of them went into Git. Which seemed fine at first, but by the time I thought to do an audit, a clone of the…
D
Thirty years ago I lost a lot of evenings to a game called Empire. Last week I lost a lot more. This time I didn't have to find a DOS box. I just asked Claude to build it. This is the story of how that went. Short version: one prompt, about 20 minutes, under 600 lines of HTML, and a game I have now played for hours. Longer version below. A quick history lesson Empire was written by Walter Bright in 1977. Yes, the same Walter Bright who later created the D programming language. It is one of the…
D
Using GenAI to sound like literally anyone but you. Everyone knows the trick. You paste three of your old blog posts into an LLM and say "write like me." Thirty seconds later you get an article that sounds like you on a good day. Fewer typos. Better transitions. Somehow funnier. It's a little insulting, honestly. But my friend Morgan Creighton had a saying "The opposite of a Good Idea is Often Also A Good Idea". What if you need to write something that sounds like nobody? Not "neutral corporate…
D
TL;DR When you use AWS Emulator for development with AWS CDK, combining it with cdkd gives you the following benefits: cdkd automatically configures the connection to AWS Emulator, and environment variables for Lambda and other resources are resolved automatically from your CDK code, so you don't need a .env file You can freely switch the connection target per service, for example using real AWS for secrets and reference data/files while having the app write to AWS Emulator (no need to recreate…
D
Reviewing pull requests for terraform-aws-modules has always taken a lot of my time. It was a problem for a very long time, and I recorded livestreams of myself doing it. I cannot skip it: merging something that is not great is a way to disaster and lost trust. AI lets everyone write code now, and coding agents open pull requests for Terraform modules. A person still reads each one. A model already knows how to write good Terraform. For that part I maintain terraform-skill, a skill for…
D
Do you know how much of your AWS bill goes to resources nobody on your team remembers anymore? I'll give you a moment to think... Done? After years of cost audits, I know one thing: usually more than anyone assumes. But to back it up with numbers: I often see 14%–22% of the monthly bill, and sometimes as much as 44%! The biggest savings in AWS rarely require rebuilding the architecture. Usually a cleanup is enough: an EBS volume that hasn't been attached to anything for a year, snapshots of a…
D
Introduction In part 8 of the series, we learned how to convert the sample application to one using a container image as a deployment artifact on AWS Lambda and measured the performance of the Lambda functions. We observed that the Lambda cold start times are quite high. In this part, we'll enable SnapStart on the Lambda functions using a container image. We'll also apply priming techniques and measure the performance of the Lambda functions for all scenarios. You can find the final version of…
D
Everyone I know is tired. Not "I stayed up too late" tired. The other kind. The kind where you open your laptop on Monday and it feels like Thursday. I keep thinking about Bilbo Baggins. Early in The Fellowship of the Ring, right before he walks out of the Shire, he tells Gandalf he feels thin and stretched, "like butter that has been scraped over too much bread." I first read that as a kid and thought it was a funny line about breakfast. I now read it as the most accurate description of modern…
D
I built an OSS CLI tool called cdkd (CDK Direct) that speeds up deployments by up to 15x without changing a single line of your existing AWS CDK code. You can use it just by replacing cdk deploy with cdkd deploy. What makes it special is that it achieves this speedup by deploying directly through the AWS SDK, without going through CloudFormation. On top of that, it can also run Lambda / API Gateway / ECS / CloudFront / Bedrock AgentCore and more locally. And CloudFormation isn't the only thing…
D
I built an OSS tool called markgate that mechanically catches and enforces two kinds of gaps: when a Coding Agent (Claude Code, etc.) accidentally forgets to call a Skill that runs build or tests after implementation and commits anyway, and when AI tasks that can't be reduced to a command — like a /check-docs Skill — can't be enforced through hooks. markgate NOTE: markgate is meant to run inside a git repository. markgate markgate is a CLI tool that acts as an enforcement layer wedged between…
D
Monthly Amazon Location Service Updates - 2026.10 This is a summary of the October updates for Amazon Location Service. 2026.10 Updates Amazon Location Service launches an interactive API Playground featuring Places, Routes and Maps APIs This release introduces an interactive API Playground in the AWS Console that lets developers explore and test all 14 Places, Routes, and Maps APIs visually without writing code. Developers can now make real API calls, see results rendered on an interactive…
D
Since 2017, I've wanted to run a regular web app on Lambda: use a familiar framework, start the HTTP server, and let Lambda handle scaling, including down to zero when nobody's using it. Services like Fargate already let me run a conventional web app on managed compute. The appeal here is getting Lambda's scaling behavior without needing an adapter. I built a small TypeScript and Express project to try out Lambda Web Functions. I wanted something small enough to learn from, with a foundation I…
D
Halloween is a good time for scary stories. The thing is, I don't have any ghost stories to tell. I have something much scarier: AWS bills 👻. I skipped the stories about access keys pushed to GitHub and crypto miners spun up in every region. That's a topic for the security team. What scares me more are the cases where nobody stole anything. The account was secure, the code worked, and the bill still went through the roof. Because AWS bills you for the work done, not for its value to your…
D
It was 2016. I was sitting in front of my monitor, staring at an estimated AWS bill: 300 dollars a month for my side project. $300! For an app used by maybe a handful of people. That was the moment I got it: either I give up on the dream of my own startup, or I find a way to tame cloud costs. Today, after years of fighting with AWS cost optimization, I know one thing for sure: AWS Cost Explorer is only the beginning of your journey, not the end of it. Painful beginnings with AWS I came from the…
D
Introduction In part 8 of the series, we learned how to convert the sample application to one using a container image as a deployment artifact on AWS Lambda and measured the performance of the Lambda functions. We observed that the Lambda cold start times are quite high. In this part, we'll enable SnapStart on the Lambda functions using a container image. We'll also apply priming techniques and measure the performance of the Lambda functions for all scenarios. You can find the final version of…
D
We all have an engineering "horror" story. You know, the one you actually had to live through. Like the backup that was backing up an empty folder for three years. The "staging" database that was actually prod (just with a different hostname, no big deal, right?). The cron job nobody owned that (or understood), but turned out to be holding up the entire payroll system. So for my talk at Day of Data on October 17, I didn't want to tell the room about an AI pipeline. I wanted something more...…
D
In 1961, Robert Heinlein invented a profession. The Fair Witness. Someone trained to report only what they directly observed. No inference. No assumptions. Ask one what color a house is and they'll tell you the color of the side they can see. The other sides? Not their department. Heinlein intended this as satire about lawyers and their tendency to make inferences beyond direct observation. It's starting to look like a job description. Here's the problem. We're entering an era where seeing is…
D
How to Keep AI from Breaking Your Environment with AWS CDK More and more people are letting AI write their AWS CDK code. At the same time, some may feel uneasy about AI breaking their environment on its own. For those people, this article introduces a way to safely stop the process only when a change to your CDK code contains a dangerous diff that could break your environment. Destructive Changes So what kind of dangerous diff can break an environment? It is a destructive change, where a…
D
Introduction Several years ago, I wrote an article series Lambda function using Docker Container Image, where I explained how to convert an application deployed on AWS Lambda as a managed Java runtime to one deployed on AWS Lambda as a (Docker) container image. As we saw, the cold start time of a Lambda function using a container image was quite high. Back then, no Lambda cold-start performance optimization approaches were available, such as Lambda SnapStart. This has changed recently, as AWS…
D
I'm gonna go out on a limb and say you've probably used an AI agent before. I'm gonna go out on an even further limb and say you've probably built an AI agent before. When building agents that interact with humans, we often put a decent amount of effort into designing a character profile for them. Things like a name, tone, opinions, funny sayings to tack on to the end of sentences, all go into building the facade of a personality. Memory is in the list too, so the agent knows what happened…
D
Introduction Several years ago, I wrote an article series Lambda function using Docker Container Image, where I explained how to convert an application deployed on AWS Lambda as a managed Java runtime to one deployed on AWS Lambda as a (Docker) container image. As we saw, the cold start time of a Lambda function using a container image was quite high. Back then, no Lambda cold-start performance optimization approaches were available, such as Lambda SnapStart. This has changed recently, as AWS…
D
Note: I use Deliberation heavily every day, in the harnesses I picked for my own work: Claude Code, Codex and Antigravity, running in T3 Code and Claude Code on the web at the same time. It has been tested in real work much harder than the version I wrote about in June. In June I wrote that every model on a panel has to prove it earns its seat, and I shipped a debug log and an analyze tool to do the proving. Both worked. The log on my laptop is 2.4 MB of JSONL today. Measuring was the easy…
D
In AWS CDK, refactoring such as extracting resource definitions into a custom construct can cause resources to be replaced at deployment time — that is, deleted and recreated. For stateful resources, this means the data they held is lost. In this article, I will introduce four ways to refactor safely without triggering this replacement. NOTE: This article is based on AWS CDK (aws-cdk-lib) v2.263.0 and AWS CDK CLI (aws-cdk) v2.1139.0. To use the cdk refactor and cdk orphan commands introduced…
D
Introduction In part 7, we transformed our application into an agentic one. We replaced the search for YouTube and upcoming talks with the AgentCore Gateway Web Search Tool. Also, we used the Spring AI framework to implement the AI agent and AWS Lambda to host it. This might be sufficient for very simple agents, as AWS Lambda has its limitations of a 15-minute execution duration and isn't very efficient for agents spending a lot of time waiting on I/O. In this part of the series, we'll show how…
D
Over the past couple of years I've tried several times to teach an AI agent how to impersonate my voice. While I haven't been super successful, it's been a wonderful learning opportunity for me to dig into RAG, agent memory, and other advanced topics. I've iterated quite a bit on my original design, which was mostly just stuffing entire blog posts into the system prompt as examples. I built an interesting version of agent memory that had its shortcomings. Then I swapped over to Oracle and…