Posts

test - no h2

  The Secret Life of AWS: The Perimeter (AWS WAF & AWS Shield) (Part 52 of The Secret Life of AWS) Subtitle:  How to filter malicious traffic at the global edge. Tags:  #aws #waf #security #architecture #cloudfront #devops Timothy was reviewing the CloudWatch dashboards for his newly deployed global architecture. The CloudFront distribution was successfully serving users in milliseconds, but he noticed an alarming anomaly. "We have a massive spike in traffic hitting the Checkout API," Timothy explained to Margaret, pulling up the X-Ray traces. "But these are not normal user requests. Someone is sending thousands of requests per minute from a handful of IP addresses. And look at the request payloads—they are injecting raw SQL commands into the URL parameters." Margaret leaned in to examine the logs. "You are experiencing an application-layer attack. CloudFront is doing exactly what it was designed to do: it is delivering traffic to your API Gateway as fast a...

The Secret Life of Azure: The Traffic Controller

Image
  The Secret Life of Azure: The Traffic Controller Optimizing Cost and Latency with Intent-Based Routing. #Azure #AIAgents #CloudComputing #SoftwareArchitecture Optimization & Routing The whiteboard was covered in the evaluation rubrics from our last session, but Timothy was looking at a billing dashboard with a frown. "Margaret," Timothy said, "the system is accurate now, but it’s slow. And the cost of running every single request through the high-reasoning models is starting to add up. Most of the time, the user is just asking a basic status question, but we’re spinning up the whole  orchestrator  and the  evaluator  to answer it. We're using a sledgehammer to hang a picture frame." Margaret picked up a yellow marker and drew a diamond-shaped box at the very entry point of the system. "That’s because you’re treating every request like a crisis, Timothy. In the cloud, efficiency is about  Routing . We need to move from 'one-size-fits-all' to  I...

The Secret Life of AWS: The Perimeter (AWS WAF & AWS Shield)

Image
The Secret Life of AWS: The Perimeter (AWS WAF & AWS Shield) How to filter malicious traffic at the global edge. #AWS #WAF #Shield #Security Part 52 of The Secret Life of AWS Timothy was reviewing the CloudWatch dashboards for his newly deployed global architecture. The CloudFront distribution was successfully serving users in milliseconds, but he noticed an alarming anomaly. "We have a massive spike in traffic hitting the Checkout API," Timothy explained to Margaret, pulling up the X-Ray traces. "But these are not normal user requests. Someone is sending thousands of requests per minute from a handful of IP addresses. And look at the request payloads—they are injecting raw SQL commands into the URL parameters." Margaret leaned in to examine the logs. "You are experiencing an application-layer attack. CloudFront is doing exactly what it was designed to do: it is delivering traffic to your API Gateway as fast as possible. However, CloudFront does not inspect...

Happy Pi Day

Image
Happy Pi Day A Pi Day Celebration with Margaret and Timothy from The Secret Life of Pi #Pi #Math #Numbers #STEM March 14th — 3.14159... Margaret is a senior software engineer. Timothy is her junior colleague. They work in a grand Victorian library in London — the kind of place where old mysteries and new discoveries share the same shelves. Today is the 14th of March. Margaret has been waiting for it. The Number on the Chalkboard Timothy arrived to find something unusual. Margaret had pulled a small chalkboard from the storage room — the kind with a wooden frame and a little groove for chalk dust — and propped it against the fireplace. On it, in her precise handwriting, was a single symbol. π "You've decorated," he said. "I have marked the occasion," she said, pouring tea without looking up. "Sit down, Timothy. Today we are not talking about code." He sat. "What are we talking about?" She set a cup in front of him and looked at the chalkboard ...

The Secret Life of AWS: The Edge (Amazon CloudFront)

Image
  The Secret Life of AWS: The Edge (Amazon CloudFront) How to reduce global latency using a Content Delivery Network. #AWS #CloudFront #Latency #Security Part 51 of The Secret Life of AWS Timothy was analyzing his new AWS X-Ray Service Map. The backend microservices were performing exceptionally well. The Step Functions orchestrated the orders perfectly, and the DynamoDB queries were returning in single-digit milliseconds. However, the frontend telemetry told a different story. "The backend is highly optimized," Timothy explained to Margaret, pointing at his dashboard. "But I am looking at the load times for our users in London and Tokyo. It is taking them over eight hundred milliseconds just to download the product images and the frontend JavaScript files. The users in Virginia get the same files in forty milliseconds." Margaret looked at the architecture diagram. "Where are those static files stored?" "In an Amazon S3 bucket located in the  us-east-...

The Secret Life of Claude Code: Skill Is Not What You Think It Is

Image
  The Secret Life of Claude Code: Skill Is Not What You Think It Is What AI-Assisted Coding Actually Means for Your Career — and Why the News Is Better Than You Think #ClaudeCode #CodingWithAI #Programming #SoftwareDevelopment 🎧 Audio Edition: Prefer to listen? Check out the expanded AI podcast version of this deep dive on  YouTube . 📺 Video Edition: Prefer to watch? Check out the 7-minute visual explainer on  YouTube . Margaret is a senior software engineer. Timothy is her junior colleague. They work in a grand Victorian library in London — the kind of place where ideas are taken seriously and hype is shown the door. Timothy has just spent his first evening with Claude Code. The Morning After Timothy arrived earlier than usual. Margaret noticed this but said nothing. She waited. He sat down, opened his laptop, and stared at it for a moment without typing anything. "You used it last night," she said. Not a question. "I did." He paused. "It worked." ...

The Secret Life of AWS: Distributed Tracing (AWS X-Ray)

Image
  The Secret Life of AWS: Distributed Tracing (AWS X-Ray) How to track a single user request across multiple microservices. #AWS #XRay #Observability #Microservices 🎧 Audio Edition: Prefer to listen? Check out the expanded AI podcast version of this deep dive on  YouTube . 📺 Video Edition: Prefer to watch? Check out the 5-minute visual explainer on  YouTube . Part 50 of The Secret Life of AWS Timothy had six different browser tabs open on his monitor. He was looking at CloudWatch logs for the API Gateway, the Checkout Lambda function, the Amazon SQS queue, and the Inventory Lambda function. "I have a user report indicating their checkout process took fourteen seconds to complete," Timothy explained as Margaret pulled up a chair next to him. "I am trying to match the timestamps across all these different log groups to find out which specific service caused the delay. It is taking quite a bit of time." Margaret smiled sympathetically. "That is incredibly diffic...