|
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: 10 minutes π― Main Learning: Every convenience layer AWS built on ECS is dead or dying, while ECS itself has not changed since 2014. Build on the primitive, and make the layer above it prove itself first. π Blog Post Hey Reader ππ½ Getting started with an AWS service often feels more complicated than it should. Four concepts must be understood before a single container runs. A VPC is required before a single request. So, the fancy CLI that promises to do...
β±οΈ Reading time: 21 minutes π― Main Learning: Same CloudFront logs: 12.5s through Kinesis, S3, Glue and Athena, about 1s through Tinybird's managed ClickHouse. π Blog Post Hey Reader ππ½ We've been running Plausible for the analytics on awsfundamentals.com. Good software, no complaints. We still wanted the data to be ours: our retention, our schema, nobody's script in the visitor's browser. So we built the dashboard ourselves. Twice, on two different backends, fed by the same CloudFront logs....
AWS FOR THE REAL WORLD β±οΈ Reading time: 11 minutes π― Main Learning: A Karpenter NodePool is a placement policy, not an instance preference. Pin one instance family, and a Spot shortage moves your fleet across availability zones, where every internal call starts costing $0.01 per GB. π Blog Post Hey Reader ππ½ Important off topic things first: Sandro got married! πWe were in Munich for it and it was a fantastic day! βοΈHighly recommend a wedding over sprint planning or fighting with AWS...