navigation

Workshop: Deploy Serverless Blog Website on AWS With Lambda, API Gateway, DynamoDB, S3 & CloudFront

Overview

In this workshop, you will learn how to build and deploy an end-to-end machine learning pipeline on AWS.
We will use AWS Lambda for preprocessing and inference, API Gateway to expose RESTful endpoints, S3 for data storage, Amazon SageMaker for model training and hosting, DynamoDB for metadata storage, and CloudWatch for monitoring and logging.

Workshop-Architecture

Objectives:

  • Understand how to design and deploy serverless applications on AWS.
  • Create and configure Lambda functions, API Gateway, DynamoDB, S3, and CloudFront.
  • Know how to deploy frontend React/Vite applications on S3.
  • Connect frontend to backend via API Gateway.
  • Manage access between services using AWS IAM.
  • Clean up resources to optimize costs.

Requirements:

  • AWS account with IAM access (Free Tier: https://aws.amazon.com/free).
  • Basic JavaScript (Node.js) skills.
  • Tools: Node.js, npm, AWS CLI, Git, and a web browser.
  • (Optional) Postman for API testing.

Contents

  1. Introduction
  2. Set-Up-AWS-Account-and-IAM-Permissions
  3. Create-DynamoDB-Table
  4. Create-Lambda-Functions
  5. Configure-API-Gateway
  6. Prepare-Frontend-Application
  7. Host-Frontend-on-S3
  8. Configure-CloudFront
  9. Clean-Up-Resources