Skip to content

scott-jiang/aws-serverless-basic-workshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Serverless Basic Workshop

In this workshop you'll deploy a simple RESTfull webservice that enables users to request Super Heroes data from the backend system. Super Heroes Source: https://pixabay.com/en/batman-superman-lego-superhero-1293525/

The application architecture uses AWS Lambda, Amazon API Gateway, and Amazon DynamoDB. Client will execute a public backend REST API built using API Gateway and Lambda. DynamoDB provides a persistence layer where data can be stored by the API's Lambda function.

See the diagram below for a depiction of the complete architecture. Serverless Basic Architecture

Prerequisites

AWS Account

In order to complete this workshop you'll need an AWS Account with access to create AWS IAM, S3, DynamoDB, Lambda, API Gateway resources. The code and instructions in this workshop assume only one student is using a given AWS account at a time. If you try sharing an account with another student, you'll run into naming conflicts for certain resources. You can work around these by appending a unique suffix to the resources that fail to create due to conflicts, but the instructions do not provide details on the changes required to make this work.

All of the resources you will launch as part of this workshop are eligible for the AWS free tier if your account is less than 12 months old. See the AWS Free Tier page for more details.

Browser

We recommend you use the latest version of Chrome or Firefox when testing the web application UI.

Text Editor

You will need a local text editor for making minor updates to configuration files.

Modules

This workshop is broken up into multiple modules. You must complete each module before proceeding to the next.

  1. Persistence Layer - Amazon DynamoDB
  2. Serverless Backend - AWS Lambda
  3. RESTful API - Amazon API Gateway
  4. Static Website - Amazon S3

After you have completed the workshop you can delete all of the resources that were created by following the Cleanup guide.

About

API Gateway, Lambda, DynamoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 77.3%
  • JavaScript 22.7%