<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Debapriya Dey</title>
    <description>The latest articles on DEV Community by Debapriya Dey (@debapriya_dey_aada54b7766).</description>
    <link>https://dev.to/debapriya_dey_aada54b7766</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3629352%2Fc2df7286-c4fc-4673-8f29-762200a23f13.jpg</url>
      <title>DEV Community: Debapriya Dey</title>
      <link>https://dev.to/debapriya_dey_aada54b7766</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/debapriya_dey_aada54b7766"/>
    <language>en</language>
    <item>
      <title>Know Before You Cut Over: Building a Migration Readiness Checker</title>
      <dc:creator>Debapriya Dey</dc:creator>
      <pubDate>Mon, 09 Nov 2026 18:33:05 +0000</pubDate>
      <link>https://dev.to/debapriya_dey_aada54b7766/know-before-you-cut-over-building-a-migration-readiness-checker-3hgj</link>
      <guid>https://dev.to/debapriya_dey_aada54b7766/know-before-you-cut-over-building-a-migration-readiness-checker-3hgj</guid>
      <description>&lt;p&gt;&lt;em&gt;Turning platform migration guidance into an automated risk report&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;Many organisations run their applications on an internal developer platform built on top of a public cloud and Kubernetes. The platform gives product teams a paved road: clusters, networking, ingress, monitoring, and security scanning out of the box.&lt;/p&gt;

&lt;p&gt;Sooner or later, that platform needs a new generation. When it arrives, every product has to move, and the old platform gets a fixed shutdown date. Teams have to migrate while still shipping features.&lt;/p&gt;

&lt;p&gt;A typical next-generation platform changes how teams own, configure, and secure their workloads:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Area&lt;/th&gt;
&lt;th&gt;Old platform&lt;/th&gt;
&lt;th&gt;New platform&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cloud account&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A resource group per team&lt;/td&gt;
&lt;td&gt;A dedicated cloud subscription per team, with more control&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Management&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A YAML configuration file in each repo&lt;/td&gt;
&lt;td&gt;A self-service portal&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Network &amp;amp; security&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;One shared network&lt;/td&gt;
&lt;td&gt;Redesigned network; outgoing traffic can be restricted per namespace&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Ingress&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;ingress-nginx&lt;/td&gt;
&lt;td&gt;Traefik, since ingress-nginx has been retired by the Kubernetes community&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Security tooling&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Trivy vulnerability reports&lt;/td&gt;
&lt;td&gt;Wiz vulnerability reports&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The platform team usually publishes a good migration guide. Teams read it. Then cutovers start, and things break anyway.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why cutovers fail
&lt;/h2&gt;

&lt;p&gt;The failures are rarely exotic. They are the same small problems, over and over:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ingress rules stop working.&lt;/strong&gt; An ingress relies on an nginx-specific annotation, such as a URL rewrite. Traefik ignores it without complaint, and users start getting 404s.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Outgoing calls get blocked.&lt;/strong&gt; A service calls a payment provider or an external API. The new per-namespace egress policy blocks it because nobody listed that destination.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pods get evicted.&lt;/strong&gt; Containers without resource limits are scheduled unpredictably on the new cluster and are first in line when nodes come under pressure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DNS names don't resolve.&lt;/strong&gt; Hardcoded hostnames point at the old platform.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retries make things worse.&lt;/strong&gt; Clients with no backoff turn a brief dependency blip into a retry storm.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;There's no way back.&lt;/strong&gt; Nobody wrote down how to roll back.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every one of these is usually covered somewhere in the migration guide. The guide isn't the problem. The problem is expecting dozens of teams to audit their own config by hand against a long document, under deadline pressure.&lt;/p&gt;

&lt;p&gt;If the guidance can be written down, it can be checked automatically.&lt;/p&gt;

&lt;h2&gt;
  
  
  The solution: a Migration Readiness Checker
&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;Migration Readiness Checker&lt;/strong&gt; reads a workload's configuration, checks it against the platform team's migration guidance, and returns a &lt;strong&gt;risk report before cutover&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It works like a pre-flight checklist that runs itself. Teams don't each have to interpret the guide on their own. The checker audits the config and reports what will break, what might break, and what is still undecided.&lt;/p&gt;

&lt;h3&gt;
  
  
  What it reads
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Kubernetes manifests and Helm charts&lt;/strong&gt;: Deployments, StatefulSets, Services, Ingresses, HPAs, PodDisruptionBudgets&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Legacy platform config&lt;/strong&gt;: the old YAML configuration file, so it can flag settings that need to move into the self-service portal&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Application config&lt;/strong&gt;: environment variables and config maps holding endpoints, timeouts, and retry settings&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A migration plan file&lt;/strong&gt;: a short, team-owned file describing the cutover window, owners, and rollback steps&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What it checks
&lt;/h3&gt;

&lt;p&gt;Every check maps to a section of the migration guide and to a real cutover risk.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Resource limits&lt;/strong&gt;&lt;br&gt;
Every container should declare CPU and memory requests and limits. Without them, scheduling on the new cluster is unpredictable and pods risk eviction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Pre-scaling&lt;/strong&gt;&lt;br&gt;
New clusters and fresh nodes need time to warm up. The checker confirms there's a pre-scaling plan for cutover: either an HPA minimum high enough to absorb traffic, or a planned replica increase during the migration window.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. DNS names&lt;/strong&gt;&lt;br&gt;
It scans config for hardcoded hostnames, cluster-internal names, and endpoints tied to the old platform. Anything that won't resolve after the move, or will resolve somewhere unexpected, is flagged.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Retry settings&lt;/strong&gt;&lt;br&gt;
Dependencies blink during cutover. The checker looks for sensible client timeouts, bounded retries with backoff, and idempotency where a retry could duplicate work. It flags both extremes: no retries, and unbounded retries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Rollback plan&lt;/strong&gt;&lt;br&gt;
A cutover without a rollback plan is a one-way door. The checker requires documented trigger conditions, steps, an owner, and an expected duration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Platform-specific checks&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ingress&lt;/strong&gt;: detects ingress-nginx annotations and ingress classes, and lists what needs a Traefik equivalent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Egress&lt;/strong&gt;: collects every outbound destination the workload talks to, so teams can set up namespace egress rules &lt;em&gt;before&lt;/em&gt; traffic gets blocked.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Config ownership&lt;/strong&gt;: maps each setting in the legacy config file to its equivalent in the portal and flags anything without a clear home.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Subscription scope&lt;/strong&gt;: highlights references to resource-group-scoped cloud resources that need to move into the team's new subscription.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security scanning&lt;/strong&gt;: checks that pipelines have Wiz reporting wired up and aren't still depending only on Trivy output.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;


&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
    A[Workload repo&amp;lt;br/&amp;gt;manifests, Helm, legacy config,&amp;lt;br/&amp;gt;app config, migration plan] --&amp;gt; B[Parsers]
    B --&amp;gt; C[Normalized workload model]
    D[Migration rules&amp;lt;br/&amp;gt;from platform guidance] --&amp;gt; E[Rule engine]
    C --&amp;gt; E
    E --&amp;gt; F[Risk report&amp;lt;br/&amp;gt;Markdown + JSON]
    F --&amp;gt; G[PR comment / CI gate]
    F --&amp;gt; H[Platform dashboard]&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;The design keeps three concerns separate:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Parsers&lt;/strong&gt; turn many config formats into one normalized model of the workload.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rules&lt;/strong&gt; live as code and are versioned alongside the migration guide. When the guide changes, the rules change in the same pull request.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reporters&lt;/strong&gt; produce output for humans (a Markdown report on the pull request) and machines (JSON for dashboards and CI gates).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Rules are short and readable:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;RES-001&lt;/span&gt;
  &lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Containers must declare resource limits&lt;/span&gt;
  &lt;span class="na"&gt;severity&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;high&lt;/span&gt;
  &lt;span class="na"&gt;applies_to&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;Deployment&lt;/span&gt;&lt;span class="pi"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;StatefulSet&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;check&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;every container has resources.requests and resources.limits for cpu and memory&lt;/span&gt;
  &lt;span class="na"&gt;why&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Pods without limits are scheduled unpredictably on new clusters and risk eviction.&lt;/span&gt;
  &lt;span class="na"&gt;fix&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Add requests and limits based on observed usage from the last 30 days.&lt;/span&gt;
  &lt;span class="na"&gt;guide_ref&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;migration-guide#resources&lt;/span&gt;

&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ING-002&lt;/span&gt;
  &lt;span class="na"&gt;title&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ingress-nginx annotations need a Traefik equivalent&lt;/span&gt;
  &lt;span class="na"&gt;severity&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;high&lt;/span&gt;
  &lt;span class="na"&gt;applies_to&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;Ingress&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;check&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;no annotations with prefix nginx.ingress.kubernetes.io/&lt;/span&gt;
  &lt;span class="na"&gt;why&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;The new platform uses Traefik. These annotations will be silently ignored.&lt;/span&gt;
  &lt;span class="na"&gt;fix&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Replace with a Traefik middleware or IngressRoute.&lt;/span&gt;
  &lt;span class="na"&gt;guide_ref&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;migration-guide#ingress&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each rule carries a &lt;em&gt;why&lt;/em&gt;, a &lt;em&gt;fix&lt;/em&gt;, and a link back to the guide. A report that just says "failed" invites arguments. A report that explains the risk and the remedy gets acted on.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture and technology choices
&lt;/h2&gt;

&lt;p&gt;The checker has one firm rule: &lt;strong&gt;deterministic checks decide pass or fail, and AI only helps with the fuzzy parts.&lt;/strong&gt; A readiness gate has to give the same answer twice and be easy to audit. An AI model is useful for explaining findings and handling messy input, but it shouldn't decide whether a cutover is safe.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TB
    subgraph Trigger["Trigger"]
        PR["Pull request"]
        SCHED["Scheduled fleet scan"]
    end

    subgraph Collect["1. Collect and render"]
        GIT["Fetch workload repo"]
        RENDER["Render manifests&amp;lt;br/&amp;gt;helm template / kustomize build"]
        REDACT["Redact secrets and&amp;lt;br/&amp;gt;sensitive values"]
    end

    subgraph Normalize["2. Normalize"]
        PARSE["Parsers&amp;lt;br/&amp;gt;K8s, legacy YAML,&amp;lt;br/&amp;gt;app config, migration plan"]
        MODEL["Normalized workload model&amp;lt;br/&amp;gt;JSON"]
    end

    subgraph Check["3. Deterministic checks"]
        OPA["Rule engine&amp;lt;br/&amp;gt;OPA / Conftest"]
        RULES[("Rule catalogue&amp;lt;br/&amp;gt;Rego + YAML metadata&amp;lt;br/&amp;gt;versioned with the guide")]
    end

    subgraph AI["4. AI assist (advisory only)"]
        RAG[("Migration guide index&amp;lt;br/&amp;gt;retrieval")]
        LLM["LLM&amp;lt;br/&amp;gt;structured JSON output"]
        VALIDATE["Schema validation"]
    end

    subgraph Report["5. Report"]
        MERGE["Merge findings"]
        MD["Markdown report&amp;lt;br/&amp;gt;PR comment"]
        JSON["JSON report"]
        GATE{"Any HIGH findings?"}
    end

    subgraph Consume["Consumers"]
        CI["CI gate&amp;lt;br/&amp;gt;block or allow cutover booking"]
        STORE[("Report store")]
        DASH["Fleet risk dashboard"]
    end

    PR --&amp;gt; GIT
    SCHED --&amp;gt; GIT
    GIT --&amp;gt; RENDER --&amp;gt; REDACT --&amp;gt; PARSE --&amp;gt; MODEL
    MODEL --&amp;gt; OPA
    RULES --&amp;gt; OPA
    OPA --&amp;gt;|findings| MERGE
    MODEL --&amp;gt;|unmapped config,&amp;lt;br/&amp;gt;free-text plans| LLM
    OPA --&amp;gt;|findings to explain| LLM
    RAG --&amp;gt; LLM
    LLM --&amp;gt; VALIDATE --&amp;gt;|suggestions| MERGE
    MERGE --&amp;gt; MD
    MERGE --&amp;gt; JSON
    JSON --&amp;gt; GATE --&amp;gt; CI
    JSON --&amp;gt; STORE --&amp;gt; DASH&lt;/code&gt;&lt;/pre&gt;



&lt;h3&gt;
  
  
  1. Collect and render
&lt;/h3&gt;

&lt;p&gt;The checker runs as a container in the CI pipeline, triggered on every pull request and on a nightly scan of all workloads. It fetches the workload repo and renders the final manifests with &lt;code&gt;helm template&lt;/code&gt; or &lt;code&gt;kustomize build&lt;/code&gt;. Checking rendered output matters: the values teams actually deploy often differ from chart defaults.&lt;/p&gt;

&lt;p&gt;Before anything else, a redaction step strips secret values, tokens, and connection strings. Only keys and structure are passed on. This keeps sensitive data out of logs and out of anything sent to an AI model.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Normalize
&lt;/h3&gt;

&lt;p&gt;Small parsers, written in Python, read each input format and produce one &lt;strong&gt;normalized workload model&lt;/strong&gt; in JSON: containers, resources, scaling, ingress routes, outbound endpoints, retry settings, and the rollback plan. Every downstream component works from this model, so adding a new input format never touches the rules.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Deterministic checks: OPA and Conftest
&lt;/h3&gt;

&lt;p&gt;Rules are written in &lt;strong&gt;Rego&lt;/strong&gt; and run with &lt;strong&gt;Open Policy Agent&lt;/strong&gt; through &lt;strong&gt;Conftest&lt;/strong&gt;, a widely used policy-as-code approach for Kubernetes configuration. Each Rego rule is paired with YAML metadata (severity, why, fix, guide reference) like the examples above.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight rego"&gt;&lt;code&gt;&lt;span class="ow"&gt;package&lt;/span&gt; &lt;span class="n"&gt;migration&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ingress&lt;/span&gt;

&lt;span class="ow"&gt;import&lt;/span&gt; &lt;span class="n"&gt;rego&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;v1&lt;/span&gt;

&lt;span class="n"&gt;deny&lt;/span&gt; &lt;span class="n"&gt;contains&lt;/span&gt; &lt;span class="n"&gt;msg&lt;/span&gt; &lt;span class="n"&gt;if&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;kind&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"Ingress"&lt;/span&gt;
    &lt;span class="ow"&gt;some&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;annotations&lt;/span&gt;
    &lt;span class="n"&gt;startswith&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"nginx.ingress.kubernetes.io/"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;msg&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="n"&gt;sprintf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"ING-002: %s uses %s"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Rules are unit-tested with &lt;code&gt;opa test&lt;/code&gt; and versioned in the same repository as the migration guide. A change to the guide and its rule ship in one pull request.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. AI assist: advisory only
&lt;/h3&gt;

&lt;p&gt;A large language model handles the work that rules can't do well:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Task&lt;/th&gt;
&lt;th&gt;Why rules struggle&lt;/th&gt;
&lt;th&gt;What the model does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Explaining findings&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Generic fix text doesn't fit every workload&lt;/td&gt;
&lt;td&gt;Writes a short, workload-specific explanation and fix&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Mapping legacy config&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Old settings don't always map one-to-one to portal options&lt;/td&gt;
&lt;td&gt;Suggests the closest portal equivalent, with the relevant guide section&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Traefik suggestions&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;nginx annotations vary widely, and some combine several behaviours&lt;/td&gt;
&lt;td&gt;Drafts a Traefik middleware or IngressRoute snippet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reading migration plans&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Rollback plans are often free text&lt;/td&gt;
&lt;td&gt;Extracts trigger, steps, owner, and duration into structured fields&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Guardrails keep it safe and predictable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Grounded in the guide.&lt;/strong&gt; The migration guide is indexed for retrieval, and every prompt includes the relevant sections. Suggestions must cite a guide section.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structured output only.&lt;/strong&gt; The model returns JSON that is validated against a schema. Anything invalid is dropped, and the deterministic finding still stands.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never decides pass or fail.&lt;/strong&gt; AI output is labelled as a suggestion in the report and can't change a severity or clear a finding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Redacted input.&lt;/strong&gt; The model only sees the redacted workload model, never raw secrets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model-agnostic.&lt;/strong&gt; Any hosted LLM with structured output works. On an Azure-based platform, a model hosted in the company's own Azure tenant keeps data inside existing boundaries.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The checker still works with the AI step turned off. Teams just get the standard why and fix text instead of tailored suggestions.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Report and consume
&lt;/h3&gt;

&lt;p&gt;Deterministic findings and AI suggestions are merged into two outputs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;Markdown report&lt;/strong&gt;, posted as a pull request comment.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;JSON report&lt;/strong&gt;, used by the CI gate (any high-severity finding blocks booking a cutover window) and stored for the fleet dashboard.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Technology summary
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Choice&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Runtime&lt;/td&gt;
&lt;td&gt;Container image run in CI and as a scheduled job&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rendering&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;helm template&lt;/code&gt;, &lt;code&gt;kustomize build&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Parsing and orchestration&lt;/td&gt;
&lt;td&gt;Python&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Policy engine&lt;/td&gt;
&lt;td&gt;Open Policy Agent with Conftest, rules in Rego&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rule tests&lt;/td&gt;
&lt;td&gt;&lt;code&gt;opa test&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI assist&lt;/td&gt;
&lt;td&gt;Hosted LLM with structured JSON output, retrieval over the migration guide&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Outputs&lt;/td&gt;
&lt;td&gt;Markdown (PR comment), JSON (CI gate, report store)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dashboard&lt;/td&gt;
&lt;td&gt;Any BI or observability tool reading the stored JSON reports&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What the risk report looks like
&lt;/h2&gt;

&lt;p&gt;A report for a typical billing service, a few weeks before cutover:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Migration Readiness Report: billing-service
Target: new platform
Overall risk: HIGH   (2 high, 3 medium, 1 low)

HIGH
  ING-002  Ingress uses nginx.ingress.kubernetes.io/rewrite-target
           → Recreate as a Traefik middleware before cutover.
  RBK-001  No rollback plan found in migration-plan.yaml
           → Document trigger, steps, owner and expected duration.

MEDIUM
  NET-003  Outbound calls to 3 external hosts not covered by an egress rule
           → Add them to the namespace egress allow-list in the portal.
  RTY-002  HTTP client for the ledger service retries without backoff (max 10)
           → Use exponential backoff and cap retries at 3.
  SCL-001  HPA minReplicas=2; peak traffic suggests at least 6 during cutover
           → Pre-scale for the migration window.

LOW
  DNS-004  Config references an old-platform hostname in an unused block
           → Remove to avoid confusion.

Passed: 14 checks (resource limits, PDB, liveness/readiness probes, ...)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A team can read this in two minutes. It shows what blocks the cutover, what to fix this sprint, and what can wait.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it fits in the workflow
&lt;/h2&gt;

&lt;p&gt;The checker is most useful early and often, not as a last-minute gate:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Discovery&lt;/strong&gt;: one run across all workloads gives the platform team a heat map of migration risk by team, so support goes where it's needed most.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Preparation&lt;/strong&gt;: the checker runs on every pull request, so teams see their score improve as they fix findings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Before cutover&lt;/strong&gt;: a report with no high-severity findings is required before a migration window can be booked.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;After cutover&lt;/strong&gt;: the final report is archived as part of the migration record.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Design principles
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Guidance as code.&lt;/strong&gt; Every rule traces back to a section of the migration guide. If it can't, it doesn't belong.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explain, don't just judge.&lt;/strong&gt; Every finding says why it matters and how to fix it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Severity means cutover risk.&lt;/strong&gt; "High" means "this will likely break during migration," not "this isn't best practice."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Allow justified exceptions.&lt;/strong&gt; Teams can suppress a finding with a reason and an owner. Exceptions stay visible in the report.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read-only by default.&lt;/strong&gt; The checker reads config and reports. It never changes a workload. Fixes stay with the team that owns the code.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;Natural extensions once the basic checker is in place:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Runtime signals&lt;/strong&gt;: combine static config with observed traffic to discover egress destinations and peak load automatically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auto-generated fixes&lt;/strong&gt;: propose Traefik equivalents for common nginx annotations as draft pull requests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Post-cutover verification&lt;/strong&gt;: run the same checks against live deployments on the new platform to catch drift.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Closing thought
&lt;/h2&gt;

&lt;p&gt;Platform migrations rarely fail because of one big problem. They fail because of a dozen small ones that each looked fine on their own. Platform teams already know what those problems are and have written them down. A Migration Readiness Checker turns that knowledge into something every team can run in seconds, long before the cutover window opens.&lt;/p&gt;

&lt;p&gt;If your platform has a shutdown date on the calendar, the best time to find out what will break is now.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>cloud</category>
      <category>devops</category>
      <category>kubernetes</category>
    </item>
    <item>
      <title>WAFR Automation Toolkit</title>
      <dc:creator>Debapriya Dey</dc:creator>
      <pubDate>Mon, 31 Aug 2026 08:36:01 +0000</pubDate>
      <link>https://dev.to/debapriya_dey_aada54b7766/wafr-automation-toolkit-3ckj</link>
      <guid>https://dev.to/debapriya_dey_aada54b7766/wafr-automation-toolkit-3ckj</guid>
      <description>&lt;h2&gt;
  
  
  The Problem: A Real Customer Story
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The Situation
&lt;/h3&gt;

&lt;p&gt;A large enterprise customer, operating a multi-service AWS environment, approached Storm Reply for an AWS Well-Architected Framework Review. The goal was straightforward: understand where their cloud architecture stood against AWS best practices and identify the most critical risks to address.&lt;/p&gt;

&lt;p&gt;What wasn't straightforward was the scale of the review itself.&lt;/p&gt;

&lt;p&gt;A full Well-Architected Framework Review spans &lt;strong&gt;six pillars&lt;/strong&gt;, &lt;strong&gt;~60+ questions&lt;/strong&gt;, and &lt;strong&gt;hundreds of individual best-practice choices&lt;/strong&gt; — each requiring evidence from the customer's AWS environment to justify a &lt;code&gt;yes&lt;/code&gt;, &lt;code&gt;no&lt;/code&gt;, or &lt;code&gt;not applicable&lt;/code&gt; answer. For the reviewer, this meant:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Logging into the customer's AWS account and manually running dozens of CLI commands across multiple services&lt;/li&gt;
&lt;li&gt;Cross-referencing outputs against AWS documentation to determine whether a practice was actually in place&lt;/li&gt;
&lt;li&gt;Writing detailed justification notes for every answered question&lt;/li&gt;
&lt;li&gt;Repeating this across all six pillars before a single answer could be submitted to the Well-Architected Tool&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In practice, a thorough WAFR was taking &lt;strong&gt;several days of consultant time&lt;/strong&gt; — most of it spent on repetitive, low-judgement tasks like running &lt;code&gt;aws guardduty list-detectors&lt;/code&gt; or checking whether Multi-AZ was enabled on RDS instances.&lt;/p&gt;

&lt;h3&gt;
  
  
  What the Review Found
&lt;/h3&gt;

&lt;p&gt;When the review was finally completed, the findings painted a clear picture of risk. The customer's environment had several high-priority gaps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Identity and Access Management&lt;/strong&gt; — excessive permissions and no consistent enforcement of least-privilege principles, creating significant unauthorized access risk (Business Risk Score: 72/100)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Single Points of Failure&lt;/strong&gt; — critical components deployed without redundancy or failover, leaving the architecture vulnerable to outages (Business Risk Score: 64)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud Financial Management&lt;/strong&gt; — no formal FinOps practice, no cost governance processes, and uncontrolled resource sprawl leading to significant overspend (Business Risk Score: 64)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Operational Excellence gaps&lt;/strong&gt; — no structured process for learning from incidents or continuously improving operations (Business Risk Score: 56)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incomplete data encryption in transit&lt;/strong&gt; — not all services enforcing TLS, leaving data transfers exposed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These weren't surprises. But the time it took to surface them — and the manual effort required to document them — was the real problem.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Deeper Challenge
&lt;/h3&gt;

&lt;p&gt;Beyond the time cost, there was a quality and consistency problem. Different reviewers, reviewing similar environments, would ask the same CLI commands but interpret the outputs differently. Notes were written inconsistently. Some choices were skipped under time pressure. The final report quality depended heavily on the individual consultant's experience and thoroughness.&lt;/p&gt;

&lt;p&gt;There was also no way to efficiently reuse knowledge across engagements. If a customer had already confirmed "yes, we have a FinOps team" in a previous conversation, there was no structured way to carry that forward into the review tool.&lt;/p&gt;




&lt;h2&gt;
  
  
  What We Built to Solve It
&lt;/h2&gt;

&lt;p&gt;The WAFR Automation Toolkit was designed to tackle this problem directly. The core idea: &lt;strong&gt;eliminate the manual, API-checkable work entirely, so consultants can focus their time on the judgement calls that actually require human expertise&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Automated Evidence Gathering
&lt;/h3&gt;

&lt;p&gt;Instead of a consultant manually running commands, the tool runs them automatically. For each of the hundreds of best-practice choices across all six pillars, we mapped the right AWS CLI, Prowler, or Steampipe command to gather evidence. The tool executes these in parallel against the customer's account and collects the raw output.&lt;/p&gt;

&lt;p&gt;For the IAM gaps found in the customer review above, for example, the tool automatically runs permission checks, checks for multi-account separation via AWS Organizations, and verifies whether IAM Access Analyzer is enabled — without the reviewer touching a terminal.&lt;/p&gt;

&lt;h3&gt;
  
  
  AI-Assisted Verdict Engine
&lt;/h3&gt;

&lt;p&gt;Raw command output is not always a clear &lt;code&gt;pass&lt;/code&gt; or &lt;code&gt;fail&lt;/code&gt;. The tool applies a two-stage evaluation:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Fast heuristic rules&lt;/strong&gt; — pattern matching for obvious signals like "not enabled", empty resource lists, or Steampipe &lt;code&gt;alarm&lt;/code&gt; rows. These cover the majority of cases instantly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS Bedrock (Claude)&lt;/strong&gt; — when the heuristic can't decide, the raw output is sent to Claude Haiku along with the choice title and context. Claude returns a structured &lt;code&gt;PASS&lt;/code&gt;, &lt;code&gt;FAIL&lt;/code&gt;, or &lt;code&gt;PARTIAL&lt;/code&gt; verdict with its reasoning. This handles the ambiguous cases that previously required a consultant to interpret manually.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Claude also drafts the per-question Notes automatically — 2–4 sentence reviewer-voice summaries that get submitted directly to the Well-Architected Tool. Notes that used to take 10 minutes each to write are now generated in seconds and edited, not authored, by the reviewer.&lt;/p&gt;

&lt;h3&gt;
  
  
  Prowler Integration
&lt;/h3&gt;

&lt;p&gt;For Security and Reliability pillars, the tool runs Prowler's official WAFR compliance frameworks automatically and maps results directly to WAFR choice IDs. This covers a significant portion of the security findings — like the IAM and encryption gaps identified in the customer review — without any manual effort.&lt;/p&gt;

&lt;h3&gt;
  
  
  Customer Profile Presets
&lt;/h3&gt;

&lt;p&gt;Not everything in a WAFR can be checked via API. Does the customer have a FinOps team? Is there a formal incident response process? An Architecture Review Board?&lt;/p&gt;

&lt;p&gt;These questions came up repeatedly in the customer engagement described above — and there was no automated way to answer them. The toolkit solves this with &lt;strong&gt;Customer Profile Presets&lt;/strong&gt;: a structured form that captures organisational attributes once, maps them to the relevant WAFR choices, and applies them automatically to every scan. Presets are reusable across multiple reviews for the same customer.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Result
&lt;/h3&gt;

&lt;p&gt;What previously took several days of a consultant's time can now be completed in a fraction of that. The reviewer enters credentials, runs the scan, spends time reviewing and adjusting the AI-generated answers, and submits — all from one interface. The quality is consistent, the evidence is traceable, and the notes are written.&lt;/p&gt;

&lt;p&gt;The toolkit doesn't replace the consultant's judgement. It removes the work that doesn't require it.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is this tool?
&lt;/h2&gt;

&lt;p&gt;The WAFR Automation Toolkit is a local web application that automates AWS Well-Architected Framework Reviews (WAFRs). It takes a reviewer from raw AWS credentials all the way to submitted answers in the AWS Well-Architected Tool — with automated evidence gathering, AI-assisted evaluation, and minimal manual effort along the way.&lt;/p&gt;

&lt;p&gt;A traditional WAFR involves manually checking hundreds of AWS configurations across six pillars and writing detailed justification notes for each answer. This tool automates the majority of that work by scanning the customer's AWS environment directly, evaluating the findings using a mix of rule-based heuristics and AI (AWS Bedrock / Claude), and pre-populating answers in the AWS Well-Architected Tool on behalf of the reviewer.&lt;/p&gt;




&lt;h2&gt;
  
  
  Who is it for?
&lt;/h2&gt;

&lt;p&gt;This tool is designed for &lt;strong&gt;Storm Reply consultants&lt;/strong&gt; conducting Well-Architected Framework Reviews on behalf of customers. It requires:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A valid &lt;code&gt;@reply.*&lt;/code&gt; email address to log in&lt;/li&gt;
&lt;li&gt;Temporary AWS credentials for the &lt;strong&gt;customer account&lt;/strong&gt; being reviewed&lt;/li&gt;
&lt;li&gt;An AWS profile (SSO or standard) for the &lt;strong&gt;reviewer's own account&lt;/strong&gt;, where the Well-Architected Tool workloads are managed&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  How does it work? (High-Level Flow)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Log in (Storm Reply email)
         ↓
2. Enter customer AWS credentials
         ↓
3. Validate credentials + check IAM permissions
         ↓
4. Run automated scans across all 6 WAFR pillars
   ├── Prowler compliance framework scans
   ├── AWS CLI commands per choice
   ├── Steampipe topology detection
   ├── Local code scanning (optional)
   └── AI evaluation via AWS Bedrock (Claude)
         ↓
5. Review auto-populated answers in the UI
         ↓
6. Submit finalised answers to the AWS Well-Architected Tool
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Core Concepts
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Dual-Account Model
&lt;/h3&gt;

&lt;p&gt;The tool operates across two AWS accounts:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Account&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;th&gt;How credentials are provided&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Customer account&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The AWS environment being reviewed&lt;/td&gt;
&lt;td&gt;Pasted into the UI as temporary credentials (access key, secret, session token). Held in memory only — never written to disk.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reviewer account&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Where the Well-Architected Tool workload lives&lt;/td&gt;
&lt;td&gt;Resolved automatically from the local AWS profile/SSO chain. Never entered in the UI.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;AWS Bedrock (for AI evaluation) also uses the reviewer's local credentials.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Six WAFR Pillars
&lt;/h3&gt;

&lt;p&gt;The tool covers all six standard Well-Architected pillars:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Operational Excellence&lt;/li&gt;
&lt;li&gt;Security&lt;/li&gt;
&lt;li&gt;Reliability&lt;/li&gt;
&lt;li&gt;Performance Efficiency&lt;/li&gt;
&lt;li&gt;Cost Optimisation&lt;/li&gt;
&lt;li&gt;Sustainability&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Each pillar contains multiple questions, and each question contains multiple best-practice choices. The tool evaluates every choice independently and produces a &lt;code&gt;PASS&lt;/code&gt;, &lt;code&gt;FAIL&lt;/code&gt;, or &lt;code&gt;PARTIAL&lt;/code&gt; verdict.&lt;/p&gt;

&lt;h3&gt;
  
  
  How Choices are Evaluated
&lt;/h3&gt;

&lt;p&gt;For each best-practice choice, the tool applies a priority-ordered evaluation chain:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Prowler&lt;/strong&gt; — If Prowler's WAFR compliance framework already assessed this choice during its scan, that verdict is used first. Prowler is run once per scan (for Security and Reliability) and covers a significant portion of choices automatically.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;CLI commands&lt;/strong&gt; — For choices not covered by Prowler, the tool runs targeted &lt;code&gt;aws-cli&lt;/code&gt; or &lt;code&gt;steampipe&lt;/code&gt; commands against the customer account. Outputs are evaluated using:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Heuristic rules first&lt;/strong&gt; — fast pattern matching for common signals (permission errors, empty results, "not enabled" responses, Steampipe alarm/ok rows).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS Bedrock (Claude Haiku) as fallback&lt;/strong&gt; — when the heuristic can't reach a clear verdict, the raw command output is sent to Claude with the choice title and context, and the AI returns a structured &lt;code&gt;PASS&lt;/code&gt;/&lt;code&gt;FAIL&lt;/code&gt;/&lt;code&gt;PARTIAL&lt;/code&gt; decision with reasoning.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Code scan&lt;/strong&gt; — For a small number of Reliability choices that are invisible to AWS API scanning (e.g., idempotency patterns, circuit breakers, client timeouts), the tool optionally scans a local source code repository for relevant patterns.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Customer preset&lt;/strong&gt; — Organisational attributes that can't be verified via any API (e.g., does a FinOps team exist? Is there a formal incident response process?) are captured as a reusable "customer profile preset" and used as a fallback for applicable choices.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Topology detection&lt;/strong&gt; — A background Steampipe query maps the customer's workload topology (ECS, EKS, Lambda, RDS, DynamoDB, CloudFront, Direct Connect, etc.) and is used as a hint for topology-gated choices (e.g., a reliability check about VPN/Direct Connect only applies if the workload actually uses them).&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  The Application (Page by Page)
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Login
&lt;/h3&gt;

&lt;p&gt;A simple login gate using a Storm Reply email address (&lt;code&gt;@reply.*&lt;/code&gt; domain). No password — this is a local-only tool for internal use.&lt;/p&gt;

&lt;h3&gt;
  
  
  Credentials
&lt;/h3&gt;

&lt;p&gt;Enter the customer's temporary AWS credentials (Access Key ID, Secret Access Key, Session Token) and the AWS regions to scan. On submission, the tool validates the credentials via STS and silently checks which IAM actions are permitted — so that scans can skip checks gracefully where access is denied, rather than failing noisily.&lt;/p&gt;

&lt;h3&gt;
  
  
  Review (Overview)
&lt;/h3&gt;

&lt;p&gt;The main dashboard. Shows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Overall review progress (questions answered vs. total)&lt;/li&gt;
&lt;li&gt;Evaluation method breakdown (how many choices were assessed by Prowler, heuristic, LLM, preset, or code scan)&lt;/li&gt;
&lt;li&gt;Per-pillar status cards&lt;/li&gt;
&lt;li&gt;Buttons to scan all pillars at once or individually&lt;/li&gt;
&lt;li&gt;Controls to apply a customer preset and optionally provide a local code repository path for code scanning&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pillar Detail
&lt;/h3&gt;

&lt;p&gt;Drill into any pillar to see all questions and their choices. Each choice shows its scan result badge, the raw command output, and the AI's reasoning. PASS choices are auto-selected. Reviewers can manually override selections, toggle "Does not apply" for irrelevant choices (with a reason), and edit the AI-drafted question notes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Create / Update Workload
&lt;/h3&gt;

&lt;p&gt;Connect to an existing Well-Architected Tool workload or create a new one. Submit all reviewed answers and AI-drafted notes directly to the AWS Well-Architected Tool API in one click.&lt;/p&gt;

&lt;h3&gt;
  
  
  Presets
&lt;/h3&gt;

&lt;p&gt;Create and manage reusable customer profile presets. Each preset captures organisational attributes (e.g., whether a SecOps team, FinOps team, or Architecture Review Board exists) and maps them to specific WAFR choices that can't be verified via AWS APIs. Presets are stored locally and can be reused across multiple reviews for the same customer.&lt;/p&gt;




&lt;h2&gt;
  
  
  Additional Components
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Prowler-as-a-Service
&lt;/h3&gt;

&lt;p&gt;A cloud-native extension that runs Prowler as an ephemeral ECS Fargate task rather than locally. It is triggered via API Gateway → Lambda, assumes a read-only cross-account IAM role in the customer account, runs the Prowler scan, and stores results in an encrypted S3 bucket. A companion Python script can auto-update Well-Architected Tool answers from the CSV output. This component has its own Terraform infrastructure and Streamlit UI.&lt;/p&gt;

&lt;h3&gt;
  
  
  Steampipe / Powerpipe Mod
&lt;/h3&gt;

&lt;p&gt;A standalone Powerpipe mod that provides 200+ automated WAFR checks as interactive dashboards (accessible via browser) or CLI benchmarks. Reviewers can run it independently for a deeper visual assessment, separate from the main toolkit scan flow.&lt;/p&gt;




&lt;h2&gt;
  
  
  Technology Stack
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;React, TypeScript, Vite, Tailwind CSS, Zustand&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;Node.js, Express, TypeScript&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AWS SDK&lt;/td&gt;
&lt;td&gt;AWS SDK v3 (JavaScript)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI / LLM&lt;/td&gt;
&lt;td&gt;AWS Bedrock — Claude Haiku (cross-region inference)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scanning&lt;/td&gt;
&lt;td&gt;Prowler 5.x, Steampipe, AWS CLI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;Terraform / OpenTofu (ECS Fargate, ECR, VPC, S3, IAM)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CI/CD&lt;/td&gt;
&lt;td&gt;GitLab CI (build → test → infrastructure validate → deploy)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Security Design
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Customer credentials are never persisted.&lt;/strong&gt; They are held in memory on the backend for the duration of the scan and stored in &lt;code&gt;sessionStorage&lt;/code&gt; on the frontend (cleared when the browser tab closes, unless "Stay signed in" is checked).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No credentials are written to disk or logged.&lt;/strong&gt; CLI commands receive credentials via environment variables injected into spawned processes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reviewer credentials are never entered in the UI.&lt;/strong&gt; The tool uses the local AWS credential chain (&lt;code&gt;fromNodeProviderChain&lt;/code&gt;) for Bedrock and the Well-Architected Tool API.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The backend only accepts connections from &lt;code&gt;localhost:5173&lt;/code&gt;&lt;/strong&gt; (the Vite frontend). It is not intended to be exposed to a network.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Running Locally
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Install all dependencies (frontend + backend)&lt;/span&gt;
npm &lt;span class="nb"&gt;install&lt;/span&gt;

&lt;span class="c"&gt;# Start both the frontend (port 5173) and backend (port 3001)&lt;/span&gt;
npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Environment variables (optional overrides):&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Variable&lt;/th&gt;
&lt;th&gt;Default&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;BEDROCK_MODEL_ID&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;eu.anthropic.claude-haiku-4-5-20251001-v1:0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Override the Bedrock model used for AI evaluation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;BEDROCK_REGION&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;eu-central-1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Region for Bedrock API calls&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;WAFR_REGION&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;eu-central-1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Region for the Well-Architected Tool API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;PORT&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;3001&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Backend server port&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Prerequisites:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Node.js 18+&lt;/li&gt;
&lt;li&gt;AWS CLI configured with a local profile/SSO for the reviewer account&lt;/li&gt;
&lt;li&gt;Prowler installed and available on &lt;code&gt;PATH&lt;/code&gt; (for Security + Reliability scans)&lt;/li&gt;
&lt;li&gt;Steampipe with the AWS plugin (for topology detection and some choice scans)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Project Structure
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;wafr-automation-toolkit-gas/
├── frontend/           React + TypeScript UI (Vite)
│   └── src/
│       ├── routes/     Pages: Login, Credentials, Review, PillarDetail, WafrCreate, Presets
│       ├── state/      Zustand stores (auth, credentials, scan, forms, presets, topology)
│       ├── api/        API client wrappers
│       └── components/ Shared UI components
├── backend/            Express + TypeScript API server
│   └── src/
│       ├── routes/     REST endpoints (sts, permissions, scanner, wafr, topology, presets)
│       └── services/   Core engines (scanner, evaluator, prowler, topology, codescan, notes)
├── mappings/           WAFR pillar-to-scanner mapping JSON files (one per pillar)
├── catalog/            Reference WAFR answer sets (default + LIE engagement baseline)
├── config/             Scanner configuration (scanners.yaml)
├── infra/              Terraform/OpenTofu for cloud-deployed infrastructure
├── prowler-as-a-service/  Cloud-native Prowler ECS runner (separate architecture)
├── steampipe/          Powerpipe/Steampipe mod for standalone WAFR dashboards
└── docker/             Dockerfile for ECS container image
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Key AWS Services Used
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;How it's used&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;STS&lt;/td&gt;
&lt;td&gt;Validate customer credentials (&lt;code&gt;GetCallerIdentity&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;IAM&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;SimulatePrincipalPolicy&lt;/code&gt; to check permissions before scanning&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AWS CLI (various)&lt;/td&gt;
&lt;td&gt;Targeted commands per WAFR choice across EC2, S3, RDS, Lambda, GuardDuty, CloudWatch, Cost Explorer, and more&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bedrock (Claude)&lt;/td&gt;
&lt;td&gt;Evaluate CLI output for verdict, judge code scan snippets, draft question notes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Steampipe&lt;/td&gt;
&lt;td&gt;Multi-service topology queries and individual choice assessments&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Prowler&lt;/td&gt;
&lt;td&gt;Full WAFR security and reliability compliance framework scans&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Well-Architected Tool&lt;/td&gt;
&lt;td&gt;Read/create workloads, submit final answers with notes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Direct Connect&lt;/td&gt;
&lt;td&gt;Topology detection — determines if the workload uses DX connections&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ECS / ECR / S3 / VPC / IAM&lt;/td&gt;
&lt;td&gt;Infrastructure for the Prowler-as-a-Service cloud deployment&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Reach Out to Us
&lt;/h2&gt;

&lt;p&gt;Interested in modernizing your cloud infrastructure and building enterprise-grade solutions? &lt;strong&gt;Storm Reply&lt;/strong&gt; is driven by continuous learning and practical innovation. We specialize in designing and delivering scalable AWS architectures that support customers throughout their cloud journey, from early assessment to production-ready deployment.&lt;/p&gt;

&lt;p&gt;With deep experience in AWS architecture, data engineering, and security best practices, we help enterprises migrate with confidence and move faster on their cloud transformation goals.&lt;/p&gt;

&lt;p&gt;Let’s connect and explore how we can support your modernization initiatives.&lt;/p&gt;

&lt;p&gt;🌐 &lt;strong&gt;Website:&lt;/strong&gt; &lt;a href="https://www.stormreply.cloud/" rel="noopener noreferrer"&gt;https://www.stormreply.cloud/&lt;/a&gt;&lt;br&gt;&lt;br&gt;
💼 &lt;strong&gt;LinkedIn:&lt;/strong&gt; &lt;a href="https://www.linkedin.com/company/storm-reply/posts/?feedView=all" rel="noopener noreferrer"&gt;https://www.linkedin.com/company/storm-reply/posts/?feedView=all&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Date:&lt;/strong&gt; August 2026&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>automation</category>
      <category>aws</category>
      <category>infrastructure</category>
    </item>
    <item>
      <title>From Guesswork to Evidence: How BotTalk Built a Systematic Approach to AI Model Selection</title>
      <dc:creator>Debapriya Dey</dc:creator>
      <pubDate>Thu, 27 Aug 2026 14:30:27 +0000</pubDate>
      <link>https://dev.to/debapriya_dey_aada54b7766/from-guesswork-to-evidence-how-bottalk-built-a-systematic-approach-to-ai-model-selection-45ao</link>
      <guid>https://dev.to/debapriya_dey_aada54b7766/from-guesswork-to-evidence-how-bottalk-built-a-systematic-approach-to-ai-model-selection-45ao</guid>
      <description>&lt;p&gt;&lt;strong&gt;Storm Reply · Generative AI · AWS · 2026&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;The digital publishing industry is undergoing a fundamental shift in how audiences consume news. Readers increasingly expect audio, not just articles read aloud, but engaging, podcast-style content that fits into their daily routines. For media platforms competing in this space, the ability to generate high-quality audio summaries at scale is becoming a decisive competitive advantage. The challenge is that AI models capable of doing this are proliferating rapidly, and choosing the wrong one, at scale, across hundreds of publishers, has a direct and compounding impact on listener engagement and editorial reputation.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;BotTalk is a Text-to-Speech platform built exclusively for digital publishers and media companies. With over 800 voices across 120+ languages, BotTalk converts written news into natural-sounding audio for publisher clients across Europe. As audience demand shifted toward richer formats, BotTalk expanded its offering to include podcast-style content summaries, conversational scripts that do not simply restate facts, but reframe news in a format a listener actually wants to hear.&lt;/p&gt;

&lt;p&gt;This created an immediate operational problem. The market for foundation models is crowded and fast-moving. New models are released regularly, each with different strengths, cost profiles, and behavioural tendencies. BotTalk needed to know, with confidence, which model produces the best podcast-style summaries from news articles. Not on a generic benchmark. On their content, against their editorial standards, for their publishers.&lt;/p&gt;

&lt;p&gt;The existing approach, manually testing models in a playground, reading outputs, forming opinions, could not answer that question reliably. It did not scale across content types or languages, produced results that varied by reviewer, and left no audit trail for decisions that directly affected publisher output quality. There was no repeatable process and no shared evidence base.&lt;/p&gt;

&lt;p&gt;BotTalk's requirements were clear:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Systematic comparison&lt;/strong&gt; of multiple foundation models against the same article and scenario&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Objective quality scoring&lt;/strong&gt; calibrated to podcast content, not generic text quality&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accessible results&lt;/strong&gt; for both technical and editorial stakeholders, without AWS expertise&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost control&lt;/strong&gt; given that every model invocation carries a direct Bedrock API cost&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repeatability&lt;/strong&gt; so the same experiment can be run as new models enter the market&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Solution
&lt;/h2&gt;

&lt;p&gt;Storm Reply designed and delivered a fully serverless AI evaluation pipeline on AWS, purpose-built to turn model selection from a subjective exercise into a structured, repeatable experiment.&lt;/p&gt;

&lt;p&gt;The core decision was to build around AWS Step Functions as the orchestration layer, giving BotTalk a transparent, auditable workflow with built-in checkpointing. If any step fails, intermediate results are preserved in Amazon S3 and the pipeline can resume without repeating expensive model invocations. This was a direct response to BotTalk's need for cost control and reliability at scale.&lt;/p&gt;

&lt;p&gt;For model access, Storm Reply chose Amazon Bedrock's Converse API over model-specific integrations. This decision was deliberate: a unified interface means BotTalk can add any new Bedrock model, Claude, Llama 3, Amazon Nova, DeepSeek R1, or whatever ships next, with a configuration change and no engineering work. The evaluation framework is future-proof by design.&lt;/p&gt;

&lt;p&gt;The pipeline operates as follows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Prompt optimisation&lt;/strong&gt; — A Prompt Agent powered by Amazon Bedrock refines the input instructions before any model is invoked, ensuring all models compete on equal footing under a well-structured prompt&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Parallel model invocation&lt;/strong&gt; — Multiple foundation models are called simultaneously via AWS Lambda using Python's ThreadPoolExecutor, reducing total experiment time to that of the slowest model rather than the sum of all&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI-powered scoring&lt;/strong&gt; — A dedicated LLM-as-Judge instance evaluates every output across five dimensions: Accuracy, Fluency, Completeness, Neutrality, and Prompt Compliance. The rubric is deliberately strict — scores above 95 are almost never awarded — to force genuine differentiation rather than clustering all outputs around an unhelpful median&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human-in-the-loop reporting&lt;/strong&gt; — Results are consolidated into a self-contained HTML comparison report delivered via a presigned S3 URL within seconds. Editorial and technical stakeholders review outputs side by side, see colour-coded scores, and make the final model selection — bringing human editorial judgment into the decision at exactly the right moment, without requiring any AWS expertise&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The entire stack — IAM roles, Lambda functions, Step Functions state machine, API Gateway, S3 buckets, and CloudWatch billing alarms — is codified in Terraform and deployable in a single command.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Achievements
&lt;/h2&gt;

&lt;p&gt;BotTalk moved from ad hoc playground testing to a structured, evidence-based model selection process within the project timeline of April to June 2026.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before:&lt;/strong&gt; Model selection relied on individual judgment, could not be repeated consistently, and produced no documented rationale. Editorial and technical teams had no shared framework for evaluating quality.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;After:&lt;/strong&gt; A single API call triggers a complete evaluation experiment. A clear comparison report is returned in seconds. Every decision is backed by scored, comparable data — with a human making the final call.&lt;/p&gt;

&lt;p&gt;Concrete outcomes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Human-in-the-loop at the right stage&lt;/strong&gt; — The pipeline automates everything up to the decision point. A clear comparison report is returned in seconds, giving editorial and technical stakeholders the scored evidence they need to make a confident, final model selection. Human judgment is preserved where it matters most — on the decision itself, not on running the experiment&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repeatable experiments&lt;/strong&gt; — The same evaluation can be run against any new model or content type with zero code changes, keeping BotTalk current as the Bedrock model catalogue evolves&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Editorial confidence&lt;/strong&gt; — Publisher-facing teams can now point to scored evidence when explaining model choices, strengthening BotTalk's credibility with its clients&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The project directly led to a Phase 2 engagement, in which Storm Reply extended the pipeline into audio quality assurance — automatically detecting mispronunciations in TTS output using Amazon Transcribe and Amazon Bedrock, reducing manual editorial review from 20+ flagged items per article to only the 2–3 genuine errors requiring human attention.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reach Out to Us
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Storm Reply is the AWS specialist within the Reply Group, supporting customers in designing and delivering scalable cloud and AI solutions — from early architecture through to production.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Interested in modernizing your cloud infrastructure and building enterprise-grade solutions? Storm Reply is driven by continuous learning and practical innovation. We specialize in designing and delivering scalable AWS architectures that support customers throughout their cloud journey, from early assessment to production-ready deployment.&lt;/p&gt;

&lt;p&gt;With deep experience in AWS architecture, data engineering, and security best practices, we help enterprises migrate with confidence and move faster on their cloud transformation goals.&lt;/p&gt;

&lt;p&gt;Let’s connect and explore how we can support your modernization initiatives.&lt;/p&gt;

&lt;p&gt;🌐 Website: &lt;a href="https://www.stormreply.cloud/" rel="noopener noreferrer"&gt;https://www.stormreply.cloud/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💼 LinkedIn: &lt;a href="https://www.linkedin.com/company/storm-reply/posts/?feedView=all" rel="noopener noreferrer"&gt;https://www.linkedin.com/company/storm-reply/posts/?feedView=all&lt;/a&gt;&lt;br&gt;
Date: January 2026&lt;/p&gt;

</description>
      <category>ai</category>
      <category>aws</category>
      <category>llm</category>
    </item>
    <item>
      <title>Building an AI Model Evaluation Pipeline on AWS for Audio Content Generation</title>
      <dc:creator>Debapriya Dey</dc:creator>
      <pubDate>Fri, 22 May 2026 10:47:49 +0000</pubDate>
      <link>https://dev.to/debapriya_dey_aada54b7766/building-an-ai-model-evaluation-pipeline-on-aws-for-audio-content-generation-682</link>
      <guid>https://dev.to/debapriya_dey_aada54b7766/building-an-ai-model-evaluation-pipeline-on-aws-for-audio-content-generation-682</guid>
      <description>&lt;h2&gt;
  
  
  Executive Summary
&lt;/h2&gt;

&lt;p&gt;A European digital media publisher needed to determine which foundation model on Amazon Bedrock produces the highest-quality podcast-style summaries from news articles. Rather than selecting a model based on general benchmarks, they built a serverless evaluation pipeline on AWS that runs structured experiments — comparing multiple models in parallel, scoring outputs with an LLM-as-Judge approach, and delivering actionable insights to both technical and editorial teams.&lt;/p&gt;

&lt;p&gt;This post describes the business drivers, architectural approach, evaluation methodology, and outcomes of the proof of concept (PoC), built entirely on AWS-native services.&lt;/p&gt;




&lt;h2&gt;
  
  
  Business Challenge
&lt;/h2&gt;

&lt;p&gt;The customer is a digital media publisher experiencing declining engagement as user consumption shifts toward flexible, audio-first formats. Their strategic objective is to evolve from traditional text delivery into personalized, AI-driven audio experiences — such as user-specific podcast-style summaries generated from their existing article library.&lt;/p&gt;

&lt;p&gt;This initiative is expected to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Increase content consumption by meeting users where they are (commutes, workouts, passive listening)&lt;/li&gt;
&lt;li&gt;Unlock new monetization opportunities through premium audio tiers and advertising&lt;/li&gt;
&lt;li&gt;Extend the value of existing editorial content without proportional editorial cost&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The technical challenge: &lt;strong&gt;foundation models produce highly variable output quality depending on the model, prompt strategy, and content type&lt;/strong&gt;. Selecting the wrong model risks hallucinated facts (unacceptable for a news publisher), poor audio readability, or unsustainable cost per article.&lt;/p&gt;

&lt;p&gt;The customer needed a data-driven approach to model selection — not a one-off playground test, but a repeatable evaluation framework that could inform decisions across formats, topics, and evolving model capabilities.&lt;/p&gt;




&lt;h2&gt;
  
  
  PoC Scope and Objectives
&lt;/h2&gt;

&lt;p&gt;The PoC focused on building an &lt;strong&gt;evaluation and experimentation pipeline&lt;/strong&gt; — not the production audio generation system itself. The goal was to enable structured, repeatable testing of multiple foundation models and prompt strategies for summarization and script generation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Core Requirements
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Requirement&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Model Evaluation &amp;amp; Selection&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Test multiple models on Amazon Bedrock in parallel; compare outputs on quality, tone, coherence, and editorial relevance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Prompt &amp;amp; Format Experimentation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Support different summary styles (short-form, multi-speaker podcast, custom editorial prompts) to identify optimal content structures&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Scalable Evaluation Pipeline&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Automated workflows triggered via API, with consistent storage of outputs and metadata&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Evaluation Metrics Framework&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;LLM-as-Judge scoring combined with native Bedrock evaluation metrics, covering accuracy, completeness, faithfulness, and style&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Results Visualization&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Side-by-side comparison of outputs with cost, latency, and quality insights for technical and editorial stakeholders&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;AWS-Native Architecture&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Fully built on AWS services: Amazon Bedrock, AWS Step Functions, AWS Lambda, Amazon S3, Amazon API Gateway&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Solution Architecture
&lt;/h2&gt;

&lt;p&gt;The evaluation pipeline is fully serverless, deployed via Terraform, and designed around the principle of &lt;strong&gt;experiment-as-configuration&lt;/strong&gt; — each evaluation run is defined by a JSON document specifying models, prompts, inputs, and scoring criteria.&lt;/p&gt;

&lt;h3&gt;
  
  
  Architecture Overview
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7bz4nmhd3qhld1lgeajc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7bz4nmhd3qhld1lgeajc.png" alt="AWS Architecture" width="790" height="553"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9l4fegvq1mp1v28hqlxg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9l4fegvq1mp1v28hqlxg.png" alt="6 Step Pipeline" width="800" height="602"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  AWS Services Used
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Role in Architecture&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Amazon Bedrock&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Foundation model access via unified Converse API; supports Llama, Claude, DeepSeek, Nova, and others&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;AWS Step Functions&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Orchestrates the multi-step evaluation workflow with built-in error handling and state management&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;AWS Lambda&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Serverless compute for API handling, model invocation, scoring, and report generation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Amazon API Gateway&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;HTTP API entry point with CORS support; JWT authorizer ready for Amazon Cognito integration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Amazon S3&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Persistent storage for experiment artifacts, outputs, and generated reports&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Amazon Cognito&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;User authentication (pre-built, ready to enable for production)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Amazon CloudWatch&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Structured logging, billing alarms, and operational monitoring&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Amazon SNS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Alert notifications when cost thresholds are breached&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  How It Works: The Evaluation Workflow
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Phase 1: Prompt Generation and Review
&lt;/h3&gt;

&lt;p&gt;The user submits an article and selects a scenario type (interview, monologue, debate, short summary). A &lt;strong&gt;Prompt Agent&lt;/strong&gt; powered by Claude Haiku generates an optimized instruction prompt tailored to the article topic and requested format.&lt;/p&gt;

&lt;p&gt;The user reviews and optionally edits the prompt before execution. This human-in-the-loop step prevents wasted model invocations on suboptimal prompts.&lt;/p&gt;

&lt;h3&gt;
  
  
  Phase 2: Parallel Model Invocation
&lt;/h3&gt;

&lt;p&gt;AWS Step Functions triggers the evaluation workflow. The Invoker Lambda uses Python's &lt;code&gt;ThreadPoolExecutor&lt;/code&gt; to invoke 2-5 Bedrock models simultaneously via the &lt;strong&gt;Converse API&lt;/strong&gt; — a unified interface that eliminates provider-specific request/response handling.&lt;/p&gt;

&lt;p&gt;Results are written to S3 progressively as each model completes, enabling the frontend to display partial results without waiting for the slowest model.&lt;/p&gt;

&lt;h3&gt;
  
  
  Phase 3: LLM-as-Judge Scoring
&lt;/h3&gt;

&lt;p&gt;A separate Claude Haiku instance evaluates each model's output against the source text using a strict rubric. Five dimensions are scored on a 0-100 scale:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Dimension&lt;/th&gt;
&lt;th&gt;Evaluation Criteria&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Accuracy&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Factual correctness; penalizes hallucinations, distortions, and vague references&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Fluency&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Natural language quality; penalizes unfinished sentences, repetition, and awkward phrasing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Completeness&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Coverage of key points; penalizes missing sections or shallow treatment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Neutrality&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Objectivity; penalizes editorial opinion or speculation presented as fact&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Prompt Compliance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Adherence to format, tone, and constraints; violations cap the score&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The rubric is deliberately strict: scores of 96-100 are "almost never given," and most solid outputs land in the 61-80 range. This forces meaningful differentiation between models.&lt;/p&gt;

&lt;h3&gt;
  
  
  Phase 4: Report Generation and Approval
&lt;/h3&gt;

&lt;p&gt;The pipeline generates a self-contained HTML comparison report with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Side-by-side model outputs&lt;/li&gt;
&lt;li&gt;Color-coded score badges per dimension&lt;/li&gt;
&lt;li&gt;Latency and cost metadata&lt;/li&gt;
&lt;li&gt;Reviewer preference selection&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Editorial stakeholders can view reports via presigned S3 URLs without requiring AWS console access. The approval workflow saves the selected output for downstream use.&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Architectural Decisions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Why Amazon Bedrock's Converse API?
&lt;/h3&gt;

&lt;p&gt;The Converse API provides a &lt;strong&gt;unified interface across all foundation models&lt;/strong&gt; on Bedrock. Adding a new model to the evaluation requires only a configuration change — no code modifications for request formatting or response parsing. This is critical for an evaluation platform where the set of models under test changes frequently.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Serverless (Lambda + Step Functions)?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cost at rest: zero.&lt;/strong&gt; The platform costs nothing when no experiments are running.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic scaling.&lt;/strong&gt; Parallel model invocations scale with Lambda concurrency.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Operational simplicity.&lt;/strong&gt; No servers to patch, no clusters to size.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built-in observability.&lt;/strong&gt; Step Functions provides visual execution tracking; Lambda integrates natively with CloudWatch.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why LLM-as-Judge Over Traditional Metrics?
&lt;/h3&gt;

&lt;p&gt;Traditional NLP metrics (ROUGE, BLEU) measure surface-level text similarity. They cannot evaluate:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Whether a podcast script sounds natural when read aloud&lt;/li&gt;
&lt;li&gt;Whether the tone matches the editorial brand&lt;/li&gt;
&lt;li&gt;Whether the format constraints were followed (no markdown, no stage directions)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An LLM-as-Judge captures these subjective quality dimensions that matter most to editorial teams. The strict rubric ensures scoring consistency across experiments.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Build Evaluation Before Production?
&lt;/h3&gt;

&lt;p&gt;The cost of running 100 evaluation experiments ($15-50 in Bedrock usage) is negligible compared to the cost of building a production system on the wrong model and discovering quality issues after launch. The evaluation pipeline de-risks the model selection decision and creates a reusable framework for ongoing optimization.&lt;/p&gt;




&lt;h2&gt;
  
  
  Evaluation Metrics Framework
&lt;/h2&gt;

&lt;p&gt;The platform supports two complementary evaluation approaches:&lt;/p&gt;

&lt;h3&gt;
  
  
  LLM-as-Judge (Primary)
&lt;/h3&gt;

&lt;p&gt;A separate foundation model evaluates outputs against source text and prompt instructions. Scoring features are configurable per experiment — teams can define custom dimensions relevant to their use case.&lt;/p&gt;

&lt;p&gt;The scoring agent receives:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The original source text&lt;/li&gt;
&lt;li&gt;The instruction prompt given to the content model&lt;/li&gt;
&lt;li&gt;The model's output&lt;/li&gt;
&lt;li&gt;A detailed rubric with scoring guidelines&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It returns a JSON object with integer scores per dimension, which are validated against the defined scale ranges.&lt;/p&gt;

&lt;h3&gt;
  
  
  Amazon Bedrock Native Evaluation (Secondary)
&lt;/h3&gt;

&lt;p&gt;Where available, the platform also leverages Bedrock's built-in evaluation API for standardized metrics:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Accuracy&lt;/strong&gt; — factual alignment&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Robustness&lt;/strong&gt; — consistency under variation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Toxicity&lt;/strong&gt; — harmful content detection&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These provide a baseline that complements the more nuanced LLM-as-Judge scores.&lt;/p&gt;

&lt;h3&gt;
  
  
  Open Area: Custom Metrics via API
&lt;/h3&gt;

&lt;p&gt;An area under exploration is the ability to define and register custom evaluation metrics programmatically — for example, an "audio readability" metric that specifically penalizes text patterns that sound unnatural in text-to-speech synthesis.&lt;/p&gt;




&lt;h2&gt;
  
  
  Results and Insights
&lt;/h2&gt;

&lt;p&gt;After running structured experiments across multiple articles, models, and prompt strategies:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Model quality varies significantly by format.&lt;/strong&gt; A model that excels at short-form summaries may produce awkward multi-speaker scripts. Format-specific evaluation is essential — there is no single "best model" across all use cases.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt engineering impact often exceeds model selection impact.&lt;/strong&gt; The quality difference between a well-crafted prompt and a generic one frequently exceeds the difference between models. The Prompt Agent + human review loop captures this value early.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hallucination rates correlate with topic complexity.&lt;/strong&gt; Simple event reporting is handled well by all tested models. Complex topics with nuance (scientific findings, policy debates) show significantly higher hallucination variance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scoring consistency requires explicit rubric design.&lt;/strong&gt; Without strict guidelines, the AI judge assigns uniformly high scores. The calibrated rubric forces differentiation that maps to real editorial quality differences.&lt;/p&gt;




&lt;h2&gt;
  
  
  Cost Profile
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Monthly Cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;AWS Lambda (API + Invoker)&lt;/td&gt;
&lt;td&gt;~$7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AWS Step Functions&lt;/td&gt;
&lt;td&gt;~$2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Amazon S3&lt;/td&gt;
&lt;td&gt;&amp;lt; $1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Amazon API Gateway&lt;/td&gt;
&lt;td&gt;&amp;lt; $1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Amazon CloudWatch&lt;/td&gt;
&lt;td&gt;~$3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Infrastructure total&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&amp;lt; $15/month&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Amazon Bedrock (variable)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.15-0.50 per experiment&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The serverless architecture means infrastructure costs are near-zero when the platform is idle. The primary cost driver is Bedrock model invocations — directly proportional to experiment volume and controllable via API rate limiting and usage quotas.&lt;/p&gt;




&lt;h2&gt;
  
  
  Security and Operational Considerations
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;API authentication:&lt;/strong&gt; Amazon Cognito with JWT authorizer (pre-built, ready to enable)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rate limiting:&lt;/strong&gt; API Gateway usage plans with per-key quotas to control Bedrock spend&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost controls:&lt;/strong&gt; CloudWatch billing alarms at $10 and $25 thresholds with SNS notifications&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Error sanitization:&lt;/strong&gt; AWS resource identifiers (ARNs, account IDs) are stripped from user-facing error messages&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure as Code:&lt;/strong&gt; Full Terraform deployment; reproducible and version-controlled&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Token usage tracking:&lt;/strong&gt; Bedrock response metadata passed through for downstream billing attribution&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Strategic Outlook : : The Start of Something Bigger
&lt;/h2&gt;

&lt;p&gt;This PoC is phase one of a broader initiative:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Phase&lt;/th&gt;
&lt;th&gt;Focus&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Phase 1&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Evaluation pipeline — model comparison, prompt experimentation, quality scoring&lt;/td&gt;
&lt;td&gt;✅ Complete&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Phase 2&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Production summarization — selected model(s) deployed for automated generation&lt;/td&gt;
&lt;td&gt;Planned&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Phase 3&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Multi-format generation — short-form audio/video, text-to-speech integration&lt;/td&gt;
&lt;td&gt;Roadmap&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Phase 4&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Optimization — fine-tuning on editorial feedback, A/B testing, cost-based model routing&lt;/td&gt;
&lt;td&gt;Roadmap&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The customer is evaluating AWS as the long-term platform to support end-to-end content generation workflows — from article ingestion through summarization, text-to-speech synthesis, and media distribution.&lt;/p&gt;




&lt;h3&gt;
  
  
  The TikTok-Style Video Opportunity
&lt;/h3&gt;

&lt;p&gt;The customer's next ambition is to automatically generate daily short-form video content — 30-60 second clips summarizing top stories in a format optimized for TikTok, Instagram Reels, and YouTube Shorts. This requires chaining multiple AI capabilities:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Summarization&lt;/strong&gt; (Amazon Bedrock) — condense articles into punchy, spoken-word scripts&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Text-to-Speech&lt;/strong&gt; (Amazon Polly or third-party) — generate natural-sounding narration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visual generation&lt;/strong&gt; — create or select imagery to accompany the audio&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Assembly&lt;/strong&gt; — combine audio, visuals, and captions into a publishable video&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The evaluation pipeline built in Phase 1 directly informs this: the model and prompt strategy selected for summarization quality will power the script generation layer of the video pipeline. The same LLM-as-Judge framework can evaluate script quality for the shorter, punchier format that short-form video demands.&lt;/p&gt;

&lt;p&gt;The customer is seeking a continued partnership with AWS to build this end-to-end workflow — from article ingestion through AI summarization, speech synthesis, and automated video publishing. This represents a multi-phase engagement with growing AWS service consumption across Bedrock, Polly, S3, MediaConvert, and potentially SageMaker for fine-tuning.&lt;/p&gt;




&lt;h2&gt;
  
  
  Expected Outcomes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A working evaluation pipeline for large-scale AI experimentation on Amazon Bedrock&lt;/li&gt;
&lt;li&gt;Clear, data-driven comparison of foundation models and prompt strategies&lt;/li&gt;
&lt;li&gt;Identification of the most suitable model(s) for summarization and script generation&lt;/li&gt;
&lt;li&gt;A reusable framework for future optimization and potential fine-tuning&lt;/li&gt;
&lt;li&gt;Reduced decision risk around model selection through structured experimentation&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Foundation model selection for production use cases requires more than benchmark comparisons. It requires evaluation on your actual content, with your actual quality criteria, at sufficient scale to surface meaningful differences.&lt;/p&gt;

&lt;p&gt;By building the evaluation infrastructure first — using Amazon Bedrock for model access, AWS Step Functions for orchestration, and an LLM-as-Judge approach for quality scoring — this customer established a repeatable, cost-effective framework for making model decisions with confidence.&lt;/p&gt;

&lt;p&gt;The serverless architecture ensures the platform costs nothing at rest, scales automatically during experimentation, and deploys in minutes via Terraform. The evaluation framework will continue to serve as new models become available on Amazon Bedrock and as the customer expands into new content formats.&lt;/p&gt;




&lt;h3&gt;
  
  
  Why Continued Investment Matters
&lt;/h3&gt;

&lt;p&gt;Funding this initiative accelerates experimentation on Amazon Bedrock, reduces decision risk around model selection, and establishes a reusable evaluation framework that supports not just the current summarization use case — but the entire roadmap from podcast generation through TikTok-style video automation. The customer's growing ambition maps directly to expanding AWS service adoption.&lt;/p&gt;




&lt;h3&gt;
  
  
  AWS Services Referenced
&lt;/h3&gt;

&lt;p&gt;Amazon Bedrock · AWS Step Functions · AWS Lambda · Amazon API Gateway · Amazon S3 · Amazon Cognito · Amazon CloudWatch · Amazon SNS · Terraform (Infrastructure as Code)&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This solution was built by Storm Reply as part of an AWS-funded proof of concept for AI-driven content generation.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>serverless</category>
    </item>
    <item>
      <title>Building a Serverless AI Model Evaluation Platform on AWS</title>
      <dc:creator>Debapriya Dey</dc:creator>
      <pubDate>Fri, 22 May 2026 07:23:38 +0000</pubDate>
      <link>https://dev.to/debapriya_dey_aada54b7766/building-a-serverless-ai-model-evaluation-platform-on-aws-4d47</link>
      <guid>https://dev.to/debapriya_dey_aada54b7766/building-a-serverless-ai-model-evaluation-platform-on-aws-4d47</guid>
      <description>&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;A media company needed to evaluate which AI model produces the best podcast-style summaries from news articles. They wanted to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Send an article to multiple AI models simultaneously&lt;/li&gt;
&lt;li&gt;Compare the outputs side by side&lt;/li&gt;
&lt;li&gt;Score each output automatically&lt;/li&gt;
&lt;li&gt;Generate a visual comparison report&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Doing this manually, copying articles into different model playgrounds, reading outputs, judging quality, doesn't scale. They needed an automated evaluation pipeline that could run experiments on demand and produce consistent, comparable results.&lt;/p&gt;

&lt;h2&gt;
  
  
  What We Built
&lt;/h2&gt;

&lt;p&gt;A fully serverless evaluation platform on AWS that accepts an article, runs it through multiple foundation models in parallel, scores each output using a separate AI judge, and produces an HTML comparison report. All triggered by a single API call.&lt;/p&gt;

&lt;p&gt;The system handles the entire lifecycle:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Prompt optimization&lt;/strong&gt; — an AI agent refines the user's instructions into an effective prompt&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Parallel model invocation&lt;/strong&gt; — multiple Bedrock models generate summaries simultaneously&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated scoring&lt;/strong&gt; — a scoring agent evaluates each output against quality criteria&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Report generation&lt;/strong&gt; — produces a formatted HTML comparison page&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Architecture Overview
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv7xyueysjhyrnt1b4kpf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv7xyueysjhyrnt1b4kpf.png" alt="AWS Architecture Overview" width="779" height="592"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The 6-Step Workflow
&lt;/h2&gt;

&lt;p&gt;The core of the system is a Step Functions state machine that orchestrates six Lambda functions in sequence. Here's what each step does and why it exists as a separate step.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F748rwuza6dd4kh2iit3g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F748rwuza6dd4kh2iit3g.png" alt="6 Step Pipeline" width="768" height="631"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: Validate
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;validate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;event&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="s"&gt;Read and validate the experiment definition from S3.&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;
    &lt;span class="n"&gt;definition&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;s3&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_object&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Bucket&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;BUCKET&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;definitions/&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;experiment_id&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;/definition.json&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="c1"&gt;# Validate required fields: article, models, prompt
&lt;/span&gt;    &lt;span class="c1"&gt;# Fail fast if inputs are malformed
&lt;/span&gt;    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;validated_definition&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Why a separate step? Fail-fast validation before incurring any Bedrock costs. If the definition is malformed, we stop here — no wasted model invocations.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Invoke Models (Parallel)
&lt;/h3&gt;

&lt;p&gt;This is where it gets interesting. We invoke multiple Bedrock models simultaneously using Python's &lt;code&gt;ThreadPoolExecutor&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;concurrent.futures&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;ThreadPoolExecutor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;as_completed&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;invoke_models&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;definition&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;models&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;definition&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;models&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;  &lt;span class="c1"&gt;# e.g., ["meta.llama3-70b", "deepseek-r1", "amazon.nova-lite"]
&lt;/span&gt;    &lt;span class="n"&gt;prompt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;definition&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;prompt&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="n"&gt;article&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;definition&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;article&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

    &lt;span class="n"&gt;results&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{}&lt;/span&gt;

    &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="nc"&gt;ThreadPoolExecutor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max_workers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;models&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;executor&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;futures&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="n"&gt;executor&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;submit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;invoke_bedrock&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;model_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;article&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="n"&gt;model_id&lt;/span&gt;
            &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;model_id&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;models&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;future&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;as_completed&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;futures&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
            &lt;span class="n"&gt;model_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;futures&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;future&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;future&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;result&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
            &lt;span class="n"&gt;results&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;model_id&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;output&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;output&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;message&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;text&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
                &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;usage&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;input_tokens&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;usage&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;inputTokens&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
                    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;output_tokens&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;usage&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;outputTokens&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                &lt;span class="p"&gt;}&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;results&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Why ThreadPoolExecutor inside Lambda? Bedrock API calls are I/O-bound. Running them in parallel within a single Lambda invocation means we pay for one Lambda execution instead of three, and the total wall-clock time is roughly equal to the slowest model rather than the sum of all models.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: Store Outputs
&lt;/h3&gt;

&lt;p&gt;Writes &lt;code&gt;comparison.json&lt;/code&gt; to S3 — containing all model outputs but no scores yet. This creates a checkpoint: if scoring fails, we don't lose the generated content.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4: Score (Parallel)
&lt;/h3&gt;

&lt;p&gt;The scoring agent (Claude Haiku) evaluates each model's output against quality criteria. Again, parallel execution via ThreadPoolExecutor:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;score&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;outputs&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;scoring_prompt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="s"&gt;Rate this podcast summary on:
    - Accuracy (1-10): Does it faithfully represent the article?
    - Engagement (1-10): Would a listener find this compelling?
    - Structure (1-10): Is it well-organized for audio?
    Respond with JSON only.&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;

    &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="nc"&gt;ThreadPoolExecutor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max_workers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;outputs&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;executor&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;futures&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="n"&gt;executor&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;submit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;invoke_bedrock&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;SCORING_MODEL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;scoring_prompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="n"&gt;model_id&lt;/span&gt;
            &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;model_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;output&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;outputs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="c1"&gt;# ... collect scores
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Why a separate scoring model? Using a different model (or at minimum, a separate invocation with a scoring-specific prompt) as the judge avoids self-evaluation bias. The scoring agent doesn't know which model produced which output.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 5: Store Scores
&lt;/h3&gt;

&lt;p&gt;Updates &lt;code&gt;comparison.json&lt;/code&gt; with the scores attached to each model's output.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 6: Generate HTML
&lt;/h3&gt;

&lt;p&gt;Produces a formatted &lt;code&gt;comparison.html&lt;/code&gt; report that displays all outputs side by side with their scores. This is the final deliverable the user downloads.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Amazon Bedrock's Converse API?
&lt;/h2&gt;

&lt;p&gt;We use the &lt;a href="https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html" rel="noopener noreferrer"&gt;Converse API&lt;/a&gt; rather than the model-specific &lt;code&gt;InvokeModel&lt;/code&gt; API. The key advantage: &lt;strong&gt;one unified interface across all models&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;invoke_bedrock&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;model_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;system_prompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;user_message&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;bedrock_runtime&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;converse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;modelId&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;model_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;text&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;user_message&lt;/span&gt;&lt;span class="p"&gt;}]}],&lt;/span&gt;
        &lt;span class="n"&gt;system&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;text&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;system_prompt&lt;/span&gt;&lt;span class="p"&gt;}]&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Switching from Llama to Claude to Nova Lite requires changing only the &lt;code&gt;model_id&lt;/code&gt; string. No code changes, no different request formats, no response parsing differences.&lt;/p&gt;

&lt;p&gt;The Converse API also returns token usage in every response — which we pass through to the caller for billing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"results"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"model_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"meta.llama3-70b-instruct-v1:0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"summary"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"usage"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"input_tokens"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1523&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"output_tokens"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;847&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"total_usage"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"total_input_tokens"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;4569&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"total_output_tokens"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2541&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Cost Control: The Hardest Part
&lt;/h2&gt;

&lt;p&gt;Here's the reality of building on top of foundation models: &lt;strong&gt;every API call costs money&lt;/strong&gt;, and costs scale with input size. A single &lt;code&gt;/run&lt;/code&gt; request invoking 3 models on a long article can cost $0.10–0.50. That sounds small until someone writes a script that calls it in a loop.&lt;/p&gt;

&lt;h3&gt;
  
  
  Billing Alarms (Day 1)
&lt;/h3&gt;

&lt;p&gt;We set up CloudWatch billing alarms immediately:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CloudWatch Alarm ($10 threshold) → SNS → Email notification
CloudWatch Alarm ($25 threshold) → SNS → Email notification
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the bare minimum. You'll know when costs are climbing, even if you can't stop them automatically.&lt;/p&gt;

&lt;h3&gt;
  
  
  API Security (Critical for Any AI-Backed API)
&lt;/h3&gt;

&lt;p&gt;An unprotected API that invokes foundation models is essentially a public credit card. We learned this the hard way and now treat API security as P0 — before any external access:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;API Keys&lt;/strong&gt; on every endpoint (immediate protection)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Usage plans&lt;/strong&gt; with per-key quotas (500 requests/day, 5000/month)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rate limiting&lt;/strong&gt; (10 req/s throttle) to prevent burst abuse&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Request logging&lt;/strong&gt; to attribute usage to specific callers
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Every request must include the API key&lt;/span&gt;
curl &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://api.example.com/run &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"x-api-key: btk_live_abc123def456"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{"article": "...", "models": ["meta.llama3-70b"]}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Without this, anyone who discovers your API URL can generate unbounded Bedrock charges.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lessons Learned
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Separate validation from execution
&lt;/h3&gt;

&lt;p&gt;Bedrock calls are expensive. Validate everything before invoking any model. Check that the article isn't empty, the model IDs are valid, the prompt isn't too long. Fail at Step 1, not Step 2.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. ThreadPoolExecutor &amp;gt; separate Lambda invocations for parallel model calls
&lt;/h3&gt;

&lt;p&gt;We considered using Step Functions' native parallel states or invoking separate Lambdas per model. ThreadPoolExecutor within a single Lambda turned out simpler:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One Lambda execution to pay for (not N)&lt;/li&gt;
&lt;li&gt;Shared memory for the article text (no repeated S3 reads)&lt;/li&gt;
&lt;li&gt;Simpler error handling&lt;/li&gt;
&lt;li&gt;Total time ≈ slowest model, not sum of all&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The tradeoff: if one model times out, the entire Lambda times out. We mitigate this with per-future timeouts.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Store intermediate results
&lt;/h3&gt;

&lt;p&gt;Each step writes to S3 before the next step begins. If Step 4 (scoring) fails, we still have the model outputs from Step 3. We can retry scoring without re-invoking the content models.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Token usage is free metadata — always capture it
&lt;/h3&gt;

&lt;p&gt;Bedrock returns &lt;code&gt;inputTokens&lt;/code&gt; and &lt;code&gt;outputTokens&lt;/code&gt; in every response. Capturing and returning this costs nothing but enables:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Per-customer billing&lt;/li&gt;
&lt;li&gt;Cost forecasting&lt;/li&gt;
&lt;li&gt;Identifying expensive prompts&lt;/li&gt;
&lt;li&gt;Detecting anomalies (sudden spike in token usage = possible abuse)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  5. Start with S3, add a database when you need queries
&lt;/h3&gt;

&lt;p&gt;For the POC, S3 handles all storage. It's simple, cheap, and sufficient for sequential read/write patterns. We're adding DynamoDB only now that we need to query experiment history by user — something S3 can't do efficiently.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;The platform is functional but evolving:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Selection History&lt;/strong&gt; — DynamoDB-backed experiment sessions so users can revisit past comparisons and track which model they ultimately chose&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend UI&lt;/strong&gt; — Visual interface for running experiments and browsing history&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cognito Authentication&lt;/strong&gt; — User-level access control when the UI ships&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tech Stack Summary
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Why&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;API&lt;/td&gt;
&lt;td&gt;API Gateway (HTTP API)&lt;/td&gt;
&lt;td&gt;Low latency, pay-per-request&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Compute&lt;/td&gt;
&lt;td&gt;AWS Lambda (Python)&lt;/td&gt;
&lt;td&gt;Serverless, scales to zero&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Orchestration&lt;/td&gt;
&lt;td&gt;Step Functions&lt;/td&gt;
&lt;td&gt;Visual workflow, built-in retries&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI Models&lt;/td&gt;
&lt;td&gt;Amazon Bedrock (Converse API)&lt;/td&gt;
&lt;td&gt;Multi-model, unified interface&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Storage&lt;/td&gt;
&lt;td&gt;Amazon S3&lt;/td&gt;
&lt;td&gt;Cheap, durable, simple&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Monitoring&lt;/td&gt;
&lt;td&gt;CloudWatch + SNS&lt;/td&gt;
&lt;td&gt;Billing alarms, email alerts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Auth (planned)&lt;/td&gt;
&lt;td&gt;API Keys + Cognito&lt;/td&gt;
&lt;td&gt;Layered security&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;History (planned)&lt;/td&gt;
&lt;td&gt;DynamoDB&lt;/td&gt;
&lt;td&gt;Fast queries by user/session&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Reach Out to Us
&lt;/h2&gt;

&lt;p&gt;Interested in modernizing your cloud infrastructure and building enterprise-grade solutions? &lt;strong&gt;Storm Reply&lt;/strong&gt; is driven by continuous learning and practical innovation. We specialize in designing and delivering scalable AWS architectures that support customers throughout their cloud journey, from early assessment to production-ready deployment.&lt;/p&gt;

&lt;p&gt;With deep experience in AWS architecture, data engineering, and security best practices, we help enterprises migrate with confidence and move faster on their cloud transformation goals.&lt;/p&gt;

&lt;p&gt;Let’s connect and explore how we can support your modernization initiatives.&lt;/p&gt;

&lt;p&gt;🌐 &lt;strong&gt;Website:&lt;/strong&gt; &lt;a href="https://www.stormreply.cloud/" rel="noopener noreferrer"&gt;https://www.stormreply.cloud/&lt;/a&gt;&lt;br&gt;&lt;br&gt;
💼 &lt;strong&gt;LinkedIn:&lt;/strong&gt; &lt;a href="https://www.linkedin.com/company/storm-reply/posts/?feedView=all" rel="noopener noreferrer"&gt;https://www.linkedin.com/company/storm-reply/posts/?feedView=all&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Date:&lt;/strong&gt; May 2026&lt;/p&gt;




&lt;p&gt;The full system runs in &lt;code&gt;eu-central-1&lt;/code&gt; (Frankfurt), costs under $20/month excluding Bedrock usage, and handles the entire evaluation lifecycle in a single API call. Serverless means we pay nothing when nobody's running experiments, and scale automatically when they are.&lt;/p&gt;

&lt;p&gt;If you're building something similar — any system where API calls trigger expensive downstream operations — lock down your API first, validate inputs aggressively, and always know what each request costs.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built with AWS Lambda, Step Functions, and Amazon Bedrock.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>aws</category>
      <category>llm</category>
      <category>serverless</category>
    </item>
    <item>
      <title>Building a Production-Ready AWS Security Vulnerability Scanner: A Technical Deep Dive</title>
      <dc:creator>Debapriya Dey</dc:creator>
      <pubDate>Wed, 28 Jan 2026 12:49:29 +0000</pubDate>
      <link>https://dev.to/debapriya_dey_aada54b7766/building-a-production-ready-aws-security-vulnerability-scanner-a-technical-deep-dive-1m33</link>
      <guid>https://dev.to/debapriya_dey_aada54b7766/building-a-production-ready-aws-security-vulnerability-scanner-a-technical-deep-dive-1m33</guid>
      <description>&lt;h2&gt;
  
  
  The Problem: Security Visibility at Scale
&lt;/h2&gt;

&lt;p&gt;In modern cloud environments, security vulnerabilities don't announce themselves. They hide in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Outdated packages in Lambda functions&lt;/li&gt;
&lt;li&gt;Unpatched EC2 instances running critical workloads&lt;/li&gt;
&lt;li&gt;Container images with known CVEs in ECR&lt;/li&gt;
&lt;li&gt;Misconfigured security groups exposing services to the internet&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The Challenge:&lt;/strong&gt; Organizations using AWS face a fragmented security landscape:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Security Hub aggregates findings but lacks actionable remediation&lt;/li&gt;
&lt;li&gt;Inspector scans for CVEs but doesn't prioritize by business impact&lt;/li&gt;
&lt;li&gt;AWS Config checks compliance but doesn't show cost implications&lt;/li&gt;
&lt;li&gt;Trusted Advisor provides recommendations but requires manual correlation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The Result:&lt;/strong&gt; Security teams spend hours:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Manually correlating findings across multiple AWS services&lt;/li&gt;
&lt;li&gt;Determining which vulnerabilities to fix first&lt;/li&gt;
&lt;li&gt;Finding the exact commands to remediate issues&lt;/li&gt;
&lt;li&gt;Tracking unused resources that increase attack surface&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Our Solution: An Intelligent, Unified Security Dashboard
&lt;/h2&gt;

&lt;p&gt;We built a comprehensive AWS Security Vulnerability Scanner that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Aggregates&lt;/strong&gt; findings from Security Hub, Inspector, AWS Config, and Trusted Advisor&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prioritizes&lt;/strong&gt; vulnerabilities using intelligent scoring&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Provides&lt;/strong&gt; exact remediation commands&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Identifies&lt;/strong&gt; cost optimization opportunities&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delivers&lt;/strong&gt; an intuitive, scannable interface&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Architecture Overview
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5mk0x8611vuoph5mbcsh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5mk0x8611vuoph5mbcsh.png" alt="Architecture Diagram" width="768" height="579"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Technical Implementation
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. Multi-Service Data Collection
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;Challenge:&lt;/strong&gt; Each AWS security service returns data in different formats.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt; Unified scanner with normalized output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;AWSSecurityScanner&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;__init__&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;region&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;us-east-1&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;securityhub&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;boto3&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;client&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;securityhub&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;region_name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;region&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;inspector&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;boto3&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;client&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;inspector2&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;region_name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;region&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;config&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;boto3&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;client&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;config&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;region_name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;region&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;support&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;boto3&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;client&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;support&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;region_name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;us-east-1&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;scan_all&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;findings&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;security_hub&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;scan_security_hub_findings&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
            &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;inspector&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;scan_inspector_vulnerabilities&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
            &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;config&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;scan_config_compliance&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
            &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;trusted_advisor&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;scan_trusted_advisor&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;generate_report&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;findings&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Key Features:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Parallel API calls for performance&lt;/li&gt;
&lt;li&gt;Error handling for partial failures&lt;/li&gt;
&lt;li&gt;Pagination for large result sets&lt;/li&gt;
&lt;li&gt;Caching to reduce API costs&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  2. Operational Issue Detection
&lt;/h4&gt;

&lt;p&gt;Beyond CVEs, we detect operational security issues:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;OperationalScanner&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;scan_unused_s3_buckets&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;days_threshold&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;90&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="s"&gt;Find S3 buckets with no activity&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;
        &lt;span class="c1"&gt;# Check last modified date
&lt;/span&gt;        &lt;span class="c1"&gt;# Calculate storage costs
&lt;/span&gt;        &lt;span class="c1"&gt;# Generate deletion recommendations
&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;scan_expiring_certificates&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;days_threshold&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="s"&gt;Find ACM certificates expiring soon&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;
        &lt;span class="c1"&gt;# Check NotAfter date
&lt;/span&gt;        &lt;span class="c1"&gt;# Prioritize by usage (InUseBy)
&lt;/span&gt;        &lt;span class="c1"&gt;# Alert on critical expirations
&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;scan_idle_load_balancers&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="s"&gt;Find load balancers with no traffic&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;
        &lt;span class="c1"&gt;# Query CloudWatch metrics
&lt;/span&gt;        &lt;span class="c1"&gt;# Calculate monthly cost waste
&lt;/span&gt;        &lt;span class="c1"&gt;# Recommend deletion
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Impact:&lt;/strong&gt; Found $70/month in cost savings in our sandbox account alone.&lt;/p&gt;

&lt;h4&gt;
  
  
  3. Intelligent Prioritization
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;Challenge:&lt;/strong&gt; Not all vulnerabilities are equal. A Critical CVE in a non-production Lambda is less urgent than a High CVE in a public-facing EC2 instance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt; Multi-factor priority scoring:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;isTopPriority&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;finding&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;severity&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;finding&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Severity&lt;/span&gt;&lt;span class="p"&gt;?.&lt;/span&gt;&lt;span class="nx"&gt;Label&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;fixAvailable&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;finding&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Vulnerabilities&lt;/span&gt;&lt;span class="p"&gt;?.[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]?.&lt;/span&gt;&lt;span class="nx"&gt;FixAvailable&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;ageInDays&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;calculateAge&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;finding&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;CreatedAt&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;isExposed&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;isInternetExposed&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;finding&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

    &lt;span class="k"&gt;return &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;severity&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;CRITICAL&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nx"&gt;severity&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;HIGH&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;
           &lt;span class="nx"&gt;fixAvailable&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;YES&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;
           &lt;span class="nx"&gt;ageInDays&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;
           &lt;span class="nx"&gt;isExposed&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Priority Factors:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Severity (CVSS score)&lt;/li&gt;
&lt;li&gt;Fix availability&lt;/li&gt;
&lt;li&gt;Age (older = higher priority)&lt;/li&gt;
&lt;li&gt;Internet exposure&lt;/li&gt;
&lt;li&gt;Environment (production &amp;gt; non-production)&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  4. User Experience Innovation
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; Traditional security dashboards are overwhelming. Users see hundreds of findings with no clear action path.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Our Approach:&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw8nj710uwy76sfel3p4m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw8nj710uwy76sfel3p4m.png" alt="Guided remediation workflow" width="800" height="516"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key UX Improvements:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Compact Row View&lt;/strong&gt; - Scan 10+ findings without scrolling&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Global Filters&lt;/strong&gt; - Filter by region, service, environment, time&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smart Search&lt;/strong&gt; - Search CVE IDs, instance IDs, package names&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Linked Remediation&lt;/strong&gt; - Click vulnerability → See exact fix&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Copy-Paste Commands&lt;/strong&gt; - One-click copy of remediation commands&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auto-Refresh&lt;/strong&gt; - Optional 5-minute auto-refresh with toast notifications&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Performance Optimizations
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. Efficient Data Loading
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Cache busting for fresh data&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;cacheBuster&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;getTime&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`findings.json?v=&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;cacheBuster&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="c1"&gt;// Skeleton loading states&lt;/span&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;showLoadingState&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;skeletonHTML&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;`
        &amp;lt;div class="skeleton skeleton-card"&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class="skeleton skeleton-card"&amp;gt;&amp;lt;/div&amp;gt;
    `&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nx"&gt;container&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;innerHTML&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;skeletonHTML&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  2. Client-Side Filtering
&lt;/h4&gt;

&lt;p&gt;All filtering happens client-side for instant response:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;matchesGlobalFilters&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;finding&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="c1"&gt;// Region filter&lt;/span&gt;
    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;globalFilters&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;region&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nx"&gt;finding&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Region&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="nx"&gt;globalFilters&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;region&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="c1"&gt;// Service filter&lt;/span&gt;
    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;globalFilters&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;service&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;resourceType&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;finding&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Resources&lt;/span&gt;&lt;span class="p"&gt;?.[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]?.&lt;/span&gt;&lt;span class="nx"&gt;Type&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="dl"&gt;''&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;resourceType&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;globalFilters&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;service&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="c1"&gt;// Search filter (fuzzy match)&lt;/span&gt;
    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;globalFilters&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;search&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;searchText&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;globalFilters&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;search&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toLowerCase&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;searchText&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; 
               &lt;span class="nx"&gt;cve&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;searchText&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; 
               &lt;span class="nx"&gt;resourceId&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;searchText&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  3. Smart Sorting
&lt;/h4&gt;

&lt;p&gt;Multiple sort options with O(n log n) performance:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;sortFindings&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;findings&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;sortBy&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;switch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;sortBy&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;severity&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;findings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sort&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; 
                &lt;span class="nx"&gt;severityOrder&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Severity&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Label&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;severityOrder&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Severity&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Label&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;cvss&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;findings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sort&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; 
                &lt;span class="nf"&gt;getCVSS&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nf"&gt;getCVSS&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;age&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;findings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sort&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; 
                &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;CreatedAt&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;CreatedAt&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Deployment Architecture
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Infrastructure as Code
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# CloudFormation Template&lt;/span&gt;
&lt;span class="na"&gt;Resources&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;SecurityScannerFunction&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;Type&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;AWS::Lambda::Function&lt;/span&gt;
    &lt;span class="na"&gt;Properties&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;Runtime&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;python3.11&lt;/span&gt;
      &lt;span class="na"&gt;Handler&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;index.lambda_handler&lt;/span&gt;
      &lt;span class="na"&gt;Timeout&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;300&lt;/span&gt;
      &lt;span class="na"&gt;Environment&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;Variables&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;REPORTS_BUCKET&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;!Ref&lt;/span&gt; &lt;span class="s"&gt;SecurityReportsBucket&lt;/span&gt;
          &lt;span class="na"&gt;SNS_TOPIC_ARN&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;!Ref&lt;/span&gt; &lt;span class="s"&gt;SecurityAlertsTopic&lt;/span&gt;

  &lt;span class="na"&gt;DailyScanRule&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;Type&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;AWS::Events::Rule&lt;/span&gt;
    &lt;span class="na"&gt;Properties&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;ScheduleExpression&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;cron(0&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;9&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;*&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;*&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;?&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;*)'&lt;/span&gt;
      &lt;span class="na"&gt;Targets&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
        &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;Arn&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;!GetAtt&lt;/span&gt; &lt;span class="s"&gt;SecurityScannerFunction.Arn&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Cost Optimization
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;Monthly Costs (Small Environment):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Security Hub: $30&lt;/li&gt;
&lt;li&gt;Inspector: $40&lt;/li&gt;
&lt;li&gt;AWS Config: $15&lt;/li&gt;
&lt;li&gt;Lambda: $5&lt;/li&gt;
&lt;li&gt;S3 + CloudFront: $2&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Total: ~$92/month&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;ROI:&lt;/strong&gt; Found $70/month in cost savings (idle resources) in first scan.&lt;/p&gt;

&lt;h3&gt;
  
  
  Results &amp;amp; Impact
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Metrics from Sandbox Deployment:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;73 vulnerabilities&lt;/strong&gt; identified across 5 services&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1 Critical&lt;/strong&gt; (CVE-2025-69264 - pnpm RCE)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;72 High&lt;/strong&gt; severity findings&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;7 unused S3 buckets&lt;/strong&gt; (inactive 100+ days)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1 idle load balancer&lt;/strong&gt; ($20/month waste)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1 idle RDS instance&lt;/strong&gt; ($50/month waste)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Time Savings:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Before:&lt;/strong&gt; 2-3 hours to manually correlate findings&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;After:&lt;/strong&gt; 5 minutes to identify and prioritize top issues&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;User Feedback:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Finally, a security dashboard that tells me what to do"&lt;/li&gt;
&lt;li&gt;"The copy-paste commands save so much time"&lt;/li&gt;
&lt;li&gt;"Love the Top Priority filter - shows exactly what needs fixing"&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Lessons Learned
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;UX Matters in Security Tools&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Security teams are overwhelmed with data&lt;/li&gt;
&lt;li&gt;Actionable guidance &amp;gt; Raw findings&lt;/li&gt;
&lt;li&gt;Scannable interfaces &amp;gt; Detailed cards&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Integration is Key&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No single AWS service provides complete visibility&lt;/li&gt;
&lt;li&gt;Correlation across services reveals true risk&lt;/li&gt;
&lt;li&gt;Operational issues (cost, unused resources) matter&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Prioritization is Critical&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Not all vulnerabilities are equal&lt;/li&gt;
&lt;li&gt;Context matters (environment, exposure, age)&lt;/li&gt;
&lt;li&gt;Fix availability should drive priority&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Automation Reduces Toil&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Daily scans catch new issues early&lt;/li&gt;
&lt;li&gt;Auto-generated remediation commands reduce errors&lt;/li&gt;
&lt;li&gt;Toast notifications build trust&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Future Enhancements
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Automated Remediation&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Auto-patch non-production resources&lt;/li&gt;
&lt;li&gt;Create Jira tickets for manual review&lt;/li&gt;
&lt;li&gt;Track remediation progress&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;ML-Based Prioritization&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Learn from user actions&lt;/li&gt;
&lt;li&gt;Predict likelihood of exploitation&lt;/li&gt;
&lt;li&gt;Recommend based on similar environments&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Compliance Mapping&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Map findings to compliance frameworks (PCI-DSS, HIPAA, SOC 2)&lt;/li&gt;
&lt;li&gt;Generate compliance reports&lt;/li&gt;
&lt;li&gt;Track remediation for audits&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Multi-Account Support&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Aggregate findings across AWS accounts&lt;/li&gt;
&lt;li&gt;Organization-wide dashboards&lt;/li&gt;
&lt;li&gt;Role-based access control&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;Building effective security tools requires more than just collecting data. It requires:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Intelligent aggregation&lt;/strong&gt; across multiple sources&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smart prioritization&lt;/strong&gt; based on real risk&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Actionable guidance&lt;/strong&gt; that reduces time-to-fix&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Intuitive UX&lt;/strong&gt; that security teams actually want to use&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our AWS Security Vulnerability Scanner demonstrates that with thoughtful design and implementation, security tools can be both powerful and delightful to use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reach Out to Us
&lt;/h2&gt;

&lt;p&gt;Interested in modernizing your cloud infrastructure and building enterprise-grade solutions? &lt;strong&gt;Storm Reply&lt;/strong&gt; is driven by continuous learning and practical innovation. We specialize in designing and delivering scalable AWS architectures that support customers throughout their cloud journey, from early assessment to production-ready deployment.&lt;/p&gt;

&lt;p&gt;With deep experience in AWS architecture, data engineering, and security best practices, we help enterprises migrate with confidence and move faster on their cloud transformation goals.&lt;/p&gt;

&lt;p&gt;Let’s connect and explore how we can support your modernization initiatives.&lt;/p&gt;

&lt;p&gt;🌐 &lt;strong&gt;Website:&lt;/strong&gt; &lt;a href="https://www.stormreply.cloud/" rel="noopener noreferrer"&gt;https://www.stormreply.cloud/&lt;/a&gt;&lt;br&gt;&lt;br&gt;
💼 &lt;strong&gt;LinkedIn:&lt;/strong&gt; &lt;a href="https://www.linkedin.com/company/storm-reply/posts/?feedView=all" rel="noopener noreferrer"&gt;https://www.linkedin.com/company/storm-reply/posts/?feedView=all&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Date:&lt;/strong&gt; January 2026&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Tech Stack:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Backend: Python 3.11, Boto3&lt;/li&gt;
&lt;li&gt;Frontend: Vanilla JavaScript, HTML5, CSS3&lt;/li&gt;
&lt;li&gt;Infrastructure: AWS Lambda, CloudFormation, S3, SNS&lt;/li&gt;
&lt;li&gt;APIs: Security Hub, Inspector, Config, Trusted Advisor&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>From Chaos to Clarity: How We Built Jira-Assist (SmartBoard AI) to Transform Ticket Management</title>
      <dc:creator>Debapriya Dey</dc:creator>
      <pubDate>Tue, 16 Dec 2025 13:58:57 +0000</pubDate>
      <link>https://dev.to/debapriya_dey_aada54b7766/from-chaos-to-clarity-how-we-built-jira-assist-smartboard-ai-to-transform-ticket-management-3k4h</link>
      <guid>https://dev.to/debapriya_dey_aada54b7766/from-chaos-to-clarity-how-we-built-jira-assist-smartboard-ai-to-transform-ticket-management-3k4h</guid>
      <description>&lt;h1&gt;
  
  
  Taming Jira Chaos with Generative AI: Building Jira-Assist (SmartBoard AI)
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In the age of software-defined vehicles and agile development, speed and collaboration define success. Yet one challenge persists across engineering teams: Jira ticket chaos.&lt;/p&gt;

&lt;p&gt;Manual ticket creation, misclassified issues, duplicate entries, and fragmented project data often lead to confusion, missed dependencies, and slower releases. In automotive software programs, where traceability and process governance are non-negotiable, this problem becomes even more visible.&lt;/p&gt;

&lt;p&gt;To address this, we built &lt;strong&gt;Jira-Assist (SmartBoard AI)&lt;/strong&gt;, a generative AI-powered assistant that simplifies how developers interact with Jira. The goal was to make ticket management conversational, intelligent, and seamlessly integrated into tools engineers already use, like Microsoft Teams and Slack.&lt;/p&gt;




&lt;h2&gt;
  
  
  Business Challenge
&lt;/h2&gt;

&lt;p&gt;Across large engineering programs, teams were spending excessive time on Jira administration rather than actual engineering work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Creating and updating tickets
&lt;/li&gt;
&lt;li&gt;Finding the right Epic or component
&lt;/li&gt;
&lt;li&gt;Linking issues correctly
&lt;/li&gt;
&lt;li&gt;Cleaning up metadata after the fact
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These inefficiencies resulted in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Slower delivery cycles due to inconsistent ticket handling
&lt;/li&gt;
&lt;li&gt;Lost traceability across components and releases
&lt;/li&gt;
&lt;li&gt;Difficult onboarding for engineers unfamiliar with Jira taxonomy
&lt;/li&gt;
&lt;li&gt;Limited sprint visibility without manual cleanup
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We needed an intelligent automation layer that could understand natural language intent and act on it reliably, without adding another tool or workflow.&lt;/p&gt;




&lt;h2&gt;
  
  
  Solution Overview: Jira-Assist (SmartBoard AI)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Jira-Assist&lt;/strong&gt; is a conversational AI assistant that interprets natural language and converts it into structured Jira actions. Engineers can create, update, query, or track Jira issues directly from chat.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Prompt-to-Ticket&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Converts conversational input into fully structured Jira issues.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Smart Tagging&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Automatically identifies Epics, priorities, components, and ownership.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Duplicate Detection&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Suggests existing or related issues before creating new ones.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Live Querying&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Retrieves real-time Jira updates directly in Slack or Teams.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Seamless Integration&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Acts as an always-available AI teammate inside everyday workflows.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is not just automation. It is augmented intelligence built into the developer experience.&lt;/p&gt;




&lt;h2&gt;
  
  
  Technical Architecture (AWS-Powered)
&lt;/h2&gt;

&lt;p&gt;The platform is built entirely on AWS with a strong focus on security, scalability, and resilience.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3mu2q39nmxfy9c8ruxjq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3mu2q39nmxfy9c8ruxjq.png" alt="Architecture diagram" width="800" height="484"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Core Components
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Chat Interface (Cognito Pool + AppSync + GraphQL + SQS)&lt;/strong&gt; Connects Slack and Microsoft Teams to backend services.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon Bedrock&lt;/strong&gt; Provides the generative AI foundation using models such as Claude 3.5.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon S3&lt;/strong&gt; Stores prompt templates and contextual knowledge.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Lambda Orchestrator&lt;/strong&gt; Coordinates AI responses, context retrieval, and Jira operations.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Jira Agent Lambda&lt;/strong&gt; Handles Jira-specific actions like create, update, and search.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon DynamoDB&lt;/strong&gt; Manages user profiles and conversational context.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon API Gateway&lt;/strong&gt; Secures communication between chat interfaces and backend services.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Jira Cloud API&lt;/strong&gt; Enables bidirectional interaction with Jira projects and boards.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;CloudWatch and SNS&lt;/strong&gt; Provide monitoring, logging, and operational alerts.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Implementation Highlights
&lt;/h2&gt;

&lt;p&gt;Each request follows a clear orchestration flow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Chat input is analyzed to detect intent such as create, query, or update.
&lt;/li&gt;
&lt;li&gt;User context and prior session data are retrieved from DynamoDB.
&lt;/li&gt;
&lt;li&gt;Amazon Bedrock generates a structured Jira payload with metadata.
&lt;/li&gt;
&lt;li&gt;The Lambda Orchestrator routes the request to the Jira Agent.
&lt;/li&gt;
&lt;li&gt;Jira APIs execute the requested action.
&lt;/li&gt;
&lt;li&gt;Logs and metrics are published to CloudWatch for visibility and analysis.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;By integrating directly with Teams and Slack, engineers can discuss work, create tickets, and track progress without switching tools. Jira-Assist becomes part of the conversation.&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjzpd65pqvzcp2esiszwu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjzpd65pqvzcp2esiszwu.png" alt="Chat Interface" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi92ejrgzcjrd3gnvnn1g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi92ejrgzcjrd3gnvnn1g.png" alt="Chatbot Creates Jira Ticket" width="720" height="532"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0qtxb8eoo0i2m8mon8nn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0qtxb8eoo0i2m8mon8nn.png" alt="Automatic Ticket Creation in Jiraboad" width="800" height="334"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Benefits Realized
&lt;/h2&gt;

&lt;p&gt;After an internal pilot deployment, the results were immediate:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;40% reduction in manual ticket handling
&lt;/li&gt;
&lt;li&gt;Improved consistency in Epics, priorities, and ownership
&lt;/li&gt;
&lt;li&gt;Faster onboarding with reduced training overhead
&lt;/li&gt;
&lt;li&gt;Better visibility into Jira health and sprint metrics
&lt;/li&gt;
&lt;li&gt;Smoother collaboration across Teams and Slack
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Automating repetitive tasks freed up engineering time for design, testing, and innovation.&lt;/p&gt;




&lt;h2&gt;
  
  
  What’s Next
&lt;/h2&gt;

&lt;p&gt;The Jira-Assist roadmap includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI-driven sprint and backlog planning
&lt;/li&gt;
&lt;li&gt;Multi-language support for global engineering teams
&lt;/li&gt;
&lt;li&gt;Deeper integration with CI/CD dashboards
&lt;/li&gt;
&lt;li&gt;Expansion into other ticket systems such as ServiceNow and GitHub Issues
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Jira-Assist (SmartBoard AI) is more than a productivity improvement. It is an AI co-pilot that reshapes how engineering teams collaborate and deliver software.&lt;/p&gt;

&lt;p&gt;By combining generative AI with AWS-native services, we built a secure, context-aware assistant that aligns with enterprise governance while staying easy to use.&lt;/p&gt;

&lt;p&gt;The future of work is not about replacing people. It is about removing friction so engineers can focus on what matters most.&lt;/p&gt;




&lt;h2&gt;
  
  
  Reach Out to Us
&lt;/h2&gt;

&lt;p&gt;Interested in modernizing your cloud infrastructure and building enterprise-grade solutions? &lt;strong&gt;Storm Reply&lt;/strong&gt; is driven by continuous learning and practical innovation. We specialize in designing and delivering scalable AWS architectures that support customers throughout their cloud journey, from early assessment to production-ready deployment.&lt;/p&gt;

&lt;p&gt;With deep experience in AWS architecture, data engineering, and security best practices, we help enterprises migrate with confidence and move faster on their cloud transformation goals.&lt;/p&gt;

&lt;p&gt;Let’s connect and explore how we can support your modernization initiatives.&lt;/p&gt;

&lt;p&gt;🌐 &lt;strong&gt;Website:&lt;/strong&gt; &lt;a href="https://www.stormreply.cloud/" rel="noopener noreferrer"&gt;https://www.stormreply.cloud/&lt;/a&gt;&lt;br&gt;&lt;br&gt;
💼 &lt;strong&gt;LinkedIn:&lt;/strong&gt; &lt;a href="https://www.linkedin.com/company/storm-reply/posts/?feedView=all" rel="noopener noreferrer"&gt;https://www.linkedin.com/company/storm-reply/posts/?feedView=all&lt;/a&gt;&lt;/p&gt;

</description>
      <category>atlassian</category>
      <category>bedrock</category>
      <category>genai</category>
      <category>programming</category>
    </item>
    <item>
      <title>Building an Enterprise Patching Dashboard with AWS - A Complete Guide</title>
      <dc:creator>Debapriya Dey</dc:creator>
      <pubDate>Wed, 26 Nov 2025 12:56:51 +0000</pubDate>
      <link>https://dev.to/debapriya_dey_aada54b7766/building-an-enterprise-patching-dashboard-with-aws-a-complete-guide-3dah</link>
      <guid>https://dev.to/debapriya_dey_aada54b7766/building-an-enterprise-patching-dashboard-with-aws-a-complete-guide-3dah</guid>
      <description>&lt;h1&gt;
  
  
  Learn how to build a centralized patching and inventory management solution using AWS Systems Manager, Glue, Athena, and QuickSight
&lt;/h1&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Imagine managing 50+ EC2 instances across multiple AWS regions. Your security team asks: &lt;em&gt;"Which servers are missing critical patches?"&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;Without proper tooling, you'd need to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SSH into each server manually&lt;/li&gt;
&lt;li&gt;Run patch compliance checks one by one&lt;/li&gt;
&lt;li&gt;Compile results in a spreadsheet&lt;/li&gt;
&lt;li&gt;Repeat this process weekly&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Time required:&lt;/strong&gt; 2-3 hours. &lt;strong&gt;Accuracy:&lt;/strong&gt; Questionable. &lt;strong&gt;Scalability:&lt;/strong&gt; Impossible.&lt;/p&gt;

&lt;p&gt;There had to be a better way.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution
&lt;/h2&gt;

&lt;p&gt;I built an &lt;strong&gt;enterprise-grade patching and inventory management dashboard&lt;/strong&gt; that automatically:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ Collects inventory from all EC2 instances across regions&lt;/li&gt;
&lt;li&gt;✅ Tracks patch compliance in real-time&lt;/li&gt;
&lt;li&gt;✅ Visualizes data in interactive dashboards&lt;/li&gt;
&lt;li&gt;✅ Enables natural language queries with Amazon Q&lt;/li&gt;
&lt;li&gt;✅ Requires zero manual intervention&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Time to check compliance:&lt;/strong&gt; 5 seconds. &lt;strong&gt;Accuracy:&lt;/strong&gt; 100%. &lt;strong&gt;Scalability:&lt;/strong&gt; Unlimited.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture Overview
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl2f2nf8x1ssq7t36ry0e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl2f2nf8x1ssq7t36ry0e.png" alt="SSM Inventory to Quicksight Architecture" width="800" height="318"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The solution uses a serverless, 4-layer architecture:&lt;/p&gt;

&lt;h2&gt;
  
  
  What Makes This Special?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Multi-Region Architecture
&lt;/h3&gt;

&lt;p&gt;I implemented two network patterns to demonstrate real-world scenarios:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pattern 1: Private Subnet with VPC Endpoints (eu-central-1)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;2 Amazon Linux instances in private subnets&lt;/li&gt;
&lt;li&gt;Zero internet access&lt;/li&gt;
&lt;li&gt;Communication via VPC endpoints (SSM, S3)&lt;/li&gt;
&lt;li&gt;Perfect for production workloads requiring strict isolation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Pattern 2: Public Subnet with Internet Gateway (eu-west-1)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;1 Windows instance&lt;/li&gt;
&lt;li&gt;Internet gateway for updates&lt;/li&gt;
&lt;li&gt;Suitable for dev/test environments&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Automated Data Pipeline
&lt;/h3&gt;

&lt;p&gt;Systems Manager collects 9 types of inventory data:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Instance information (OS, platform, IP addresses)&lt;/li&gt;
&lt;li&gt;Patch compliance status&lt;/li&gt;
&lt;li&gt;Installed applications and versions&lt;/li&gt;
&lt;li&gt;Windows updates&lt;/li&gt;
&lt;li&gt;Network configurations&lt;/li&gt;
&lt;li&gt;Running services&lt;/li&gt;
&lt;li&gt;File inventory&lt;/li&gt;
&lt;li&gt;Custom tags&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All data automatically syncs to a central S3 bucket every 30 minutes.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Serverless Processing
&lt;/h3&gt;

&lt;p&gt;AWS Glue crawlers automatically:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Discover new inventory data&lt;/li&gt;
&lt;li&gt;Create/update table schemas&lt;/li&gt;
&lt;li&gt;Catalog data for querying&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No servers to manage, no infrastructure to maintain.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Interactive Dashboards
&lt;/h3&gt;

&lt;p&gt;QuickSight dashboards provide:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Patch Compliance Overview:&lt;/strong&gt; See compliance percentage at a glance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Missing Patches by Severity:&lt;/strong&gt; Prioritize critical updates&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Instance Inventory:&lt;/strong&gt; Group by region, OS, or application&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trend Analysis:&lt;/strong&gt; Track compliance over time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Bonus:&lt;/strong&gt; Amazon Q integration enables natural language queries like:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Show me all Windows servers in eu-west-1 missing critical patches"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Implementation Guide
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Step 1: Setup EC2 Instances
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Region 1: eu-central-1 (Private Subnet)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Create VPC with private subnet&lt;/span&gt;
aws ec2 create-vpc &lt;span class="nt"&gt;--cidr-block&lt;/span&gt; 10.0.0.0/16 &lt;span class="nt"&gt;--region&lt;/span&gt; eu-central-1

&lt;span class="c"&gt;# Create VPC Endpoints for SSM&lt;/span&gt;
aws ec2 create-vpc-endpoint &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--vpc-id&lt;/span&gt; vpc-xxxxx &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--service-name&lt;/span&gt; com.amazonaws.eu-central-1.ssm &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--vpc-endpoint-type&lt;/span&gt; Interface

&lt;span class="c"&gt;# Launch instances with SSM role&lt;/span&gt;
aws ec2 run-instances &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--image-id&lt;/span&gt; ami-xxxxx &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--instance-type&lt;/span&gt; t3.micro &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--iam-instance-profile&lt;/span&gt; &lt;span class="nv"&gt;Name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;SSMInstanceProfile &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--subnet-id&lt;/span&gt; subnet-xxxxx &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--count&lt;/span&gt; 2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Region 2: eu-west-1 (Public Subnet)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Launch Windows instance&lt;/span&gt;
aws ec2 run-instances &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--image-id&lt;/span&gt; ami-xxxxx &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--instance-type&lt;/span&gt; t3.micro &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--iam-instance-profile&lt;/span&gt; &lt;span class="nv"&gt;Name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;SSMInstanceProfile &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--subnet-id&lt;/span&gt; subnet-xxxxx &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--region&lt;/span&gt; eu-west-1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 2: Configure Systems Manager Inventory
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Create S3 bucket for inventory data&lt;/span&gt;
aws s3 mb s3://my-ssm-inventory-bucket &lt;span class="nt"&gt;--region&lt;/span&gt; eu-central-1

&lt;span class="c"&gt;# Create Resource Data Sync (aggregates multi-region data)&lt;/span&gt;
aws ssm create-resource-data-sync &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--sync-name&lt;/span&gt; my-inventory-sync &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--s3-destination&lt;/span&gt; &lt;span class="s2"&gt;"BucketName=my-ssm-inventory-bucket,Region=eu-central-1"&lt;/span&gt;

&lt;span class="c"&gt;# Enable inventory collection&lt;/span&gt;
aws ssm create-association &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--name&lt;/span&gt; AWS-GatherSoftwareInventory &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--targets&lt;/span&gt; &lt;span class="s2"&gt;"Key=InstanceIds,Values=*"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--schedule-expression&lt;/span&gt; &lt;span class="s2"&gt;"rate(30 minutes)"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 3: Setup AWS Glue
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Create Glue database&lt;/span&gt;
aws glue create-database &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--database-input&lt;/span&gt; &lt;span class="s1"&gt;'{"Name":"ssm_inventory_db"}'&lt;/span&gt;

&lt;span class="c"&gt;# Create Glue crawler&lt;/span&gt;
aws glue create-crawler &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--name&lt;/span&gt; ssm-inventory-crawler &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--role&lt;/span&gt; GlueServiceRole &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--database-name&lt;/span&gt; ssm_inventory_db &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--targets&lt;/span&gt; &lt;span class="s1"&gt;'{"S3Targets":[{"Path":"s3://my-ssm-inventory-bucket/"}]}'&lt;/span&gt;

&lt;span class="c"&gt;# Run crawler&lt;/span&gt;
aws glue start-crawler &lt;span class="nt"&gt;--name&lt;/span&gt; ssm-inventory-crawler
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 4: Query with Athena
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="c1"&gt;-- Check patch compliance across all instances&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; 
    &lt;span class="n"&gt;instanceid&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;platformname&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;patchgroup&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;installedcount&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;missingcount&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;failedcount&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;ROUND&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;installedcount&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;installedcount&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;missingcount&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;compliance_percentage&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;ssm_inventory_db&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;aws_patchsummary&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;missingcount&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="k"&gt;ORDER&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;missingcount&lt;/span&gt; &lt;span class="k"&gt;DESC&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;-- Find instances with critical missing patches&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; 
    &lt;span class="n"&gt;instanceid&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;severity&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="k"&gt;state&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;ssm_inventory_db&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;aws_patchcompliance&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="k"&gt;state&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Missing'&lt;/span&gt; 
  &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;severity&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Critical'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 5: Create QuickSight Dashboard
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Subscribe to QuickSight Enterprise Edition&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Grant S3 and Athena permissions&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Create datasets from Athena tables&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build visualizations:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Donut chart: Patch compliance percentage&lt;/li&gt;
&lt;li&gt;Bar chart: Missing patches by severity&lt;/li&gt;
&lt;li&gt;Table: Instance inventory with drill-down&lt;/li&gt;
&lt;li&gt;Line chart: Compliance trends over time&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvdw8znbx3b5om581yq08.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvdw8znbx3b5om581yq08.png" alt="Analysis Dashboard" width="790" height="591"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4wuzj8ty6kx82v5uecik.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4wuzj8ty6kx82v5uecik.png" alt="Analysis Dashboard" width="779" height="545"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F579oli9xfvr1qk6k9p9v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F579oli9xfvr1qk6k9p9v.png" alt="Analysis Dashboard" width="777" height="534"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Data Flow
&lt;/h2&gt;

&lt;h3&gt;
  
  
  End to End Data Pipeline
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy0opc8akfojvuvhh2o97.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy0opc8akfojvuvhh2o97.png" alt="SSM Data Pipeline-5 Stage Flow" width="644" height="226"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Insights &amp;amp; Learnings
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. VPC Endpoints Are Essential
&lt;/h3&gt;

&lt;p&gt;For private subnet instances, VPC endpoints are non-negotiable. Without them, SSM agents can't communicate with AWS services.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cost:&lt;/strong&gt; ~$0.01/hour per endpoint (~$7/month)&lt;br&gt;
&lt;strong&gt;Value:&lt;/strong&gt; Priceless for security compliance&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Resource Data Sync Simplifies Multi-Region
&lt;/h3&gt;

&lt;p&gt;Instead of managing separate S3 buckets per region, Resource Data Sync aggregates everything into one location. This makes Glue crawling and Athena queries much simpler.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Glue Crawlers Are Smart
&lt;/h3&gt;

&lt;p&gt;Glue automatically detects schema changes and creates partitions. When SSM adds new inventory types, the crawler adapts without manual intervention.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. QuickSight + Amazon Q = Game Changer
&lt;/h3&gt;

&lt;p&gt;Non-technical stakeholders can ask questions in plain English:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Which servers need patching?"&lt;/li&gt;
&lt;li&gt;"Show me compliance by region"&lt;/li&gt;
&lt;li&gt;"What applications are installed on production servers?"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No SQL knowledge required.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cost Breakdown
&lt;/h2&gt;

&lt;p&gt;For a 50-instance deployment:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;EC2&lt;/td&gt;
&lt;td&gt;Variable&lt;/td&gt;
&lt;td&gt;Existing instances&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Systems Manager&lt;/td&gt;
&lt;td&gt;$0&lt;/td&gt;
&lt;td&gt;Inventory is free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;S3&lt;/td&gt;
&lt;td&gt;~$1/month&lt;/td&gt;
&lt;td&gt;Minimal data storage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Glue&lt;/td&gt;
&lt;td&gt;~$5/month&lt;/td&gt;
&lt;td&gt;Crawler runs + catalog&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Athena&lt;/td&gt;
&lt;td&gt;~$5/month&lt;/td&gt;
&lt;td&gt;$5 per TB scanned&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;QuickSight&lt;/td&gt;
&lt;td&gt;$24/user/month&lt;/td&gt;
&lt;td&gt;Enterprise Edition&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VPC Endpoints&lt;/td&gt;
&lt;td&gt;~$21/month&lt;/td&gt;
&lt;td&gt;3 endpoints × $7&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Total:&lt;/strong&gt; ~$56/month for enterprise-grade visibility&lt;/p&gt;

&lt;p&gt;Compare this to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Manual process: 2-3 hours/week × $50/hour = $400-600/month&lt;/li&gt;
&lt;li&gt;Third-party tools: $100-500/month&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;ROI:&lt;/strong&gt; Positive from day one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Real-World Impact
&lt;/h2&gt;

&lt;p&gt;After implementing this solution:&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Reduced patch compliance checking from 3 hours to 5 seconds&lt;/strong&gt;&lt;br&gt;
✅ &lt;strong&gt;Identified 15 instances with critical missing patches immediately&lt;/strong&gt;&lt;br&gt;
✅ &lt;strong&gt;Automated monthly compliance reports for security audits&lt;/strong&gt;&lt;br&gt;
✅ &lt;strong&gt;Discovered unused applications, saving licensing costs&lt;/strong&gt;&lt;br&gt;
✅ &lt;strong&gt;Enabled proactive patching before vulnerabilities are exploited&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;This PoC can be extended with:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Automated Patching:&lt;/strong&gt; Integrate with SSM Patch Manager for automatic remediation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Alerting:&lt;/strong&gt; SNS notifications when compliance drops below threshold&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-Account:&lt;/strong&gt; AWS Organizations integration for enterprise-wide visibility&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom Inventory:&lt;/strong&gt; Track business-specific configurations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compliance Policies:&lt;/strong&gt; Enforce patching SLAs with automated workflows&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Lessons Learned
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Start small:&lt;/strong&gt; Begin with 2-3 instances, validate the pipeline, then scale&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test both network patterns:&lt;/strong&gt; Private subnets require VPC endpoints&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Monitor Glue crawler costs:&lt;/strong&gt; Schedule crawlers wisely (daily is usually enough)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use Athena partitions:&lt;/strong&gt; Partition by date to reduce query costs&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Building this enterprise patching dashboard taught me that &lt;strong&gt;visibility is the foundation of security&lt;/strong&gt;. You can't patch what you can't see.&lt;/p&gt;

&lt;p&gt;This solution demonstrates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Multi-region AWS architecture&lt;/li&gt;
&lt;li&gt;Serverless data engineering&lt;/li&gt;
&lt;li&gt;Security best practices&lt;/li&gt;
&lt;li&gt;Real-world problem solving&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whether you're managing 10 servers or 10,000, this pattern scales effortlessly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The best part?&lt;/strong&gt; It's 100% serverless. Deploy it, forget it, and let AWS handle the rest.&lt;/p&gt;




&lt;h2&gt;
  
  
  Reach Out to Us
&lt;/h2&gt;

&lt;p&gt;Interested in modernizing your cloud infrastructure and implementing enterprise-grade solutions? &lt;strong&gt;Storm Reply&lt;/strong&gt; is committed to continuous learning and innovation. Our team specializes in building scalable AWS architectures to support customers on their cloud journey—from initial assessment to full deployment.&lt;/p&gt;

&lt;p&gt;With expertise in AWS architecture, data engineering, and security best practices, we can help enterprises migrate confidently and accelerate their cloud transformation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let's connect and discuss how we can support your modernization initiatives.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;🌐 Visit: [&lt;a href="https://www.stormreply.cloud/" rel="noopener noreferrer"&gt;https://www.stormreply.cloud/&lt;/a&gt;]&lt;br&gt;&lt;br&gt;
💼 LinkedIn: [&lt;a href="https://www.linkedin.com/company/storm-reply/posts/?feedView=all" rel="noopener noreferrer"&gt;https://www.linkedin.com/company/storm-reply/posts/?feedView=all&lt;/a&gt;]&lt;/p&gt;

</description>
      <category>aws</category>
      <category>devops</category>
      <category>cloud</category>
      <category>dataengineering</category>
    </item>
    <item>
      <title>AWS Blu Age Modernization</title>
      <dc:creator>Debapriya Dey</dc:creator>
      <pubDate>Tue, 25 Nov 2025 21:10:21 +0000</pubDate>
      <link>https://dev.to/debapriya_dey_aada54b7766/aws-blu-age-modernization-my-journey-through-all-3-certification-levels-18c5</link>
      <guid>https://dev.to/debapriya_dey_aada54b7766/aws-blu-age-modernization-my-journey-through-all-3-certification-levels-18c5</guid>
      <description>&lt;h2&gt;
  
  
  About AWS Blu Age?
&lt;/h2&gt;

&lt;p&gt;AWS Blu Age is an automated mainframe modernization solution that transforms legacy COBOL applications into modern Java Spring Boot applications running on AWS. It's part of AWS Mainframe Modernization service and uses AI-powered refactoring to convert decades-old code into cloud-native applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Value&lt;/strong&gt;: Instead of manually rewriting millions of lines of COBOL code (which takes years), Blu Age automates 85-95% of the transformation in weeks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why It Matters
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The Problem&lt;/strong&gt;: Organizations run critical business applications on mainframes but face:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;High operational costs (licensing, hardware, specialized staff)&lt;/li&gt;
&lt;li&gt;Scarce COBOL talent&lt;/li&gt;
&lt;li&gt;Inability to innovate quickly&lt;/li&gt;
&lt;li&gt;Difficulty integrating with modern systems&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa2xn7mmt4u8jju4p5q6d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa2xn7mmt4u8jju4p5q6d.png" alt=" " width="800" height="344"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Solution&lt;/strong&gt;: Blu Age transforms:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;COBOL → Java Spring Boot&lt;/li&gt;
&lt;li&gt;JCL batch jobs → AWS Batch/Step Functions&lt;/li&gt;
&lt;li&gt;CICS transactions → REST APIs&lt;/li&gt;
&lt;li&gt;DB2/IMS → PostgreSQL/Aurora&lt;/li&gt;
&lt;li&gt;Mainframe → AWS Cloud&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu9idr3x7ii5hd7vagx00.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu9idr3x7ii5hd7vagx00.png" alt=" " width="800" height="330"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flq0zuc5vhta92o4dd44c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flq0zuc5vhta92o4dd44c.png" alt=" " width="800" height="522"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Core Components
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Blu Insights&lt;/strong&gt;: Assessment tool to analyze mainframe code and create transformation roadmap&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Refactoring Engine&lt;/strong&gt;: Automated code transformation with customizable rules&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blu Age Runtime&lt;/strong&gt;: Modern Java runtime environment for refactored applications&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blu Age Developer&lt;/strong&gt;: IDE for post-transformation customization&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fspgqcl4hsx9u8zeilsmr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fspgqcl4hsx9u8zeilsmr.png" alt=" " width="800" height="322"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My Certification Journey
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Level 1: Foundations (Black Belt)
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Focus&lt;/strong&gt;: Understanding mainframe modernization fundamentals&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I Learned&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Mainframe basics (COBOL, JCL, CICS, DB2)&lt;/li&gt;
&lt;li&gt;AWS Mainframe Modernization service architecture&lt;/li&gt;
&lt;li&gt;Assessment methodology using Blu Insights&lt;/li&gt;
&lt;li&gt;Transformation strategies (Rehost vs Replatform vs Refactor)&lt;/li&gt;
&lt;li&gt;Business case development and ROI calculation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Key Takeaway&lt;/strong&gt;: Proper assessment is critical. Blu Insights analyzes your codebase to identify complexity, dependencies, and transformation effort before you start.&lt;/p&gt;

&lt;h3&gt;
  
  
  Level 2: Advanced Refactoring
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Focus&lt;/strong&gt;: Hands-on transformation and implementation&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I Learned&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Deep dive into refactoring engine mechanics&lt;/li&gt;
&lt;li&gt;Custom transformation rules and patterns&lt;/li&gt;
&lt;li&gt;Database migration strategies (DB2 to PostgreSQL)&lt;/li&gt;
&lt;li&gt;Batch processing transformation (JCL to AWS Batch)&lt;/li&gt;
&lt;li&gt;Online transaction processing (CICS to Spring Boot REST APIs)&lt;/li&gt;
&lt;li&gt;Testing and validation approaches&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Key Takeaway&lt;/strong&gt;: The refactoring engine is highly accurate, but you need to understand the patterns to customize transformations for complex business logic.&lt;/p&gt;

&lt;h3&gt;
  
  
  Level 3: Expert Delivery
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Focus&lt;/strong&gt;: Production-ready implementations and customer delivery&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I Learned&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;End-to-end project delivery methodology&lt;/li&gt;
&lt;li&gt;Production deployment strategies (ECS, EKS, EC2)&lt;/li&gt;
&lt;li&gt;Performance optimization and tuning&lt;/li&gt;
&lt;li&gt;Ad-hoc modifications and customizations&lt;/li&gt;
&lt;li&gt;Customer POC execution&lt;/li&gt;
&lt;li&gt;Go-live planning and cutover strategies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Advanced Topics&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Microservices decomposition&lt;/li&gt;
&lt;li&gt;CI/CD pipeline setup&lt;/li&gt;
&lt;li&gt;Monitoring and observability&lt;/li&gt;
&lt;li&gt;Troubleshooting production issues&lt;/li&gt;
&lt;li&gt;Leading customer workshops&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Hands-On&lt;/strong&gt;: Worked with CardDemo sample application - a complete mainframe banking app with COBOL programs, CICS transactions, VSAM files, and DB2 databases. Transformed it end-to-end.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Takeaway&lt;/strong&gt;: Success isn't just about transformation - it's about delivering production-ready, performant applications with proper DevOps practices.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Modernization Process
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Assessment (Blu Insights)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Upload mainframe source code&lt;/li&gt;
&lt;li&gt;Analyze application portfolio&lt;/li&gt;
&lt;li&gt;Identify dependencies and complexity&lt;/li&gt;
&lt;li&gt;Generate effort estimates&lt;/li&gt;
&lt;li&gt;Create transformation roadmap&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Refactoring
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Configure transformation rules&lt;/li&gt;
&lt;li&gt;Execute automated refactoring&lt;/li&gt;
&lt;li&gt;Generate Java Spring Boot code&lt;/li&gt;
&lt;li&gt;Transform data structures&lt;/li&gt;
&lt;li&gt;Create AWS deployment artifacts&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Testing
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Automated test generation&lt;/li&gt;
&lt;li&gt;Functional equivalence testing&lt;/li&gt;
&lt;li&gt;Performance benchmarking&lt;/li&gt;
&lt;li&gt;User acceptance testing&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. Deployment
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Deploy to AWS (containerized or VM-based)&lt;/li&gt;
&lt;li&gt;Configure monitoring (CloudWatch, X-Ray)&lt;/li&gt;
&lt;li&gt;Set up CI/CD pipelines&lt;/li&gt;
&lt;li&gt;Implement security controls&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  5. Optimization
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Performance tuning&lt;/li&gt;
&lt;li&gt;Cost optimization&lt;/li&gt;
&lt;li&gt;Microservices decomposition&lt;/li&gt;
&lt;li&gt;Cloud-native enhancements&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Real-World Applications
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Financial Services&lt;/strong&gt;: Core banking systems, payment processing&lt;br&gt;
&lt;strong&gt;Insurance&lt;/strong&gt;: Policy administration, claims processing&lt;br&gt;
&lt;strong&gt;Government&lt;/strong&gt;: Tax systems, benefits administration&lt;br&gt;
&lt;strong&gt;Retail&lt;/strong&gt;: Inventory management, order processing&lt;/p&gt;

&lt;h2&gt;
  
  
  Certification Path
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Basic mainframe knowledge (helpful but not required)&lt;/li&gt;
&lt;li&gt;AWS fundamentals&lt;/li&gt;
&lt;li&gt;Java basics (for Level 2+)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Steps&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Join AWS Partner Network (APN)&lt;/li&gt;
&lt;li&gt;Complete AWS Mainframe Modernization training&lt;/li&gt;
&lt;li&gt;Pass Level 1 exam (foundations)&lt;/li&gt;
&lt;li&gt;Complete hands-on labs for Level 2&lt;/li&gt;
&lt;li&gt;Pass Level 2 exam (refactoring)&lt;/li&gt;
&lt;li&gt;Participate in customer POCs for Level 3&lt;/li&gt;
&lt;li&gt;Pass Level 3 exam (expert delivery)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Study Resources&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AWS Skill Builder courses&lt;/li&gt;
&lt;li&gt;AWS Partner Central training&lt;/li&gt;
&lt;li&gt;Blu Age documentation&lt;/li&gt;
&lt;li&gt;Sample applications (CardDemo, GenApp)&lt;/li&gt;
&lt;li&gt;Hands-on workshops&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key Lessons Learned
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Assessment First&lt;/strong&gt;: Never skip the assessment phase. Understanding your codebase complexity saves time later.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Start Small&lt;/strong&gt;: Begin with non-critical applications to build confidence and refine your process.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Trust the Automation&lt;/strong&gt;: The refactoring engine is highly accurate (85-95%), but always validate outputs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data Migration is Critical&lt;/strong&gt;: Plan database migration early. It's often more complex than code transformation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;DevOps from Day One&lt;/strong&gt;: Set up CI/CD pipelines immediately to accelerate testing and deployment.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Business Involvement&lt;/strong&gt;: Keep business stakeholders engaged throughout the process for validation.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Common Challenges &amp;amp; Solutions
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Challenge&lt;/strong&gt;: Complex business logic in COBOL&lt;br&gt;
&lt;strong&gt;Solution&lt;/strong&gt;: Use custom transformation rules and pattern recognition&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Challenge&lt;/strong&gt;: Data migration complexity&lt;br&gt;
&lt;strong&gt;Solution&lt;/strong&gt;: Leverage AWS DMS alongside Blu Age for seamless migration&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Challenge&lt;/strong&gt;: Testing effort&lt;br&gt;
&lt;strong&gt;Solution&lt;/strong&gt;: Automate test generation and use equivalence testing&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Challenge&lt;/strong&gt;: Skills gap&lt;br&gt;
&lt;strong&gt;Solution&lt;/strong&gt;: Hybrid teams with mainframe + cloud expertise&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Get Certified?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Career Growth&lt;/strong&gt;: Mainframe modernization is a multi-billion dollar market&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unique Skillset&lt;/strong&gt;: Combination of legacy and modern cloud skills is rare&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Customer Demand&lt;/strong&gt;: Enterprises are actively seeking certified professionals&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hands-On Experience&lt;/strong&gt;: Certification provides practical, real-world skills&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS Recognition&lt;/strong&gt;: Official AWS partner certification&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Completing all three levels of AWS Blu Age certification has been transformative. The technology is mature, proven, and capable of handling the most complex mainframe modernization challenges. &lt;/p&gt;

&lt;p&gt;If you're a solutions architect, developer, or IT leader, AWS Blu Age opens doors to exciting modernization opportunities. The mainframe era isn't ending - it's evolving into cloud-native applications that preserve decades of business logic while enabling modern innovation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ready to start?&lt;/strong&gt; &lt;a href="https://aws.amazon.com/mainframe-modernization/" rel="noopener noreferrer"&gt;Visit AWS Mainframe Modernization service page &lt;/a&gt;and begin your &lt;a href="https://bluinsights.aws/certification/" rel="noopener noreferrer"&gt;Level 1 certification journey&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reach Out to Us
&lt;/h2&gt;

&lt;p&gt;Interested in modernizing your mainframe applications with AWS Blu Age? Storm Reply is committed to continuous learning and innovation. Our team is building the Blu Age expertise to support customers on their modernization path—from initial assessment to full refactoring and deployment.&lt;/p&gt;

&lt;p&gt;With a blend of mainframe understanding, AWS architecture knowledge, and Java engineering skills, we can help enterprises migrate confidently and accelerate their cloud journey.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let's connect and discuss how we can support your modernization initiatives.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;🌐 Visit: [&lt;a href="https://www.stormreply.cloud" rel="noopener noreferrer"&gt;https://www.stormreply.cloud&lt;/a&gt;]&lt;br&gt;&lt;br&gt;
💼 LinkedIn: [&lt;a href="https://www.linkedin.com/company/storm-reply/posts/?feedView=all" rel="noopener noreferrer"&gt;https://www.linkedin.com/company/storm-reply/posts/?feedView=all&lt;/a&gt;]&lt;/p&gt;




</description>
      <category>learning</category>
      <category>java</category>
      <category>ai</category>
      <category>aws</category>
    </item>
  </channel>
</rss>
