LearnWithShobhan

Blog

Free tutorials

Practical guides on AWS, serverless backends, AI and the command line, with real code and the same diagrams I use in the courses.

AWS & Serverless

One Lambda or many? Building a REST API on API Gateway with a single CRUD handler

Should each HTTP method get its own Lambda function, or should one handler serve GET, POST, PUT and DELETE? How API Gateway's ANY method and Lambda proxy integration work, and how to branch on event.httpMethod in TypeScript.

10 Nov 2026 · AWS · Lambda · API Gateway

AWS & Serverless

S3 presigned URLs in TypeScript: upload large files straight from the browser

How S3 buckets and objects really work, then generate a presigned PUT URL with AWS SDK v3 in a Lambda, fix the 403 AccessDenied with the right IAM policy, and upload directly from the browser.

10 Nov 2026 · AWS · S3 · TypeScript

Linux & the Command Line

Shell scripting for beginners: your first Bash script, step by step

Write and run your first shell script: chmod +x, the shebang line, variables, command substitution with $(...), reading user input and arguments ($1, $2), plus export and alias.

10 Nov 2026 · Bash · Shell scripting · Linux

Linux & the Command Line

Terminal vs shell: what's the difference? (Bash, Zsh, PowerShell explained)

Why it's called a terminal, what a shell actually does, how the terminal, shell, kernel and hardware fit together, which terminal and shell each OS uses, and why developers pick Bash or Zsh.

10 Nov 2026 · Linux · Bash · Beginners

AWS & Serverless

Test-driven development for AWS Lambda with Jest: mocks and spies explained

Stop deploying to test. Write Lambda handlers test-first with Jest: the TDD loop, a to-do list per function, mocking the database with jest.spyOn and mockImplementation, and validating input with Zod. Real tests from the VidShare course.

10 Nov 2026 · AWS · Lambda · Jest

Linux & the Command Line

The Linux directory structure explained: what /bin, /etc, /home, /var and /tmp are for

A beginner's map of the Unix and Linux filesystem: the root directory, what lives in /bin, /etc, /home, /usr, /var and /tmp, how macOS differs, and the two shortcuts (/ and ~) you'll use constantly.

10 Nov 2026 · Linux · Unix · Beginners

AWS & Serverless

Transcode video on AWS with MediaConvert, EventBridge and Lambda

How AWS Elemental MediaConvert jobs work (inputs, output groups, presets, IAM role), creating a job from Lambda with the AWS SDK v3, and reacting to job state changes with an EventBridge rule, all defined in CDK.

10 Nov 2026 · AWS · MediaConvert · EventBridge

AWS & Serverless

Trigger a Lambda on S3 upload and read video metadata with MediaInfo

Use S3 event notifications to run a Lambda on every upload, read the event's bucket and key, run the MediaInfo binary inside Lambda on a presigned URL, and decide transcoding resolutions. Wired up with AWS CDK.

10 Nov 2026 · AWS · S3 · Lambda

AWS & Serverless

Your first CloudFormation template: YAML anatomy and creating a stack (DynamoDB example)

A step-by-step walk through a minimal CloudFormation template in YAML: the Resources section, logical names vs real names, then creating, inspecting and deleting a stack in the AWS console, including the rollback option.

10 Nov 2026 · AWS · CloudFormation · DynamoDB

The full course

VidShare: 109 lessons

Build a production-style video streaming backend on AWS, from architecture to final test.

See the course and free lessons →

The full course

CLI Mastery: 57 lessons

Get fast and fluent in the terminal, from the filesystem to shell scripts and real servers.

See the course and free lessons →

Free download

Linux command line cheat sheet

One printable page: navigation, files, permissions, pipes, processes, scripts and SSH.

Occasional emails with new tutorials and courses. Unsubscribe any time.