You put your database in a private subnet. Good luck connecting to it.


AWS FOR THE REAL WORLD
⏱️
Reading time: 7 minutes
🎯
Main Learning: Learn how to securely connect to your RDS database in a private subnet using an EC2 jumphost and AWS Session Manager. No SSH keys needed.
πŸ“
🎬

Hey Reader πŸ‘‹πŸ½

Hope you had a great Christmas with your loved ones πŸŽ„

Tobi and I spent a few days in Berlin consulting with a startup, then caught the last sunny days in Munich before winter really hits.

This week: how to actually connect to your RDS database in a private subnet.

Every AWS certification tells you to put databases in private subnets. Great advice. But nobody explains what happens when you need to run a query and realize... you can't reach it from your laptop.

I've seen senior developers stuck on this. It's one of those gaps between exam knowledge and real-world work.

You'll need access when you want to:

  • Inspect your data
  • Test queries
  • Run migrations

We recorded this as a YouTube video if you'd rather watch than read:

video preview​

​

​

News

First, a few AWS updates worth knowing.

πŸ“° This Week in AWS

πŸ’ŒAmazon SES email validation

If you've ever worked with SES on a scale, you know bounces are hard to tackle. SES now allows you to validate emails using an API! Read More β†’

πŸ’°Cost allocation on USER's attributes

You can now allocate costs based on user's attributes in Identity Center like Cost Center, division, org, etc. Read More β†’

🌐Lambda Durable Functions are available in 14 regions.

Durable functions are now available in even more regions. Check them out to orchestrate your Lambda steps. Read More β†’

​

Our Favrouite: SES now has an email validation API. I'd have needed this on one of my past projects.

Remember: If you let customers send emails, you'll attract spammers. Validating addresses before they hit your system saves you from bounces, complaints, and a trashed sender reputation.

​

Deep Dive

Now for the main event.

Cover

πŸ“š This Week's Deep Dive

The Problem: Your Database Is Unreachable

Every AWS certification teaches you to put databases in private subnets. That's the right call for security. But when you need to run a query, you realize nobody explained how to actually reach it.

Your RDS instance has no public IP. Your laptop sits outside the VPC. There's no path.

RDS Architecture showing the gap between your laptop and the private subnet

The Solution: EC2 Jumphost with Session Manager

You need a bridge into the private network. Session Manager gives you that bridge without SSH keys, open ports, or a NAT gateway.

The video walks through the full CDK setup, VPC endpoints, and a live demo of the tunnel in action.

🎬 Watch the Full Tutorial β†’

Prefer reading? Read the blog post instead

​

That's it for this week. Enjoy the holidays, don't touch prod, and I'll see you in January. πŸ‘‹πŸ½

​

Sandro & Tobi ✌🏽

​

AWS for the Real World

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.

Read more from AWS for the Real World

AWS FOR THE REAL WORLD ⏱️ Reading time: 6 minutes 🎯 Main Learning: Build a central alerting approach with CloudWatch, Lambda, EventBridge, and CDK across your AWS Organization. πŸ“ Blog Post πŸ’» GitHub Repository 🎬 Watch on YouTube Hey Reader πŸ‘‹πŸ½ Welcome to the first issue after re:Invent. For everybody who was out there, I hope you came home safe & healthy. I heard re:Invent cold is a thing like Oktoberfest cold in Munich 🍻 πŸ“° This Week in AWS ⏸️AWS Lambda Durable Functions Lambda launched Durable...

AWS FOR THE REAL WORLD ⏱️ Reading time: 6 minutes 🎯 Main Learning: Learn how to securely connect GitHub Actions to your AWS account using OIDC authentication without storing access keys. Step-by-step guide with IAM role setup, trust policy configuration, and workflow examples for safe CI/CD deployments. πŸ“ Blog Post Hey Reader πŸ‘‹πŸ½, welcome to another week of AWS for the Real World We are right in the middle of pre:invent. Re:Invent starts next week! We are both not present, but we will give you...

AWS FOR THE REAL WORLD ⏱️ Reading time: 4 minutes 🎯 Main Learning: AWS CloudWatch log centralization makes cross-account logging simple. Learn how to set it up, avoid gotchas, and query logs across your organization. πŸ“ Blog Post Hey Reader πŸ‘‹πŸ½ another week, another newsletter about CloudWatch. This time we're talking about a rather new feature: Log Centralization. But quick question before we dive into this week’s CloudWatch deep dive… We’re 6 weeks out from 2025 (wild, right?) and I’m...