AWS tutorials for builders

Deploy real AWS
infrastructure,
step by step.

Interactive guides that take you from zero to production. Lambda, S3, DynamoDB, CloudFront and more — built by a developer, for developers.

AKJOPNMB

500+ developers building on AWS

techwithkobina.com/guide/serverless-api
Serverless REST API on AWS
Tutorial 1 of 10 · Lambda · DynamoDB · API Gateway
1
Create DynamoDB table
Set up the users table with on-demand billing
2
Create IAM Role
Grant Lambda permissions to read/write
3
Write the Lambda handler
Node.js 20 with AWS SDK v3
4
Create API Gateway HTTP API
Locked — unlock to continue
🔒
AWS Lambda
API Gateway
DynamoDB
S3
CloudFront
Cognito
IAM
SSM
CloudWatch
Route 53
SQS
SNS
AWS Lambda
API Gateway
DynamoDB
S3
CloudFront
Cognito
IAM
SSM
CloudWatch
Route 53
SQS
SNS
50+
Tutorials published
12
AWS services covered
500+
Developers enrolled
$0
To get started
Why Tech With Kobina

Everything you need to ship on AWS

Not another generic tutorial. Real infrastructure, real decisions, real code.

Step-by-step guides

Every tutorial is broken into numbered steps with CLI commands you can copy and paste directly into your terminal.

Video + written format

Watch the free YouTube video to understand the concept, then follow the written guide when you're actually building.

Free courses available

Some courses are completely free — no credit card needed. Create an account, enroll, and get full access at no cost.

Production-ready patterns

IAM roles are scoped correctly. Billing modes are explained. Every decision is justified so you understand the tradeoffs.

Beginner to advanced

Guides are clearly labelled by level. Start with S3 static hosting if you're new, jump to VPC + RDS if you're experienced.

Always up to date

AWS changes. All courses and projects are updated when the console or CLI changes. Pro subscribers always get the latest version.

Courses

Start with a structured course

Ordered collections of projects, each building on the last.

View all courses

How it works

Watch. Read. Build. In that order.

1

Watch the video

Free on YouTube. Follow along as I build the project from scratch — explaining every architectural decision.

2

Open the guide

Steps 1–3 are always free. No credit card required. Enough to prove the guide is worth your time and money.

3

Unlock and ship

Subscribe to Pro for full access to all courses and projects. Follow every step and ship production-ready AWS infrastructure.

Free preview

Try it right now

From: Serverless REST API — Tutorial 1 of 10

1
Create a DynamoDB Table

Navigate to the DynamoDB console. Create a table named users with partition key userId (String). Use On-demand billing.

CLIaws dynamodb create-table
aws dynamodb create-table \ --table-name users \ --attribute-definitions \ AttributeName=userId,AttributeType=S \ --key-schema \ AttributeName=userId,KeyType=HASH \ --billing-mode PAY_PER_REQUEST
2
Create an IAM Role for Lambda

Go to IAM → Roles → Create role. Select Lambda as the trusted service. Attach AWSLambdaBasicExecutionRole then add an inline policy granting DynamoDB access.

3
Write the Lambda Handler

Create a Node.js 20.x function. Paste the starter code — reads a user record by userId from DynamoDB and returns it as JSON.

JSindex.mjs
import { DynamoDBClient, GetItemCommand } from "@aws-sdk/client-dynamodb"; import { unmarshall } from "@aws-sdk/util-dynamodb"; const db = new DynamoDBClient({}); export const handler = async (event) => { const { userId } = event.pathParameters; const { Item } = await db.send( new GetItemCommand({ TableName: "users", Key: { userId: { S: userId } } }) ); return { statusCode: 200, body: JSON.stringify(unmarshall(Item)) }; };
4
Create API Gateway HTTP API
Wire your Lambda to a public HTTP endpoint...
🔒

Steps 4–10 are locked

Unlock API Gateway, Cognito auth, CloudFront deployment and more.

What's included in Pro
  • All courses & projects, fully unlocked
  • Lambda, API Gateway, DynamoDB, Cognito
  • Copy-paste CLI commands
  • IAM policy templates
  • Cancel anytime
Get Pro access — from $12/mo

Simple, honest pricing

Start free. Upgrade to Pro — monthly or annual — for full access to everything.

Free
$0
forever
Create a free account and enroll in any of our free courses — no credit card needed.
  • All free courses, fully unlocked
  • Free account — no credit card needed
  • Paid projects
  • Future projects
Browse free projects
Pro
$12
per month · cancel anytime
All current and future projects, automatically unlocked.
  • All current projects
  • All future projects
  • Progress tracking
  • Cancel anytime
Subscribe monthly

Trusted by developers

From the YouTube comments and Discord community

★★★★★

"Finally an AWS tutorial that actually explains the IAM policies. Deployed my first Lambda in under an hour following this guide."

AK
Ama Kyei
Backend Developer, Accra
★★★★★

"The step-by-step format is exactly what I needed. No 2-hour video where I get lost — just clear, numbered steps with copy-paste commands."

JO
James Osei
Fullstack Developer
★★★★★

"Bought the serverless API bundle. The CloudFront + signed URL setup alone was worth $30. Saved me days of debugging documentation."

PN
Priya Nair
Cloud Engineer

Ready to build on AWS?

Start free — create an account in seconds and enroll in free courses right away.

Our Dream

We're building something bigger than courses.
See what drives us →