How We Enabled 40 Engineers to Use Claude Securely on AWS
At first, I thought this project was about integrating Claude. It turned out to be an enterprise architecture challenge instead. Silly me.
How We Enabled 40 Engineers to Use Claude Securely on AWS
Like many engineering leaders over the last couple of years, I found myself asking the same question for my latest project:
How do we give developers access to GenAI in highly regulated environment?
At first, it sounds like an easy problem to solve. Pick an LLM. Install an IDE extension. Give everyone an API key.
Done.
Except... it is not that easy.
That approach might work perfectly for a startup. It definitely wasn't an option for us.
The software factory where I led this initiative builds digital products for a highly regulated FinTech based in England. In that environment, security reviews are part of every project, architectural decisions are expected to stand up to scrutiny, and source code is treated as confidential intellectual property.
Our Engineering Director wanted development teams to start using Claude to accelerate software delivery. A fairly common request these days.
After presenting the first proposal, the security team came back with a list of requirements. For my surpise, none of them were easy to implement. Some requirements were sensitive information could never leave the organization's environment. Every interaction with Claude needed to be auditable, had to comply with internal security policies, it had to respect the same auth model already enforced in the engineering platforms.
So,
It became obvious that this wasn't a Claude project, it was an enterprise platform project.
Rather than integrating IDEs directly with a foundation model, such as Opus or GPT, we designed an internal AI platform on AWS where every request would pass through multiple security and governance layers before reaching Amazon Bedrock as a proxy for Claude.
Instead of building around a model, we built around five architectural pillars:
- Secure access
- AI orchestration
- Enterprise knowledge
- Model abstraction
- Governance and observability
Architecture Overview

Developers never communicate directly with Claude.
Everything goes through an AI Orchestrator, which became the central point for security, policy enforcement, context enrichment, and model routing.
This separation allowed us to evolve the platform independently from the underlying foundational model.
Secure Access Layer: Connecting the Enterprise Network to AWS
The first component of the platform was private connectivity.
Before exposing any AI capability to developers, we had to make sure that traffic from the enterprise network to AWS did not depend on the public internet. Developers should access the AI platform as an internal enterprise service, not as an external endpoint to Anthropic or OpenAI.
For that reason, the access layer started with a private network connection between the corporate environment and AWS, using AWS Site to Site VPN to establish encrypted private connectivity between the corporate data center and the Amazon VPC hosting the platform.
From there, traffic flows into a dedicated VPC where the AI platform is deployed.
Secure Access with Amazon API Gateway
Once private connectivity was in place, Amazon API Gateway became the entry point into the platform. We intentionally kept its responsibilities focused on the API layer. It authenticates incoming requests, applies rate limiting to protect services, centralizes request logging for operational visibility, and provides a single private endpoint that every developer tool communicates with.
Adding Amazon API Gateway gave us a single, controlled entry point into the platform. It centralized authentication, request management, and observability, while allowing the our orchestrator to focus on the AI features.
Building an AI Orchestrator
The AI Orchestrator is the core of the platform.
Rather than implementing dozens of Lambda functions, we chose Amazon ECS Fargate to host a long running orchestration service. The decision was primarily driven by flexibility and low maintanance overhead. Prompt construction, RAG retrieval, policy evaluation, and model routing are tightly coupled operations that benefit from running within the same application.
Internally, the orchestrator was composed of several logical components.
- The Prompt Security Layer inspects every incoming request before it reaches the foundational model. It detects secrets, credentials, personally identifiable information, and applies masking whenever necessary.
- The Policy Engine evaluates organizational rules based on repository, business domain, user role, and data classification. Not every engineering team has the same permissions, and the platform enforced those boundaries automatically.
- The Context Manager enriches every request with the right context before it reaches the model. Instead of relying only on Claude's knowledge, it retrieves relevant information from sources like Confluence, Jira, architecture documentation, and engineering standards. That extra context made a huge difference, the responses became much more aligned with how the factory actually build software.
- The Prompt Builder assembles the final prompt by combining system instructions, corporate engineering standards, retrieved context, and the developer's request.
- The Model Router decides which foundation model should process the request, keeping developers isolated from implementation details and reducing vendor lock-in.
Amazon Bedrock
Although Claude was the primary coding assistant, integrating directly with Anthropic's public APIs would have tightly coupled the platform to a single provider.
Amazon Bedrock provided a much cleaner abstraction.
Using Bedrock allowed us to consume foundation models through AWS native APIs while benefiting from IAM integration, private connectivity, security controls, and a consistent interface for future models without vendor lock-in.
The main benefit was the ability to adopt new foundation models over time without changing the developer experience.
Developers interact with the platform. The platform interacts with Bedrock. And Bedrock interacts with Foundational Model.
That distinction simplifies future evolution of the platform.
RAG
One of the biggest improvements in our platform was the response quality that came from combining Claude with internal engineering knowledge.
Instead of asking developers to manually provide architectural context, the platform retrieves relevant information from Confluence, Jira and private Github Repositories.
Using Amazon OpenSearch Serverless as the vector database allowed us perform semantic searches and retrieve only the most relevant context for each request. This significantly reduced hallucinations while producing answers that aligned with internal engineering practices from the Factory.
Governance and Observability
One thing I learned pretty quickly is that once AI becomes part of your software development lifecycle, you have to treat it like any other production platform. If you don't know how it's being used, who's using it, or how much it's costing, you're going to have a hard time operating it.
For every request, we capture enough information to understand what happened without storing the prompt itself. Things like the authenticated user, the repository, the model that was selected, token consumption, latency, and an estimated cost per request give us a pretty good picture of how the platform was behaving.
Operational metrics are published to Amazon CloudWatch, while audit events are processed asynchronously so Security and Compliance teams have full traceability without adding latency to the developer experience.
Final Thoughts
Looking back, I don't think this was ever a Claude project.
Claude was simply the model we chose because, for our use case, it consistently delivered the best results for software engineering. But if I'm honest, replacing Claude with another model would probably be one of the easiest changes in the entire architecture.
Building the platform around it was the hard part.
Designing secure access, protecting sensitive information, enforcing security policies, enriching prompts with internal knowledge, making every interaction auditable, and creating an experience that developers actually wanted to use, that's where most of the engineering effort went.
Amazon Bedrock gave us exactly the abstraction we were looking for. It allowed us to integrate foundational models using AWS native services while keeping the flexibility to adopt new models they are emerging.
A special thank you to my leaders for their trust and support throughout this initiative, and to my architecture team for the countless discussions and ideas that helped shape this platform. Building something like this is always a team effort.
At the end of the day, I don't think the biggest achievement was enabling 40 engineers to use Claude. It was building a secure platform that allows the organization to adopt Generative AI with confidence. Today's model happens to be Claude, but the platform is ready for whatever comes next.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article