Building serverless CRUD API microservice with AWS Lambda and function URLs

This workshop will guide you to create a CRUD API microservice with only 2 AWS services:

  • AWS Lambda
  • Amazon DynamoDB

You will also learn about

  • directly invoking a Lambda function in 3 ways
  • synchronously invoking a Lambda
  • who can invoke your Lambda functions (aka access permissions)
  • how your Lambda functions access other AWS resources (e.g. DynamoDB table)

The high level architecture looks like this:

alt text

You will be guided with a walk-through to achieve the low level architecture:

alt text

Content

  1. Introduction
  2. Preparation
  3. Creating a DynamoDB table
  4. Creating Lambda functions
  5. Invoking Lambda functions with AWS Management Console
  6. Invoking Lambda functions with AWS CLI
  7. Creating function URLs for Lambda functions
  8. Invoking Lambda functions with Lambda function URL
  9. Clean up resources
  10. Summary