Module 07 of 12

Serverless: Lambda & API Gateway

Lessons

About This Module

What if you could run your code without ever creating, patching or scaling a server? That is the idea behind serverless: you write a function, tell AWS what should trigger it, and pay only for the time it actually runs. This module is about the two services at the heart of it: AWS Lambda for running code, and Amazon API Gateway for exposing that code as an API.

It starts with what Lambda is and how it works, then moves to creating and testing your first function in the console. From there you connect it to API Gateway to build a working REST API, and finish by putting everything together into a serverless CRUD API with DynamoDB, building on the previous module.

Watch the lessons in order, then continue on to Containers: ECS, EKS & Fargate.

Lessons

4 videos
01

AWS Lambda Tutorial: Getting Started with Serverless Computing

What serverless computing is and why it matters, then AWS Lambda's use cases, core concepts, benefits and pricing, followed by a demo that deploys an application on Lambda.

02

AWS Lambda Tutorial for Beginners

A hands-on walkthrough that creates your first Lambda function, writes a simple Python handler, and tests it using sample events.

03

AWS API Gateway + Lambda REST API: Build Your First Serverless API

Builds a real REST API with Amazon API Gateway in front of an AWS Lambda function, so your code can be called over HTTP.

04

Build a Serverless CRUD API with API Gateway, Lambda, and DynamoDB

Puts the pieces together into a complete serverless CRUD API using API Gateway, Lambda, DynamoDB, CloudWatch and IAM, all set up through the console.