Guides / Marketing tools on AWS
How to structure vibe-coded marketing tools on AWS
Your marketing team built useful tools with Lovable, Claude Code, Bolt or Cursor: a lead scorer, a content generator, a report builder, an enrichment script. They work. Most of them run on one person's laptop or account. This guide shows how to move them into an AWS structure your company owns, without slowing the team down.
Why “it works” is not “it is structured”
Marketing teams are now some of the fastest builders in a company. With an AI coding tool, a marketer can turn a spreadsheet routine into a working tool in an afternoon. The tool itself is rarely the problem. Where it runs, and who owns it, usually is.
- Personal API keys. The OpenAI, Apollo or ad-platform key belongs to whoever built the tool. If they leave, the tool stops, and nobody can rotate a key they cannot see.
- One person's account. The tool runs on a laptop, a personal cloud login or a free no-code host. There is no second person who can deploy, fix or switch it off.
- No logs. When a lead list comes out wrong, there is no record of what ran, with which input, at what time.
- No cost owner. AI and data-provider spend lands on a card or a shared bill, with no way to say which tool produced it.
- Customer data in odd places. Lead and customer records end up in local files, personal drives and test databases nobody is responsible for.
None of this shows up while the tool is a prototype. It shows up the first time someone asks where the data lives, who has access, or why last month's bill doubled.
The target structure
The goal is a structure your company owns, in which every tool has an owner, a budget and a log, and your team can keep shipping changes. On AWS, that usually looks like this. The services named are typical choices, for example, not the only correct ones.
Accounts and sign-in
- Separate accounts for development and production under AWS Organizations, so an experiment can never touch live data or the live bill.
- Sign-in through IAM Identity Center, tied to your company identity provider. No shared root login and no long-lived IAM users with passwords on sticky notes.
- Cost allocation tags on every resource, for example
tool,teamandowner, so the bill can be read per tool.
Where each part of a tool runs
- Front-ends: AWS Amplify Hosting, or static files in S3 behind CloudFront.
- APIs and back-end logic: AWS Lambda behind API Gateway for small, short tasks; ECS on Fargate for anything long-running (Express Mode sets it up in one step; App Runner closed to new customers in April 2026) or with steady traffic.
- Data: Amazon RDS for PostgreSQL when the data is relational (leads, campaigns, accounts), DynamoDB for simple, high-volume lookups. Files and exports go to S3.
- Scheduled jobs and queues: EventBridge Scheduler for “every morning at 7”, SQS when work should be retried rather than lost.
- AI calls: Amazon Bedrock, so prompts and data stay inside your AWS account, access is controlled by IAM, and spend appears on your AWS bill.
Secrets, logs and cost
- Secrets in AWS Secrets Manager or Systems Manager Parameter Store, read by the tool at runtime. Nothing in the code, nothing in a
.envfile on a laptop. - Logs and alarms in CloudWatch: every run logged, and an alarm that reaches a named person when a job fails.
- AWS Budgets alerts per tool, using the tags above, so a runaway script is noticed in hours, not at month end.
How changes reach production
- Infrastructure as code with AWS CDK or Terraform. The whole structure lives in the repository and can be rebuilt from it.
- CI/CD from GitHub Actions using an OIDC role. GitHub gets short-lived credentials for each deploy; there are no long-lived access keys stored in the repository or on anyone's machine.
- Staging first. Every change deploys to the development account, then to production after a check.
From my own work: at PolyMore, the computer-vision startup I co-founded, I ran a translation service on Amazon Bedrock behind API Gateway and Lambda. The same pattern suits most marketing tools: a small API, a model call inside your account, and logs you can read.
Map your tool to AWS
Tick what your tool does. The list on the right shows the AWS pieces it needs. The first block applies to every tool.
Tick what your tool does to see the AWS pieces it needs.
Accounts your company owns, sign-in through your identity provider, secrets out of the code, a log of every run and a budget alert per tool, all written as code.
- AWS Organizations
- IAM Identity Center
- Secrets Manager
- CloudWatch
- AWS Budgets
- CDK or Terraform
- GitHub Actions with OIDC
Static hosting with HTTPS, a preview for every change, and sign-in for internal users.
- Amplify Hosting
- or S3 + CloudFront
- Amazon Cognito or your identity provider
Model calls from inside your account, a rate limit per user, and spend you can see per tool.
- Amazon Bedrock
- Lambda
- API Gateway usage plans
- CloudWatch metrics
A schedule that does not depend on anyone's laptop, with retries and an alarm when a run fails.
- EventBridge Scheduler
- Lambda or ECS on Fargate
- SQS for retries
- CloudWatch alarms
One database with backups, encryption and access limited to the tool that needs it.
- RDS for PostgreSQL
- or DynamoDB
- Automated backups
- KMS encryption
Files stored outside the app, checked on arrival, and processed by an event rather than a person.
- S3
- S3 event notifications
- Lambda
- SQS
Sending from your own domain, with bounces and complaints tracked.
- Amazon SES
- SNS
- Lambda
Platform tokens stored as secrets, calls retried on rate limits, and every sync logged.
- Secrets Manager
- Lambda
- SQS
- EventBridge
Migration in five steps
Moving everything at once is how a working tool turns into a stalled project. Move one tool end to end, then repeat.
- Inventory. List every tool the team runs: what it does, who built it, where it runs, which keys it uses, which data it touches, and who would notice if it stopped.
- Pick one tool. Choose the one with the most risk or the most users, not the most interesting one. It becomes the template for the rest.
- Move the secrets first. Create company-owned API keys, store them in Secrets Manager, rotate the personal ones, and set a spend limit at each provider.
- Deploy to staging. Put the tool in the development account with the structure above, run it against real but non-critical inputs, and compare its output with the old version.
- Cut over, with a fallback. Switch production to AWS and keep the old version available for one full business cycle, with one person owning the decision to retire it.
Keep the team shipping
The point of the structure is not to take the tools away from marketing. It is to let the team keep building with AI tools while the company keeps control.
- Code lives in a company GitHub organisation. Marketers keep using Lovable, Claude Code or Cursor, and their changes arrive as pull requests.
- The pipeline deploys every change to staging automatically. Production needs one approval.
- Each tool has a one-page runbook: what it does, who owns it, how to switch it off, and what its budget is.
- A weekly cost report shows spend per tool, so the team can see what each tool costs against what it produces.
Before any tool goes live, it is worth running it through the launch checklist for vibe-coded apps: secrets, access, AI guardrails, data and operations.
How I help
The AI readiness assessment is $2,500, fixed, for one week. I inventory your tools, rank them by risk, and hand you the AWS structure and a phased plan with real numbers.
- AI readiness assessment: the tool inventory, the target AWS structure for your team, and which tools to move first.
- Build: each tool moved end to end, scoped and priced per phase, deployed to accounts you own and documented as it is built.
- Operate: from $4,999 per month, I keep the tools running: monitoring, the weekly cost report, security updates and the next tool.
The assessment comes off your first month if we start working together within 60 days.
Questions
About moving marketing tools onto AWS.
Do we need AWS at all, or can the tool stay on a no-code host?
A tool that only you use, with no customer data and no paid API keys, can stay where it is. Move it when other people depend on it, when it holds lead or customer data, or when it spends money through an API key. That is the point where you need named owners, logs and a cost limit, and an AWS account you control gives you all three.
Is AWS too complex for a small marketing team?
The full AWS console is large, but one tool needs only a handful of services. With the structure written as code in AWS CDK or Terraform, your team edits the tool and the deployment repeats itself. Nobody has to click through the console to release a change.
Why route AI calls through Amazon Bedrock instead of calling a model provider directly?
Bedrock lets you call several model families from inside your own AWS account, with access controlled by IAM, usage visible in CloudWatch and spend on your AWS bill. Prompts and customer data stay within your account boundary instead of going out through a key stored on someone's laptop. Calling a provider directly is fine too, as long as the key lives in Secrets Manager and has a spend limit.
How long does it take to move one tool?
It depends on the tool, but a typical sequence is a short inventory, one tool moved to a staging account, then a cut-over with the old version kept as a fallback for one business cycle. The assessment tells us the real number before any build work is priced.
Can marketing keep building with Lovable, Claude Code or Cursor after the move?
Yes. The code moves into a GitHub repository with a deployment pipeline. Your team keeps using AI tools to change it, the changes arrive as pull requests, and the pipeline deploys them to staging before production. What changes is that nothing reaches production from a laptop.
Start with a conversation
Thirty minutes, no charge. Tell me what you have built and where it stopped. If I am not the right person, I will say so and point you somewhere better.
Calendar not loading? Open the booking page or email me.