|
AWS FOR THE REAL WORLD
β±οΈ
Reading time: 8 minutes
π―
Main Learning: How to securely connect Claude Code to a private RDS database using MCP, SSM tunnels, and VPC endpoints
π
π»
π¬
Hey Reader ππ½ AI coding assistants are great. If you give them the right context. Your database schema is one of the most valuable pieces of context you can provide. But there's a problem: your RDS is in a private subnet. As it should be. So how do you connect Claude Code to a database it can't reach? In this issue, we set up a secure tunnel using SSM and VPC endpoints, hook it up via MCP, and let Claude Code query your private RDS directly. Rather watch a video? We've recorded one for you! First, let's see some AWS news of the week:
Now, onto this week's deep dive:
That's it for this week! The full CDK stack and scripts are open source. Grab the repo, deploy it, and don't forget to destroy the stack when you're done. See you soon! Sandro & Tobi |
We teach AWS for the real world - not for certifications. Join more than 10,500 developers learning how to build real-world applications on AWS.
AWS FOR THE REAL WORLD β±οΈ Reading time: 8 minutes π― Main Learning: How to pause Step Function workflows for human approval using the callback pattern π Blog Post π» GitHub Repository π¬ Watch on YouTube Hey Reader ππ½ I've used this pattern in almost every project I've built. Whenever you need a human in the loop - approvals, reviews, manual checks - and you still want to see what's happening, Step Functions are perfect. Lambda is my go-to for almost everything. APIs S3 triggers event consumers...
AWS FOR THE REAL WORLD β±οΈ Reading time: 5 minutes π― Main Learning: How to make Claude write production-ready Terraform instead of technical debt π¬ Watch on YouTube π Blog Post π» GitHub Repository Hey Reader ππ½ We've been heads-down the past weeks. Preparing the live AMA workshops from Black Friday (sorry for the delay!) and recording new YouTube videos. It's been a lot of fun. Speaking of videos - this week Tobi recorded one you'll want to watch. Here's the problem: LLMs want to close the...
AWS FOR THE REAL WORLD β±οΈ Reading time: 8 minutes π― Main Learning: 5 practical techniques to cut Lambda costs (memory, timeouts, ARM, batching, caching) π Blog Post π¬ Watch on YouTube Hey Reader ππ½ Lambda bills can sneak up on you. One function is often not expensive. But then you scale it up and π₯ it costs you $5,000. Sounds familiar? We had this exact problem with our Shopify fraud detection app. Orders coming in via EventBridge, each triggering its own Lambda.And the bill was $150/month...