Done. Ish. A real world AI 🤖 use case. 670+ resources. A whole AWS Organization...
Teri Radichel @teriradichel@infosec.exchange
Done. Ish.
A real world AI 🤖 use case.
670+ resources.
A whole AWS Organization infrastructure.
Segregated environments and easy to add more in minutes.
I had to add additional networking parameters, secrets, ram sharing etc, to get the base of my secure batch job now +AI agent infrastructure. It’s not perfect. The security has not been verified.
I figured out how to let agents fiddle with and test the instances to create AMIs while I was doing other things. I figure out how to get them to monitor and fix issues. At one point Claude Code told me that one of my sessions was longer than listening to Abbey Road four times. OK. So. I could run it nonstop if I was rich.
In the end the agent completing the last collaborator instance was doing crazy things with metadata service and credentials. So I cut it off. It should be deployed and easy to finish but we’ll see. It used my prior tested scripts.
While that’s working I’m running jobs with a bash TUI I wrote with AI. I have plans to change the language but prototyping in bash is faster. And I can tell you that AI agents are way better at writing bash tuis (at least the way I did it) than they are at complex day structures and architectures that involve parallel processing and
The jobs can use the same queue processing logic and reporting I used to get the agents to deploy semi-autonomously and get to the desired state more quickly.
And guess what. I did it without giving them ANY GitHub or AWS credentials, they only got temp instance credentials to create AMIs which will be promptly revoked and set to auto rotate in the future. The instance creation can occur in a private network in the future (when I become a millionaire and can afford all the things to make that happen.) I already know how I can set default passwords without giving agents access but no time.
The other thing is, these are all deterministic, non-AI scripts now so I won’t be burning many tokens if any to deploy new resources and nothing to redeploy existing resources from the code. I can create new resources via some configuration and spend very little in most cases even if I have AI agents help generate the configuration files. And they do t get to mess up the code.
The whole point of this was to launch my pentesting, security research. assessment and reporting tools more quickly. Never enough time in a day and this took way longer than I thought. One of these days I’ll write more about it on my blog
For now, completing a report and some final validations with it all.