<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Carl  Simpson on Medium]]></title>
        <description><![CDATA[Stories by Carl  Simpson on Medium]]></description>
        <link>https://medium.com/@carlsimpson83?source=rss-b00e18d3b778------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*dj5O2emfag4Nkeks</url>
            <title>Stories by Carl  Simpson on Medium</title>
            <link>https://medium.com/@carlsimpson83?source=rss-b00e18d3b778------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 00:59:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@carlsimpson83/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Asking the Right Question: Why Good Architecture Starts With “Why”]]></title>
            <link>https://medium.com/@carlsimpson83/asking-the-right-question-why-good-architecture-starts-with-why-094ed98fdc1d?source=rss-b00e18d3b778------2</link>
            <guid isPermaLink="false">https://medium.com/p/094ed98fdc1d</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Carl  Simpson]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 10:18:37 GMT</pubDate>
            <atom:updated>2026-10-26T10:18:37.948Z</atom:updated>
            <content:encoded><![CDATA[<p>Monolith, microservices, serverless: none of them is the best.</p><p>Each is the right answer for some businesses and the wrong answer for others. Knowing the services is the easy part. The real work is asking why until the right choice is obvious: why this design, why this cost, why this trade-off.</p><p>To prove it, I designed the same application twice.</p><h3>The mission</h3><p>Yums is a fictional chain of three restaurants. Customers order online for collection or delivery, pay in the app, watch their order move from kitchen to door, and track their driver live on a map.</p><p>On paper it’s a simple food-ordering app. Ask why a few times and it gets more interesting:</p><ul><li><strong>The load is spiky.</strong> Around 30 orders an hour on a quiet weekday lunch, around 200 on a Friday night. And for more than half of every week, nothing at all: the restaurants are closed.</li><li><strong>The busiest part isn’t ordering.</strong> Live driver tracking generates far more traffic than orders do, so it needs scaling separately.</li><li><strong>The data matters.</strong> Home addresses, payments and live driver locations. Security can’t be bolted on afterwards.</li><li><strong>The team is small.</strong> Two IT staff. Whatever gets built has to largely run itself.</li></ul><p>That’s the mission. Now the two designs.</p><h3>Design one: Traditional</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E3V1Z9-mBLwzyPXtI5NvuA.png" /></figure><p>The classic three-tier build: web servers for the pages, app servers for the logic, and a PostgreSQL database, all spread across two Availability Zones so losing one data centre doesn’t take Yums down.</p><p>Before any of that, networking and security came first:</p><ul><li><strong>One door in.</strong> Only the load balancer faces the internet. Every server and the database sit in private subnets.</li><li><strong>Each layer trusts only the one in front of it.</strong> A compromised web server can’t reach the database directly.</li><li><strong>Tracking gets its own servers.</strong> A flood of driver updates can’t slow down a customer paying.</li><li><strong>Scaling is my job.</strong> I set the minimum and maximum number of servers, the metrics to scale on, and extra capacity from 17:30 every Friday and Saturday.</li></ul><p>It’s solid, proven and fully under my control. It also costs around <strong>$327 a month</strong> before a single customer orders. The database and the network gateway run 24/7, whether Yums is busy or closed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_-gxAvpy6TJjepDf--ayng.png" /></figure><h3><strong>Design Two: serverless</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B-m2NoyyCAtIVSzFHcxedQ.png" /></figure><p>Same app, same requirements, no servers.</p><ul><li><strong>The website</strong> is a set of files in a private S3 bucket, served through CloudFront. Only CloudFront can read the bucket.</li><li><strong>Every request for data</strong> goes through API Gateway, which checks the customer’s login token before anything runs.</li><li><strong>The logic</strong> is six small Lambda functions, one per job: place an order, update a status, track a driver. Each can only touch what its job needs.</li><li><strong>Orders live in DynamoDB.</strong> Managers’ reports run on an hourly copy, so reporting never slows down the kitchen.</li><li><strong>Scaling is AWS’s job.</strong> Mine is setting the ceilings: how many requests get through, how many functions run at once, and keeping the order function warm on a Friday night.</li></ul><p>Same security, same live tracking, reports up to an hour behind. Around <strong>$11 a month</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vEX3A7_xR6b14WEY42uOgQ.png" /></figure><h3>So serverless wins?</h3><p>For Yums, yes. But not because serverless is better. Because of why Yums needs it.</p><p>Yums is quiet most of the day, busy for a few hours on Friday and Saturday nights, and closed for more than half of every week: 98 of 168 hours. Servers charge by the hour whether anyone orders or not. Serverless charges per request. When most of your hours are quiet, pay-per-use wins by a mile.</p><p>Change the business and the answer flips. Servers make more sense when:</p><ul><li><strong>Load is steady and high, 24/7.</strong> Busy servers spread their fixed cost over a lot of work, while serverless keeps charging for every request.</li><li><strong>Jobs run long.</strong> A Lambda function stops after 15 minutes. Video processing or big batch jobs belong on servers.</li><li><strong>You need control of the operating system.</strong> A hardened OS, security agents on the host, or software that has to run on a machine you manage.</li></ul><p>Serverless isn’t free of trade-offs either. One order now passes through six functions, which is harder to trace when something goes wrong. The design is tied to AWS. And the limits are still mine to manage: cold starts, concurrency, and making sure a flood of fake requests doesn’t become a bill.</p><p>It’s business-need specific. The architecture follows the why, never the other way round.</p><h3>What I deliberately left out</h3><p>A second AWS Region. Running in two Regions protects against a whole Region going down, but it doubles the parts and the cost. AWS positions it for workloads that need extreme resilience, and a three-restaurant chain isn’t one.</p><p>So that risk is accepted and written down. Leaving something out is a design decision too, as long as you can say why.</p><p>If you’re designing systems, or hiring people who ask why before they build, I’d love to connect.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=094ed98fdc1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Weakness You Name Can’t Ambush You]]></title>
            <link>https://medium.com/@carlsimpson83/the-weakness-you-name-cant-ambush-you-bce0bfc10b71?source=rss-b00e18d3b778------2</link>
            <guid isPermaLink="false">https://medium.com/p/bce0bfc10b71</guid>
            <dc:creator><![CDATA[Carl  Simpson]]></dc:creator>
            <pubDate>Mon, 19 Oct 2026 09:52:06 GMT</pubDate>
            <atom:updated>2026-10-19T09:52:06.011Z</atom:updated>
            <content:encoded><![CDATA[<p>Your single point of failure is the one you didn’t write down<em>.</em></p><p>When I stress-test an architecture, it always comes back to one question: what does this choice cost, and who’s paying for it?</p><p>Here’s a design that shows why. A fitness app: members follow workout plans with exercise videos, log their sessions and track their body metrics.</p><p>The architecture is a sensible one. A load balancer, backend servers across two Availability Zones, a Multi-AZ database, CloudFront at the front, and everything sensitive in private subnets. On paper, it survives an entire Availability Zone going down.</p><p>On paper.</p><h3>The question that exposed the gap</h3><p>Under review, one question took that claim apart:</p><p><em>“There’s one NAT gateway, and it sits in Availability Zone 1. AZ 1 goes down. What happens to the servers in AZ 2?”</em></p><p>A standard NAT gateway lives in one zone. If that zone fails, servers in every other zone lose their outbound internet access.</p><p>In this design, that matters. The backend servers sit in private subnets with no direct route to the internet. They go out through the NAT gateway to download updates, read secrets and fetch the keys they use to check members’ logins. Lose the NAT gateway and the servers in the “healthy” zone keep running, but can’t reach anything they need from outside.</p><p>So the headline claim, that the app survives a zone failure, was only half true. And the first version of the design didn’t say so.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*Dm8SZiQQ9s3MYCed3tW9eg.png" /></figure><h3>Was one NAT gateway wrong?</h3><p>The reflex is to fix it: add a second NAT gateway and move on.</p><p>But that isn’t the lesson. One NAT gateway isn’t wrong. It’s a trade-off.</p><ul><li><strong>What it buys you:</strong> lower cost. NAT gateways are charged for every hour they run, so two cost double.</li><li><strong>What it costs you:</strong> if its zone fails, outbound access goes with it.</li></ul><p>What <em>was</em> wrong was the design claiming the app survived a zone failure without saying the NAT gateway was the exception. The choice was fine. Not stating what it cost was the mistake.</p><p>Once the gap is written down (“single NAT gateway, accepted to save money, here’s the fix if budget allows”), the same design becomes a defensible decision.</p><p>That’s the whole discipline in one example.</p><h3>No absolutes, only trade-offs</h3><p>The principle is simple: every architectural choice has a price.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tGGfqiPAC0yVRUmMlx5eZA.png" /></figure><p>In the Military we had a phrase for planning around failure: <strong>actions on</strong>.</p><p>You don’t work out what to do when something goes wrong in the moment. You agree it beforehand, so when it happens, everyone already knows the drill.</p><p>Cloud design works the same way. Two Availability Zones, a standby database, automated backups: they’re all actions on, decided before anything breaks.</p><p>But every action on costs something, and you can’t max them all out. Which ones you pay for depends on who you are.</p><h3>Same app, two businesses</h3><p>Take my fitness app and give it to two different owners.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d3hurq9aD-lvJxgwVNwhRw.png" /></figure><h3>A common trap: Multi-AZ isn’t a backup</h3><p>It’s easy to assume a Multi-AZ database protects you if someone deletes the data.</p><p>It doesn’t. Multi-AZ copies every change to the standby straight away, and that includes the delete. It protects you from a zone failing, not from bad data. Backups do that.</p><p>Multi-AZ keeps the app running. Backups keep the data safe. They’re two different decisions with two different costs, and a design needs to be clear about both.</p><h3>The questions I ask of any design</h3><p>• <strong>What does this choice cost, and who’s paying?</strong> Not “what’s the best option?” There isn’t one.</p><p>• <strong>Where are the gaps, and are they written down?</strong> A weakness that’s named is a decision. One that isn’t is a mistake waiting to be found.</p><p>• <strong>What are the defaults?</strong> Plenty of AWS settings that sound like safety nets are switched off until someone turns them on.</p><p>• <strong>What happens when it fails?</strong> Not if. Every component needs its actions on.</p><p>The best architecture isn’t the one with the most redundancy. It’s the one where every gap is a decision someone made on purpose, and can explain. That’s the standard I hold my own designs to.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bce0bfc10b71" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basics Save Lives: What a Six-Hour Facebook Outage Taught Me About Cloud Engineering]]></title>
            <link>https://medium.com/@carlsimpson83/basics-save-lives-what-a-six-hour-facebook-outage-taught-me-about-cloud-engineering-e16c3f559795?source=rss-b00e18d3b778------2</link>
            <guid isPermaLink="false">https://medium.com/p/e16c3f559795</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Carl  Simpson]]></dc:creator>
            <pubDate>Sat, 17 Oct 2026 09:06:36 GMT</pubDate>
            <atom:updated>2026-10-17T09:06:36.715Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Not many people remember Facebook going dark in 2021. Even fewer know why.</strong></p><p>In October 2021, Facebook dropped the ball. During routine maintenance, a single command took down their entire backbone network, the fibre network linking all their data centres. A safety check should have blocked it, but a bug let it through.</p><p>Then DNS made it worse. Their DNS servers, built to step back when they can’t reach the data centres, did exactly that. For around six hours, the internet couldn’t find Facebook, Instagram or WhatsApp.</p><p>And because so many of their internal tools also relied on DNS, the engineers trying to fix it were locked out too. With their network down, they had to physically go to the data centres. Even then, the strict security protecting those sites slowed them down. Meta later described it as an outage caused not by an attacker, but by an error of their own making.</p><p>One of the biggest tech companies in the world, taken down by one command and made far worse by how their DNS was designed to react.</p><p><strong>It’s a harsh reminder that in a rapidly expanding tech landscape, the basics still matter.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zxHpslpOkLqLuuj_H8qlWg.png" /></figure><h4>Basics save lives</h4><p>It echoes something that was drilled into me during my military career: <strong>basics save lives.</strong></p><p>In the RAF, you don’t get to skip the fundamentals because you’re experienced. You keep coming back to them, because when things go wrong under pressure, they’re what you fall back on.</p><p>So this week, I went back to basics. And it led me to a different way of thinking about engineering: <strong>first principles</strong>.</p><p>The approach I’m learning through Cloud Engineer Academy rests on three things:</p><ul><li><strong>Technical excellence:</strong> going deep on the principles that make each service work, not just which buttons to click.</li><li><strong>Engineering leadership:</strong> explaining the <em>why</em> and the business impact of architectural decisions in terms stakeholders understand.</li><li><strong>First principles thinking:</strong> relentlessly asking the most important question in engineering. <strong>Why?</strong></li></ul><p>Apply that last one to Facebook and it gets interesting. Why did the DNS servers go quiet? Because they were designed to, as a safety feature. A sensible decision in isolation became the thing that turned a network mistake into a global outage. You only spot that kind of risk if you understand how the pieces fit together, not just what each one does.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tgZT-nNAHgm3o6jH89aXpA.png" /></figure><h4>The 80/20 of cloud</h4><p>AWS and Azure each offer over 200 services, and Google Cloud more than 100. But underneath every one of them sit the same few fundamentals.</p><p>Looking back at my own builds, a franchise app with serverless functions, monitoring and end-to-end deployments, and an <a href="https://github.com/CarlSimpson1986/aws-ai-lead-bot">AI lead qualification bot on AWS</a>, I noticed something. I didn’t need hundreds of services. I needed a handful, plus a solid grip on what sits underneath them: how traffic gets routed, how names become addresses, who has access to what, and what it all costs.</p><p>So this week I went back over exactly that layer, from networking, IP addressing and DNS to virtualisation, operating systems and databases, with my own builds in mind.</p><p>I also went back to the lead bot’s design and asked <em>why</em> at every step. Why accept a lead instantly and qualify it later? Because a customer shouldn’t wait on an AI model, or lose their enquiry if the model fails. Why cap how many leads it processes at once? Because an unexpected spike shouldn’t turn into an unexpected bill. Every decision traced back to a fundamental, so I wrote them all down, each with its trade-off, in one place in the <a href="https://github.com/CarlSimpson1986/aws-ai-lead-bot#architecture-decision-matrix">repo</a>.</p><p>That’s the 80/20 of cloud. A small slice of knowledge does most of the heavy lifting. Get that foundation right, and every new service is just another building block on top. Get it wrong, and like Facebook, it doesn’t matter how impressive the rest of your stack is.</p><h4>Security from day one</h4><p>Facebook’s outage was an accident. Capital One’s was a door left open.</p><p>In 2019, an attacker got into Capital One’s customer data, stored in the cloud, through a misconfigured web application firewall. The data of more than 106 million people was exposed, including credit scores, balances and payment history.</p><p>The breach happened in March 2019, but it took around four months to come to light, and Capital One only found out when the attacker started talking about it online. The bank was later fined $80 million. Regulators pointed to its failure to properly assess risk before moving major operations to the cloud.</p><p>The cloud provider secures the platform. How you configure it is on you.</p><p>That’s why, before building anything this week, the first thing I did was lock down my AWS account and set a budget. It isn’t exciting. Neither is a seatbelt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WIz3h_GFZR1Se2NEzhmHCA.png" /></figure><h4>What both stories have in common</h4><p>Put the two incidents side by side and the pattern is hard to miss:</p><ul><li><strong>One small thing started it.</strong> A single command at Facebook. A single misconfiguration at Capital One.</li><li><strong>The design amplified it.</strong> Facebook’s DNS safety feature turned a network problem into a total outage. Capital One’s weak risk processes let a misconfiguration go unnoticed for months.</li><li><strong>Recovery was slow.</strong> Facebook’s engineers were locked out of their own tools. Capital One didn’t know it had been breached until someone told them.</li></ul><p>None of it came down to a lack of advanced services. It came down to fundamentals: understanding how your systems connect, who can get in, and how you’d know if something went wrong.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pUaC_q5TUClxr1vA_muVBA.png" /></figure><h4>What I’m not chasing (yet)</h4><p>It’s tempting to jump straight to the shiny stuff: AI services, Kubernetes, another certification. I’ve parked all of it, on purpose.</p><p>Every one of those sits on top of the same foundations. If I don’t understand how traffic moves, how names resolve and how access is controlled, adding more services just adds more places for things to go wrong. Learn the foundations properly, and the rest comes faster and makes more sense.</p><h4>Next week</h4><p>More building on the basics, and more asking <em>why</em>. I’ll be sharing what I learn, what I build and what breaks along the way.</p><p>If you’re on a similar journey, or you’re hiring cloud engineers who care about getting the fundamentals right, I’d love to connect.</p><p><em>Levelling up with Cloud Engineer Academy.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e16c3f559795" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>