Category: Cloud Architecting

  • The Boring Stack Behind My API Side Product

    The Boring Stack Behind My API Side Product

    If you remember, SEO Score API started as my OpenClaw experiment on a single EC2 instance. Nine months later it’s still on one box, and honestly that’s on purpose.

    Here’s the whole stack:

    • FastAPI, as plain modules: one file for the app and one per job (audits, keys, billing, email).
    • SQLite in WAL mode for keys and usage, backed up off the box.
    • One EC2 instance behind nginx, in its own AWS account.
    • Blue-green deploys with systemd, run by GitHub Actions.
    • Amazon SES for email, Stripe for billing, Terraform for the infrastructure.

    That’s it. No Postgres, no containers, no orchestration platform.

    Why so boring? Because I work on this in the evenings. When something breaks at 11pm I want one box, one database file and one log. I know exactly where to look.

    SQLite surprises people the most. An API key lookup is a single indexed read, and I’ll move to Postgres the day it hurts, not before. The one setting that matters is write-ahead logging, so readers keep going while a write happens:

    conn.execute("PRAGMA journal_mode=WAL;")

    The catch is that the database is a file on one server, so backups aren’t optional. If the instance disappeared tomorrow I’d rebuild it with Terraform and restore the file.

    Blue-green is the part I’d recommend to anyone. Two systemd services run the same app on two ports. GitHub Actions puts the new code in the idle slot, a health check hits it, and only if it passes does nginx switch over. A bad build never takes traffic. Before this, a bad deploy meant downtime. Now deploys are boring too, which is exactly what I want.

    To be clear, EC2 is the right call for this product specifically. Audits can run long and some drive a headless browser, which suits a server that’s always on. Everywhere else my default is serverless.

    If I did it again, I’d put it in its own AWS account from day one. Moving it in October took longer than building most features!

    If you’re building an API side project and want to compare notes, feel free to reach out. The API docs are here if you want to poke at the result.

  • How to give Claude read-only access to your AWS account for cost savings work

    How to give Claude read-only access to your AWS account for cost savings work

    Last year I wrote about building an AWS cost analysis agent with Strands. It looked at my account and pointed out things to clean up. I made a few of the changes it suggested and my bill dropped by about $100 a month.

    Since then I’ve done a lot more of this work, and I don’t usually use a custom agent for it anymore. I open Claude Code in a terminal, point it at the account, and ask it where the money is going. It’s very good at this. It can pull a month of Cost Explorer data, notice that NAT Gateway data processing is 30% of the bill, find which subnets are behind it, and explain why, all in about the time it takes me to find the right page in the Billing console.

    The hard part isn’t the AI. It’s the permissions. You’re giving a model a shell and AWS credentials. This post covers how I set that up so Claude can see everything it needs to find savings, can’t change anything, and can’t read my data.

    The rule: Claude finds, I fix

    Here’s the split I use:

    • Claude reads cost data, metrics and resource metadata, then gives me a list of findings with the exact CLI commands to fix each one.
    • I read the list, decide what to do, and run the changes myself with my own credentials.

    Claude never has write access, not even “just for snapshots” or “just for tags.” Cost work is all reading and reasoning. The changes are usually a few commands I want to look at before anything gets deleted anyway.

    Mistake #1: ReadOnlyAccess isn’t read-only enough

    My first version attached AWS’s managed ReadOnlyAccess policy to an IAM user. It seems like the obvious choice, and it’s the wrong one.

    “Read-only” means the role can’t change anything. It doesn’t mean the role can’t see anything. ReadOnlyAccess lets you:

    • Download any object in any S3 bucket (s3:GetObject)
    • Scan or query any DynamoDB table
    • Read every CloudWatch log event
    • Read Lambda function configurations, which include environment variables (where plenty of people still keep API keys)
    • Read SSM parameters, EC2 user data, CloudFormation templates and more

    None of that helps with cost work. Claude doesn’t need to know what’s in a bucket to tell you it has no lifecycle policy and 4 TB in Standard storage. It needs the size, the storage class and the configuration. That’s metadata, not data.

    So the starting point is AWS’s ViewOnlyAccess job-function policy instead. It covers the List* and Describe* calls across services without the data reads. Then you add the cost-specific permissions it lacks, plus an explicit deny on data reads as a backstop.

    Mistake #2: long-lived access keys

    The first version also made an IAM user and wrote its access keys to a .env file. Those keys never expire, and they sat in a project folder on my laptop. Not great.

    Use a role instead. You assume it from your normal credentials and get temporary credentials that expire after an hour. If something leaks, it’s useless by lunch.

    Step 1: Create the role

    All the examples below use account 111122223333. Replace it with yours, and replace the user ARN with whatever identity you normally log in as.

    trust.json only lets you assume the role:

    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Principal": { "AWS": "arn:aws:iam::111122223333:root" },
          "Action": "sts:AssumeRole",
          "Condition": {
            "ArnEquals": { "aws:PrincipalArn": "arn:aws:iam::111122223333:user/aaron" }
          }
        }
      ]
    }

    cost-analysis.json adds the cost permissions and the denies:

    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "CostAndPricing",
          "Effect": "Allow",
          "Action": [
            "ce:Get*", "ce:Describe*", "ce:List*",
            "pricing:*",
            "compute-optimizer:Get*",
            "cost-optimization-hub:List*", "cost-optimization-hub:Get*",
            "savingsplans:Describe*",
            "budgets:ViewBudget"
          ],
          "Resource": "*"
        },
        {
          "Sid": "Metrics",
          "Effect": "Allow",
          "Action": ["cloudwatch:GetMetric*", "cloudwatch:ListMetrics"],
          "Resource": "*"
        },
        {
          "Sid": "StorageMetadata",
          "Effect": "Allow",
          "Action": [
            "s3:GetBucketLocation",
            "s3:GetBucketTagging",
            "s3:GetLifecycleConfiguration",
            "s3:GetIntelligentTieringConfiguration",
            "tag:GetResources"
          ],
          "Resource": "*"
        },
        {
          "Sid": "DenyDataReads",
          "Effect": "Deny",
          "Action": [
            "s3:GetObject*",
            "dynamodb:GetItem", "dynamodb:BatchGetItem", "dynamodb:Query",
            "dynamodb:Scan", "dynamodb:PartiQLSelect",
            "secretsmanager:GetSecretValue", "secretsmanager:BatchGetSecretValue",
            "ssm:GetParameter*",
            "kms:Decrypt",
            "logs:GetLogEvents", "logs:FilterLogEvents", "logs:StartQuery",
            "logs:GetQueryResults", "logs:StartLiveTail", "logs:Unmask",
            "lambda:GetFunction", "lambda:GetFunctionConfiguration",
            "ecs:DescribeTaskDefinition",
            "ec2:DescribeInstanceAttribute", "ec2:GetConsoleOutput", "ec2:GetPasswordData",
            "cloudformation:GetTemplate",
            "sqs:ReceiveMessage",
            "kinesis:GetRecords",
            "athena:GetQueryResults"
          ],
          "Resource": "*"
        }
      ]
    }

    An explicit Deny always beats an Allow in IAM. Even if AWS adds something to ViewOnlyAccess later, or you attach another policy by mistake, those reads stay blocked.

    Now create the role (with your admin credentials, not Claude’s):

    aws iam create-role \
      --role-name ClaudeReadOnly \
      --assume-role-policy-document file://trust.json \
      --max-session-duration 3600
    
    aws iam attach-role-policy \
      --role-name ClaudeReadOnly \
      --policy-arn arn:aws:iam::aws:policy/job-function/ViewOnlyAccess
    
    aws iam put-role-policy \
      --role-name ClaudeReadOnly \
      --policy-name ClaudeCostAnalysis \
      --policy-document file://cost-analysis.json

    If you use IAM Identity Center (SSO), do the same thing as a permission set: attach ViewOnlyAccess as the managed policy and paste cost-analysis.json in as the inline policy.

    Step 2: Turn on the free recommendation engines

    Two AWS services do a lot of the analysis for you. Both are free, and both need a one-time opt-in:

    • Compute Optimizer produces rightsizing recommendations for EC2, EBS, Lambda, ECS on Fargate and RDS from your actual CloudWatch metrics.
    • Cost Optimization Hub gathers savings opportunities (rightsizing, idle resources, Savings Plans, Graviton moves) in one place with dollar estimates.

    Turn them on in the console, or ask Claude to tell you how. Give them a day or so to gather data. With them on, Claude can start from AWS’s own numbers instead of working everything out from raw metrics.

    Step 3: Add a CLI profile

    Add this to ~/.aws/config:

    [profile claude-readonly]
    role_arn = arn:aws:iam::111122223333:role/ClaudeReadOnly
    source_profile = default
    role_session_name = claude-code
    duration_seconds = 3600
    region = us-east-1

    The role_session_name matters more than it looks. Every API call Claude makes shows up in CloudTrail tagged claude-code, so you can always go back and see exactly what it looked at.

    Step 4: Prove it’s actually read-only

    Don’t take my word for it, or yours. Test it.

    Check that the profile works and Claude can see costs:

    aws sts get-caller-identity --profile claude-readonly
    
    aws ce get-cost-and-usage \
      --time-period Start=2026-10-01,End=2026-11-01 \
      --granularity MONTHLY --metrics UnblendedCost \
      --group-by Type=DIMENSION,Key=SERVICE \
      --profile claude-readonly

    Check that it can’t change anything. --dry-run asks EC2 “would this be allowed?” without doing it:

    aws ec2 stop-instances --instance-ids i-0123456789abcdef0 \
      --dry-run --profile claude-readonly
    # An error occurred (UnauthorizedOperation) ...

    Then use the IAM policy simulator (with your admin profile) to check the denies:

    aws iam simulate-principal-policy \
      --policy-source-arn arn:aws:iam::111122223333:role/ClaudeReadOnly \
      --action-names s3:GetObject lambda:GetFunctionConfiguration \
                     ssm:GetParameter ec2:TerminateInstances ce:GetCostAndUsage \
      --query 'EvaluationResults[].[EvalActionName,EvalDecision]' --output table

    You want explicitDeny on the data reads, implicitDeny on TerminateInstances, and allowed on GetCostAndUsage. If anything else shows up, fix the policy before Claude gets near it.

    Terminal output of aws iam simulate-principal-policy: s3:GetObject, lambda:GetFunctionConfiguration and ssm:GetParameter are explicitDeny, ec2:TerminateInstances is implicitDeny, and ce:GetCostAndUsage is allowed
    Real output from the simulator against the role. The account ID in the command is swapped for the example one.

    Step 5: Set up Claude Code

    I keep a separate folder for cost work, e.g. ~/aws-cost-review, with two files in it.

    .claude/settings.json makes the read-only profile the default for every command Claude runs in this folder:

    {
      "env": {
        "AWS_PROFILE": "claude-readonly"
      },
      "permissions": {
        "deny": [
          "Bash(aws configure:*)",
          "Read(~/.aws/credentials)"
        ]
      }
    }

    CLAUDE.md lays out the ground rules:

    # AWS cost review
    
    - You are working with read-only AWS access (profile: claude-readonly).
      Never pass a different --profile. Never ask me for other credentials.
    - Your job is to find savings, not to make changes. For every finding, give:
      what it is, the resource ID, estimated monthly savings, the risk,
      and the exact command I would run to fix it.
    - Cost Explorer API calls cost $0.01 each. Save results to ./data/
      as JSON and reuse them instead of calling again.
    - Start with Cost Optimization Hub and Compute Optimizer recommendations,
      then confirm them against CloudWatch metrics before recommending anything.
    - Check every enabled region, not just us-east-1.

    To be honest about what this does: the settings file and CLAUDE.md are seatbelts, not the security boundary. The IAM role is the boundary. If your admin credentials are sitting on the same machine, a determined process could still find them. If you want to be strict, run Claude Code in a container or a separate OS user where the read-only profile is the only credential that exists. For my own accounts, the role plus the settings file is where I’m comfortable.

    Step 6: Ask it to find money

    Start Claude Code in that folder and give it something like:

    Review this AWS account for cost savings. Break down the last 3 months of spend by service and flag anything that grew more than 20%. Then look for idle and oversized resources: unattached EBS volumes, old snapshots, unused Elastic IPs, idle load balancers, NAT Gateways with heavy data processing, oversized EC2 and RDS instances, and S3 buckets with no lifecycle policy. Rank the findings by monthly savings and give me the fix command for each one.

    What you get back is a ranked list. Each item has the resource, why it costs what it does, what Claude would change, and the command to do it. I go down the list, check anything that looks risky, and run the changes myself.

    A Claude Code cost review in a terminal: nine findings ranked by monthly savings, from a 30 dollar a month Aurora reservation down to S3 lifecycle policies, plus the checks that came back clean. Account identifiers are redacted.
    Part of a real review of one of my accounts through this role. Identifiers are redacted.

    Things it reliably finds in almost every account I’ve pointed it at:

    • EBS volumes and snapshots left behind after an instance was terminated
    • gp2 volumes that should be gp3 (cheaper and faster, and the change happens online)
    • NAT Gateway data processing that a VPC endpoint for S3 or DynamoDB would remove
    • EC2 and RDS instances averaging single-digit CPU for months
    • CloudWatch log groups set to never expire
    • Old-generation instance types with a cheaper current-gen or Graviton equivalent

    A couple of cost notes

    Most of this is free. The two exceptions:

    • Cost Explorer API: $0.01 per request. A thorough review might make a few dozen calls. That’s why the CLAUDE.md tells Claude to cache results.
    • CloudWatch GetMetricData: a small charge per thousand metrics requested. You’ll only notice it on a very large account.

    Compared to what it usually finds, the bill for the review is a rounding error.

    More than one account?

    If you have an AWS Organization, you want this role in every member account. Then Claude assumes into each account from one place. The trust policy in each member account should trust your management or tooling account instead of a user in the same account.

    I published the same role as a Terraform module, including an organization submodule that rolls it out to every account in your OUs with a CloudFormation StackSet: github.com/SpendSaw/terraform-aws-spendsaw-role. It’s the role my product, Spendsaw, uses to scan accounts, so it’s tested against real ones. The policy there is the full version of the trimmed-down one above. You can use the module without Spendsaw. Just point the trust policy at your own account.

    Cleaning up

    When you’re done, or if you ever want to cut Claude off, delete the role. That’s it.

    aws iam delete-role-policy --role-name ClaudeReadOnly --policy-name ClaudeCostAnalysis
    aws iam detach-role-policy --role-name ClaudeReadOnly \
      --policy-arn arn:aws:iam::aws:policy/job-function/ViewOnlyAccess
    aws iam delete-role --role-name ClaudeReadOnly

    Wrapping up

    Pointing AI at your AWS bill is one of the highest-return things you can do with it right now. It’s tedious work that needs to look across a lot of services at once, and that’s exactly what these models are good at. You just have to set it up so a bad suggestion stays a suggestion.

    To recap: use a role, not access keys. Use ViewOnlyAccess plus cost permissions, not ReadOnlyAccess. Explicitly deny data reads. Test it before you trust it. Have Claude hand you commands instead of running them.

    If you set this up and want a second set of eyes on the policy, or you want to compare notes on what it found, reach out!

    Don’t miss an update

  • Building a new SES Monitoring tool

    Building a new SES Monitoring tool

    I’ve been using AWS SES (Simple Email Service) for a long time. I jumped through all the hoops to get production approval. I’ve spent time setting it up and configuring it. I monitor the reputation metrics religiously. But, with over 50 identities configured it’s hard to keep track of what identity might be causing reputation issues at the account level. I spent time with AI coming up with a way to monitor this at the identity level so that I get near real time for failed sends or bounces.

    The goal here is to avoid costly Cloudwatch Alarms. Utilizes nearly free infrastructure to monitor and identify poorly performing identities so that my account reputation can stay green. At the same time, i’m documenting a suppression list that could be utilized cross applications to avoid failed sendings in the future.

    In this pattern, when an email is sent the event is passed into AWS SNS. You can bolt on a separate notifier if required. At the same time, the information will be logged into a DynamoDB table.

    Separately, we have an AWS EventBridge that will run a daily report. It will show you which identities have sent mail as well as whether or not they had any failures or bounces.

    I packaged this all up as a Terraform module so that you can implement it on your own AWS account.

    If you have any feedback or comments feel free to reach out!

    GitHub Repository: https://github.com/avansledright/terraform-module-ses-monitoring

    Don’t miss an update

  • AWS Transform is the wrong tool for the job you actually have

    AWS Transform is the wrong tool for the job you actually have

    First off, I want to say I love Amazon Web Services, Kiro, and any effort that makes migrations from legacy to modern tech stacks. But, I also like the counter argument.

    AWS launched AWS Transform as “a collaborative enterprise IT transformation workbench powered by expert agents.” It promises to modernize your .NET apps 5x faster, shrink mainframe projects from “years to months,” and automate VMware migrations end to end. The marketing page claims 4.5 billion lines of code analyzed and 1.69 million hours of manual effort saved in the last twelve months.


    I’ve read the pitch. I’ve watched a couple of demos. I think most teams considering it should walk away, and I want to explain why —
    and what to do instead.

    What AWS Transform actual is

    Strip the agentic-AI gloss off and Transform is three things bundled together:

    1. A discovery and assessment layer that scans your existing estate (codebases, VMs, dependencies).
    2. A set of pre-built “agents” that perform specific transformations: .NET Framework → .NET on Linux, COBOL → Java, VMware →
      EC2, Java 8 → Java 21, and so on.
    3. A workbench (web console plus Kiro IDE integration) where humans review and approve agent output.

    It’s a continuation of a lineage: Migration Hub, MGN, App2Container, the old Microsoft Workloads tooling, the original CodeWhisperer transformation features. AWS keeps reshuffling these into new umbrella brands. Transform is the 2026 wrapper.

    That history matters, because it tells you something about the half-life of the product you’re betting on.

    My core objection: the output is shaped like AWS

    When you let an agent translate a COBOL batch job into Java, or a .NET Framework service into .NET on Linux, you don’t just get “modern code.” You get code that looks the way AWS’s agent decided modern code should look. The data access patterns it picks, the logging conventions, the way it splits modules, the runtime targets it assumes — all of that is now baked into your codebase, and none of it was a decision your team made.


    This is fine if you’re a hands-off shop that’s going to run whatever comes out the other end. It’s a disaster if you intend to own and evolve the system afterward. You will spend the next three years asking “why is it like this?” and the answer will be “because an agent decided in May 2026.”


    There’s a deeper version of this problem with mainframe and VMware work. The agent doesn’t just translate code — it picks the AWS-native destination. Step Functions instead of your existing scheduler. DynamoDB instead of “let’s think about whether this data actually fits a KV store.” Network conversion that assumes you want VPC-native everything. These are not neutral technical choices; they are commercial decisions made on AWS’s behalf, inside your repo.

    The metrics are a vendor-pitch, not a forecast

    “5x faster.” “70% lower operating costs.” “Years to months.”


    Every modernization vendor has said versions of these numbers for twenty years. They are real for the case study they came from. They are almost never what you will personally experience, because:

    • The 70% cost reduction usually compares licensed Windows Server + SQL Server Standard on owned hardware against Linux +
      an open-source database on Graviton. Most of the savings come from switching the license model, not from anything
      Transform does. You can capture that yourself.
    • The “5x faster” number is measured against a baseline of “team that has never done this before, doing it manually.” If your
      team has done a .NET migration once, your real multiplier is closer to 1.5x.
    • The mainframe-to-Java case studies almost always involve workloads that were already partially decomposed. The genuinely
      tangled mainframes the ones where modernization is actually hard are not the ones that ship as case studies.

    If a vendor’s headline metric needs four asterisks to be accurate, it isn’t really a metric.

    Modernization that skips understanding is just translation

    The thing I dislike most about Transform, and about agentic modernization in general, is that it lets you finish a project without anyone on your team understanding what they now own.


    When a senior engineer spends six months untangling a COBOL system to port it, the porting is half the value. The other half is that, at the end, someone in the building understands the system. They know where the landmines are. They can answer questions in incident review. They can tell product what’s safe to change.

    If an agent does the port, you get code on the other side and an organization that is no smarter than it was before. Worse: you now
    have a Java codebase that nobody wrote and nobody fully grasps, sitting on top of business logic nobody re-derived. The first production incident will be ugly.

    This is the same complaint people have about outsourced rewrites, and it applies cleanly to agent-driven ones.

    The Kiro and tooling lock-in

    Transform leans on Kiro, AWS’s IDE, with “pre-built playbooks.” Adopting Transform meaningfully means asking your engineers to learn Kiro, to work inside AWS’s review workflow, and to accept handoffs in a format that’s optimized for AWS’s agents to re-enter later.


    That’s a real switching cost. Two years from now, when AWS rebrands Transform into whatever comes next, those playbooks and that workflow knowledge depreciate fast.

    What to do instead

    I’m not arguing for “do nothing” or “stay on the mainframe forever.” Modernization is often the right call. But the right shape is almost always:

    1. Do the assessment yourself, or with a consultancy you’d hire anyway. The discovery piece of Transform is the least controversial part — but it’s also the part you most want to own. Knowing your own estate is a permanent capability. Renting it from an agent is not.
    2. Use general-purpose coding agents under human direction, not vertical modernization agents. Claude Code, Cursor, Copilot in agent mode these are genuinely useful for the grunt work of a migration (rewriting a thousand similar files, fixing a known refactor pattern, translating tests). The difference is that your engineer is driving, deciding the target architecture, and reading the output. The agent is a force multiplier, not a contractor.
    3. Small wins, not big-bang. Pick the highest-pain module. Modernize it. Run it alongside the old system. Cut over. Repeat. This is slower on paper than “let the agent do it all,” but it produces a team that understands the new system at each step. And you can stop whenever the remaining legacy stops costing you money — which, for a lot of mainframe workloads, is the honest answer.
    4. Separate the license/runtime change from the architecture change. If most of your savings come from leaving Windows + SQL Server, do that migration as its own project. Don’t let it get bundled with a re-architecture, because the re-architecture is where the risk lives and you want it isolated.
    5. Be honest about workloads that shouldn’t move. Some legacy systems are stable, cheap to run, and changed once a quarter. Modernizing them is a status project, not a value project. Transform’s marketing will never tell you this; a good architect will.

    TLDR:

    AWS Transform is well-engineered. The agents work. The demos are real. None of that is the question.


    The question is whether you want to end a multi-year modernization with a codebase shaped by AWS’s opinions, a team that didn’t learn the system, and a tooling dependency on a product line AWS will rename in two years.

    For most teams I’ve worked with, the answer is no. Use agents — yours, under your control — to make your own engineers faster. Keep the architectural decisions in the building. Skip the workbench

    Questions? Let me know.

    Don’t miss an update

  • Building a CloudWatch AI Agent – Architecture & Lessons Learned

    I started off this project as a simple AI agent that would help me troubleshoot issues within my AWS environments. If we wrap up an LLM inside of a Lambda function and then feed the alarms to it, have Amazon Nova Lite interpret the alarm and then give me some troubleshooting steps.

    I chose Nova Lite because of its cost and and it is quite preformant when troubleshooting AWS resources. The overall time from alarm to Slack notification was between 12 and 20 seconds.

    When I first created this solution I wanted to sell it as a monthly service. The user would deploy the routing infrastructure into their own account and I would host the LLM layer. I priced this cheap. $5 per month. That’s it.

    The problem was that nobody was interested.

    As I continued to promote the product the constant feedback was that nobody wanted to send any data to a 3rd party account. I refactored the architecture so that the LLM functionality would live in their account and the subscription would cover maintenance and support.

    Still no interest.

    At the end of the day, I created something before validating that someone actually wanted the solution. While it saves time in troubleshooting it lacks the ability to solve the problem. A human engineer might save some time discovering the root cause but they still have to fix the issue.

    I still use this setup in my personal account. I made the repository open source so that if anyone wants to utilize it they can. Maybe someone will find it useful!

    Check it out on my other website

    Don’t miss an update

  • An agentic Kanban Workflow

    An agentic Kanban Workflow

    I had this idea the other day and started building it into a project I’m working on. We all hate Jira but, the idea of Kanban is still a useful way to track projects.

    As we think about this in the AI era we could easily integrate the Jira MCP into a workflow but, once again we hate Jira. So that led me down a path of reinventing the wheel, mostly for my own purposes. I came up with this simple diagram:

    We will forever want to keep a human in the loop so a web interface is still likely necessary. However, a text based interface could also be cool…. Maybe in the future!

    What we end up with is a system of three agents:

    1. Developer agent – this agent writes and builds code in a sandboxed container based on specs written either by a human or by bugs found by the QA agent
    2. Build Agent – This agent monitors our build pipelines and if there is a failure it diagnosis why and opens a bug accordingly for the developer agent to fix
    3. QA Agent – Arguably the most important agent. This one will execute testing as close to simulating a human interaction with the software as possible. Upon finding bugs it would be able to log them back into the Kanban for the developer agent.

    Now we have a full DevOps life cycle with three agents. If I build this out, I become the user who is simply entering specs as features or bugs for the developer agent to work through. The code is still stored inside of some git based repository, build failures can utilize my already coded Build Failure Agent. Claude Code or Codex could function as the developer agent or we could run the whole thing on AWS Bedrock.

    Proof of concept coming some day when I have time!

    Don’t miss an update

  • The state of SEOScoreAPI – An OpenClaw Project

    The state of SEOScoreAPI – An OpenClaw Project

    If you remember, I did an experiment with OpenClaw. I let it have access to build anything it wanted with a single EC2 instance. It built https://seoscoreapi.com which is a fantastic tool for checking the status of your websites SEO.

    Initially I thought I would scrap the project and just let the domain expire. But I started doing some manual promotion after OpenClaw spent over $200 and got the first paid user! Since then I’ve put a few hours a day promoting and adding some features.

    What’s New

    The last few months have been the most productive stretch since launch. Here’s what shipped:

    ADA Accessibility Audits

    This one came from watching the news. ADA website lawsuits hit over 4,000 in 2025 and they’re still climbing. Small businesses, e-commerce sites, local restaurants — everyone’s a target.

    We built a full WCAG 2.1 AA compliance endpoint that injects axe-core (the industry-standard accessibility engine) into a headless browser and scans the rendered page. It returns a compliance score, a lawsuit risk assessment, category breakdowns across 10 areas (color contrast, forms, keyboard navigation, ARIA, etc.), and specific fix suggestions for every violation.

    We ran it on our own site first. Scored a 71. Found contrast issues, links that weren’t distinguishable from body text, a misused aside element. Fixed everything. Now we score 100. That’s the point — even developers who care about accessibility miss things.

    Available on all paid plans. Starter gets 5/month, Ultra gets 500.

    GEO (Generative Engine Optimization)

    Traditional SEO gets you into Google. GEO gets you into ChatGPT, Claude, Perplexity, and every RAG pipeline pulling from the web.

    The GEO audit checks 26 factors across four categories: crawl accessibility, structural markup, content extractability, and AI discoverability. It answers questions like: Do you have an llms.txt file? Is your content chunked in a way that RAG systems can ingest? Do you have freshness signals? Are AI crawlers even allowed in your robots.txt?

    This is becoming more relevant every month. Traffic from AI systems is growing and most sites aren’t optimized for it at all.

    Competitive Audits

    You can now audit your site against competitors in a single request. The response shows a side-by-side comparison with score differentials, category-by-category breakdowns, and which specific checks you’re winning or losing on. Useful for agencies pitching prospects and for anyone doing competitive analysis.

    What’s Next

    Honestly I’m not sure. I would love to get more people using the service. Possibly some more integrations, a WordPress plugin?

    Try It

    If you’ve read this far, go audit your site: seoscoreapi.com

    The demo on the homepage doesn’t require a signup. Type in your URL, see your score, read the priorities list. If you want API access, the free tier takes 30 seconds to set up — just an email and a verification code.

    If you’re a developer, the docs have everything. Python and Node.js SDKs are on PyPI and npm. The GitHub Action is at SeoScoreAPI/seo-audit-action.

    If you have questions or feedback, I’m at aaron@seoscoreapi.com.

  • Evolution of my build failure agent

    Evolution of my build failure agent

    I’ve written in the past about troubleshooting build pipelines with AI. While all of this is a great step in speeding up your development and reducing the amount of troubleshooting the DevOps team needs to do in the enterprise, it is NOT the end goal.

    The end goal would be to have the AI fix the problem for you.

    I’m rebranding my Jenkins Sentinel to just be Sentinel. This workflow allows you to automate remediation for your pipelines while still retaining human in the loop security.

    The other primary feature is storing your build failures and remediations in a database that you can view, update, analyze for custom model training.

    Originally we had the dispatch layer that would notify us of build failures and possible resolutions. The new addition is the cluster of “workers”. Running on AWS Fargate, this team of developers works with the LLM on Bedrock to resolve the failure.

    1. The task spins up in the cluster
    2. The build logs identify the repository and branch
    3. The repository is cloned, and branch checked out
    4. The code fix is implemented
    5. The task generates its reasoning and updates the database accordingly
    6. Code is committed to a new branch and a pull request is opened.
    7. The task cleans up and shuts down

    Dispatch still remains the same and the developer is notified accordingly. I need to implement developer specific notifications so that channels are not flooded or email lists abused.

    The other major thing I wanted to see was the cost per fix.

    This screenshot is from the dashboard which shows the compute spend and the LLM spend. For this simple Terraform fix you can see the was a little around $0.02. Assuming your code bases are more complex this value could increase proportionally.

    I also included a stats page which shows the totals for the entire organization.

    This is all real data from my testing project. The build agent is successfully troubleshooting pipelines for:

    • Python
    • Terraform
    • Java
    • Typescript
    • Docker
    • Kubernetes
    • Go
    • Cloudformation

    I plan to continue to add more supported platforms and languages as time allows. The other major integration that I am working on is support for GitHub Actions. Once I complete that integration and put this into all of my pipelines I expect that my troubleshooting and development time will decrease rapidly.

    Other future plans include:

    • Ingestion of bugs through sources like Jira, ToDoist (my favorite), or another ticketing system.
    • Discord Dispatching
    • Teams Dispatching – although this is really hard to develop for without a paid account
    • Custom model – using the build failure data to train a model

    Anyway, this project has been super fun. If you want to implement it on your own infrastructure feel free to reach out!

    Don’t miss an update

    PS: the featured image was generated and setup through my Nano Banana WordPress plugin

  • Why I built my own WordPress Platform

    Why I built my own WordPress Platform

    I’ve been building websites for a long time. I remember learning HTML and Microsoft FrontPage as my first website builder. It was such a fun time to be creating horrific looking websites back in the early 2000s. As the internet progressed so did my skills and back in 2016 I formed my company 45Squared to build websites for small businesses. My whole goal is to be your trusted resource when it comes to being online.

    When I started the company I built WordPress websites of various shapes and sizes but they always ran on AWS. This helped me expand my AWS skills as well as provide robust infrastructure for my client’s websites to live on. I managed the website and the underlying infrastructure for a small monthly cost that beat the competition. The result, a bunch of paying customers a decent side hustle.

    As time went on, selling became harder and the race to zero for cost was apparent. So, as the AI boom is on, I decided that it was time to automate the site building process.

    I started documenting out how I would want this to work. Fully automated website deployments, design, content, custom domains, good SEO base and deployed FAST!

    Enter https://ai.45sq.net. This platform is fully automated. The customer can provide inputs and descriptions of what they want as well as photos or other graphical content. The workflow takes all of the inputs and builds a fully functional WordPress website hosted on AWS. The user can easily point their own domain to the server and setup automatic payments. They then get full administrative access to their website so they can expand and add features just like any other WordPress site.

    So why did I build this?

    If you contact a web designer now you will have to pay them to build up the initial design, work with their timelines, end up with something that needs revisions and your time to live will be in the weeks not minutes.

    The platform I built for 45Squared eliminates the need for the initial design fees and focuses on getting you online quickly. Its great for small businesses who are just getting started.

    So now when I get a request to build a site I can tell the customer that I have two options. First, fully custom. I’m still willing to sit with you and build out the picture perfect website. Or, two, you can launch your own and I will still support the website and help you with your online presence.

    So that’s it. An easy to use WordPress website launcher. Running on enterprise grade cloud. With content, design, layout and all the rest handled by the magic of Claude Opus.

    Try it out: https://ai.45sq.net. No contracts. No weird fees. Get online today.

  • Building in Public – The Automated WordPress Deployment Platform Part 2

    Building in Public – The Automated WordPress Deployment Platform Part 2

    A few days ago I wrote about building an automated WordPress deployment platform using Terraform and AI. Well, i’m happy to report that the entire platform is live and ready for you to explore and launch your own WordPress website.

    Introducing 45Squared’s WordPress deployment platform powered by Ubuntu and Claude. Try it out today at https://ai.45sq.net.

    Let’s talk about how this all works.

    The front end infrastructure that an end user will see is pretty straightforward. I am utilizing an ECS cluster and NextJS to deliver the end user experience. The second portion of the user experience is handled by an AWS API Gateway to manage all of the user credentials, payment processing, sit launch status. Authentication is handled by AWS Cognito. Hate on it all you want, Cognito works just fine when configured correctly.

    Frontend architecture

    Behind the scenes, once a user transaction has completed successfully, the website is provisioned using another ECS task. This container runs through a sequence of steps to provision the AWS EC2 instance for the user to utilize. Each tenant instance is running a hardened Ubuntu image that is built using Packer. I will cover this in another post. Throughout the provisioning process, the task is updating the DynamoDB table so that the user gets a live look into how their website is progressing.

    Provisioning architecture

    Each tenant is given a subdomain as well as the ability to utilize a custom domain name. Each tenant is also given a Cloudfront CDN for global static content distribution. And of course, each tenant receives their own SSL certificate for both their custom domain and their subdomain.

    Each site can be managed by SSM which will eventually be linked into an AI agent for management through Slack or another messaging platform.

    I don’t intend to use this platform to compete with the large players. 45Squared’s vision has always been to serve the small to medium size businesses who want personalized support while still receiving an amazing product. This platform gives them the ability to quickly launch a website and get their company on the world wide web within 10 minutes.

    If you are interested in building out a website using the platform the first few users can receive 50% using code “BETATESTER50”. There are limited redemption so be sure to get going quickly!

    Don’t miss an update