
Weekend Productivity Challenge: LinkedIn Post Angle Generator
An AI tool that turns any topic into three distinct LinkedIn post angles with ready-to-use hooks. Its built on AWS Lambda and S3, with a mid-build pivot from Bedrock to the Anthropic API after hitting new-account quota limits
Weekend Productivity Challenge: LinkedIn Post Angle Generator
Tags: #productivity
Vision & What the App Does
As a Senior Technical Development Supervisor and Adobe Commerce Architect, I publish technical thought leadership on LinkedIn regularly — posts on headless commerce, cloud architecture, DevOps, and enterprise integrations. The bottleneck isn't writing the post itself. It's the first ten minutes: staring at a topic and trying to find an angle worth writing about.
The LinkedIn Post Angle Generator solves that specific problem. You type a topic — say, "headless commerce architecture" or "zero-day vulnerability response" and it returns three distinct post angles, each with a scroll-stopping hook, a one-line description of the unique take, and a note on why that angle would resonate with a technical audience.
It's not a generic "write me a LinkedIn post" tool. It's tuned for one voice: direct, practical, credibility-driven, grounded in real engineering experience rather than hype. The output isn't a finished post but it's the starting point, the ten minutes of staring at a blank page compressed into a ten-second API call. From there, you pick the angle that fits your week and write the post yourself.
How You Built It
The build itself was simple: a single HTML page with an input box and a button, calling a Lambda function that hits an LLM with a system prompt describing the target voice and a strict JSON output contract. The interesting part was the deployment detour.
My first pass used Amazon Bedrock with Nova Micro, the obvious choice for a challenge built around AWS Free Tier services. The Lambda code, the CORS setup, the S3 static site all came together quickly. But on invocation, I hit a wall:
ThrottlingException: Too many tokens per day .Digging into Service Quotas, I found the actual cause: on a newer AWS account, nearly every Bedrock on-demand inference quota — tokens per day, tokens per minute, requests per minute, across Nova Micro, Nova Lite, and the Anthropic models available through Bedrock — was set to an applied value of 0, and marked "Not adjustable." These aren't quotas you can request an increase for through a support case; they're part of AWS's automated risk-gating for new or low-usage accounts, and they ramp up over time based on account history rather than on demand.
That's a good lesson on its own: "Free Tier eligible" and "immediately usable at scale" aren't the same thing for brand-new accounts on GenAI services specifically.
With a hard deadline and no self-service path to raise those quotas, I pivoted the Lambda function to call the Anthropic API directly instead of going through Bedrock. It has same architecture, same Lambda Function URL, same S3 frontend, just a different upstream model provider. The AWS-service requirement for the challenge is still fully met: Lambda and S3 are doing the actual application hosting and compute, the AI provider is just an implementation detail behind that.
The other real debugging moment was CORS: my Lambda code was already sending
Access-Control-Allow-Origin: * headers, and I'd also configured CORS in the Function URL settings, which caused the browser to see the header twice ( *, * ) and reject the response outright. The fix was picking one place to own CORS (the Lambda code) and leaving the Function URL's CORS config empty.AWS Services Used / Architecture Overview
- Amazon S3 : static website hosting for the frontend (
index.html), public read via bucket policy
- AWS Lambda : backend compute, invoked via a Lambda Function URL (no API Gateway needed for this scale)
- IAM : execution role permissions for the Lambda function
- Amazon Bedrock : initially targeted for model inference (Nova Micro); ultimately blocked by account-level quota gating, documented above as part of the build process
Browser (S3 static site)
|
| POST { topic }
v
Lambda Function URL
|
| system prompt + topic
v
LLM inference (Anthropic API)
|
| JSON: 3x {hook, angle, why}
v
Browser renders 3 angle cards
Simple, stateless, no database : every request is self-contained. This kept the whole thing deployable in under an hour once the model-provider decision was settled.
What You Learned
- Don't assume Free Tier means frictionless. New AWS accounts get conservative, non-adjustable Bedrock quotas by default. If you're prototyping something AI-powered on a fresh account under time pressure, check Service Quotas before you build, not after your first invocation fails.
- Own your CORS in one place. Configuring it in both Lambda code and the Function URL settings causes duplicate headers and silent failures that look like a backend bug but aren't.
- Constrained output beats freeform generation for tools like this. Locking the model to a strict JSON contract in the system prompt made the frontend trivial — no parsing gymnastics, no inconsistent formatting to clean up.
- A narrow, single-purpose tool is more useful than a broad one. I could have built a generic "write anything" AI writer. Instead, tuning it to one specific voice and one specific job. The first ten minutes of "what do I even post about" that made it something I'll keep using after the challenge ends.
Link to App or Repo
Built for the AWS Builder Center Weekend Productivity Challenge.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article