Situation

I Was Removing hostNetwork: true From An Internal API Service Running On GKE, Because It Capped Each Node To One Pod And Forced The Cluster To Scale Out Wider Than It Needed To. Right After The Change, Every Connection From These Pods To An On-Prem Service Started Getting Blocked By The Firewall. The Rule Clearly Allowed The Node Subnet, So I Suspected A Stale Rule, But Three Re-Checks Later The Real Problem Showed Up: The Source IP On The Wire Wasn’t The Node IP, It Was The Pod’s Own IP. I’d Always Assumed Anything Leaving A Node Gets SNAT’d To The Node IP, And That Doesn’t Hold On GKE’s VPC-Native Mode, Where The Pod IP Is A Real, Routable Secondary Range Inside The VPC And RFC1918 Traffic Isn’t SNAT’d. The Fix Was Deploying ip-masq-agent And Explicitly Excluding The On-Prem CIDR From The “Don’t SNAT” List. It Left A Bigger Question Behind: How Many Of My K8s Networking Assumptions Only Hold On One Specific Platform? I’d Hit The Pod IP Trap, But I Didn’t Know How ClusterIP And LoadBalancer IP Work On On-Prem, GCP, And AWS, So This Post Is What I Found Chasing That Down.

Continue reading

Situation

I Was Cleaning Up My Personal AWS Account Recently And Glue Kept Showing Up Near The Top Of The Bill, Around $10 A Month. As Far As I Know I’m Not Running Any Glue Jobs Right Now, So I Went After The Usual Suspects First: Jobs, Dev Endpoints, Interactive Sessions, Triggers, Workflows. All Of Them Were Already At Zero. The Next Month’s Bill Didn’t Move. Grouping The Cost By Usage Type Finally Showed Where It Came From: Every Cent Was USE1-Crawler-DPU-Hour, Three Crawlers In us-east-1 With No Schedule On Them, Created Back In 2024-04 By The Official CUR CloudFormation Template.

Continue reading

Situation

Had Been Watching A LinkedIn Account Post AWS Updates Every Week For A While — Always Just Updates, And Kept Wondering If There Was A More Human Way To Deliver Them. So, Riding The AI Wave, Built A Lambda + Bedrock + SES + S3 Pipeline: Every Friday It Pulls The AWS What’s New And Blog RSS Feeds, Hands Them To Amazon Nova Pro To Write A Categorized Digest, Emails It Out, Archives A Copy To S3 — And Also Has Claude Opus Look At This Account’s Actual Resource Usage And Suggest Optimizations.

Continue reading

Author's picture

Gordon wei

Stay Hungry Stay Foolish

momo IT Infrastructure Division Director | AWS Community Builders

Taiwan