Service · AWS / Serverless
AWS Lambda & serverless backend development
I design, build and run serverless backends on AWS — REST APIs on Lambda and API Gateway, written in Node.js and TypeScript. Since 2023 I've built and maintained close to 1,000 Lambda endpoints in production, so I know which patterns hold up past the first 20 functions and which ones fall apart.
What I build
- New serverless APIs — one function per endpoint, each with its own memory, timeout and least-privilege IAM role, deployed independently.
- Auth and users with AWS Cognito, JWTs validated once by a Lambda authorizer at API Gateway rather than in every handler.
- File handling through S3 pre-signed URLs, so Lambda never proxies file bytes, with CloudFront in front where it helps.
- Background and scheduled work with EventBridge rules, SQS queues and SNS topics, kept separate from request/response functions.
- Data layers on DynamoDB or RDS (PostgreSQL / MySQL), with connections reused across invocations.
- Infrastructure as code with the Serverless Framework and CloudFormation, plus CI/CD pipelines in GitHub Actions.
When your Lambda setup is starting to strain
- CloudFormation resource limits — splitting one giant
serverless.ymlinto domain services stitched under a single API Gateway custom domain. - Cold starts — smaller bundles with esbuild, lazy-loading heavy SDKs, and provisioned concurrency only on the few routes that need it.
- Cost — right-sizing memory, removing idle always-on pieces, and finding the functions that actually drive the bill.
- Observability — structured JSON logs that CloudWatch Logs Insights can query across every function, naming conventions, and account-wide error and throttle alarms.
How a project usually runs
- Short review of your current system or requirements, and an honest answer on whether serverless is the right fit (it isn't always).
- Architecture and scope written down: services, data, auth, deploy pipeline, and what's in and out.
- Build in small, deployable pieces in your repo and AWS account, with infrastructure as code from day one.
- Handover — docs, runbooks and a walkthrough, so your team can own it afterwards.
Relevant work
~1,000 Lambda endpoints, Node.js
At Sketch to Growth I build and maintain roughly 1,000 REST API endpoints on AWS Lambda, deployed with the Serverless Framework and routed through API Gateway, with Cognito auth, S3 file handling and EventBridge scheduling.
100+ endpoint Express app moved to Lambda
A long-running Express monolith that cost money 24/7 for bursty traffic was broken apart into individually deployed Lambda functions behind API Gateway, with shared logic in layers and CloudFormation-managed infrastructure.
Stack
- AWS Lambda
- API Gateway
- Node.js
- TypeScript
- Serverless Framework
- CloudFormation
- Cognito
- DynamoDB
- RDS
- S3
- CloudFront
- EventBridge
- SQS
- SNS
- CloudWatch
- GitHub Actions
FAQ
Serverless Framework, SAM or CDK?
Most of my production work is on the Serverless Framework with CloudFormation underneath. If your team already uses another tool, I'll work inside your existing setup rather than introduce a second one.
Is Lambda the right choice for my API?
For bursty or uneven traffic, and APIs that sit idle at night, it usually is. For long-running jobs or very steady high throughput, containers can be cheaper and simpler — I'll tell you upfront if I think that's your case.
Can you work in our AWS account?
Yes. I work with IAM access scoped to the project and keep everything in infrastructure as code, so nothing is clicked together by hand in the console.
Which time zones do you work with?
I'm in Lahore (UTC+5) and work remotely with teams in the US, UK, Europe and the Gulf, async-first with several hours of overlap most days.
Related services
- Express → Lambda migration — Incremental, route-by-route moves from always-on Express servers to Lambda and API Gateway — no rewrite, no big-bang cutover.
- Node.js & TypeScript backends — REST APIs, data layers, auth and jobs in Node.js/TypeScript — for product teams and as a backend contractor for agencies.
- API integrations (QuickBooks, EDI) — QuickBooks, EDI and other third-party APIs connected reliably — webhooks, sync jobs, retries and clear logs.
Tell me what you're building
Send a few lines about the project — what exists today, what you need, and any deadline. I reply within one business day.