Let's Do DevOps

Let's Do DevOps

AgentCore: Deployment, Operations, and Lessons Learned (4/4) 🔥

aka, wish I'd know that earlier

Kyler Middleton's avatar
Kyler Middleton
Mar 15, 2026
∙ Paid

This blog series focuses on presenting complex DevOps projects as simple and approachable via plain language and lots of pictures. You can do it!

These articles are supported by readers, please consider subscribing to support me writing more of these articles <3 :)

Hey all!

In this 4th and last article in the AgentCore series, we’ll talk about real life deployment, operations, and lessons learned while building this project. Here are links to the other articles in the series:

  • Part 1 - AgentCore: Full Architecture and Code

  • Part 2 - AgentCore MCP Gateway

  • Part 3 - AgentCore Memory and Tools

  • Part 4 (this article) - AgentCore Deployment, Operations, and Lessons Learned

Deploying an AgentCore runtime isn’t like deploying a Lambda function. There’s a container to build, a two-Lambda architecture to wire up, module boundaries to get right in Terraform, and a regional split that will trip you up if you’re not expecting it. Once it’s running, the operational model is different too. Your bot is a long-lived application now, not a function that spins up and dies. That changes how you think about health checks, debugging, cost, and failure modes.

This article walks through the Terraform patterns that hold everything together, what container lifecycle actually looks like in practice, how to debug when things go wrong, and an honest look at what I’d do differently if I started over. If you’ve been following along and thinking about building your own AgentCore agent, this is the practical stuff you’ll want before you start.

Let’s get into it.

User's avatar

Continue reading this post for free, courtesy of Kyler Middleton.

Or purchase a paid subscription.
© 2026 Kyler Middleton · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture