Video description
Create a chat web app using Amazon Web Services - Lambda, DynamoDB, API Gateway, S3, Cognito, CloudFront, and more
About This Video
- S3 (Simple Storage Service) - For storing static HTML and vending it to your users' browsers
- Lambda - For executing logic in the cloud for storing and retrieving data in your application
- IAM (Identity and Access Management) - For securing access to your services
- API Gateway - For presenting a well-modeled API to your clients and automatically generating client-side code to communicate with it
- DynamoDB - For quickly storing and retrieving data at scale
- Cognito - For managing users, account creation, and logins securely
- CloudFront - For accelerating the delivery of your site to end users with a CDN
In Detail
Immerse yourself in Amazon Web Services (AWS) with this hands-on, project-based course - and truly internalize some highly valuable skills in the world of technology. We'll walk you through building your own chat website using nothing but AWS services - and no standalone services or server instances at all! Building a "serverless app" using AWS and its Lambda service is a great introduction to the core services AWS offers. We'll tie it all together by learning and practicing Javascript, and we'll learn about CORS to grant browsers the permissions they need to run a serverless application. Even if you're familiar with AWS, you'll learn valuable techniques on how to build a fully functional, dynamic website without maintaining any servers at all - not even via EC2! Your highly experienced guides through this project are Frank Kane, formerly a senior manager at Amazon, and Brian Tajuddin, a principal engineer also formerly working at Amazon. You'll be learning AWS from people who were there when it was being created. You'll join over 140,000 other students of the Sundog Education team who have leveled up their careers with hot technical skills.
Table of Contents
Chapter 1 : Introduction
Introduction
00:17:47
Setup the website
00:12:01
Chapter 2 : Static Chat Application with S3
S3 Overview
00:10:06
Walkthrough of demo site
00:06:14
Adding static data to the website
00:05:18
JavaScript Syntax Basics
00:07:45
JavaScript Parallelism
00:05:31
Accessing static data from JavaScript
00:11:44
Exercise 1 solutions
00:05:12
Chapter 3 : Creating an API
Lambda functions overview
00:06:12
Introduction to IAM and policies
00:04:25
Creating a policy for the Lambda function
00:05:57
Code walkthrough of the first Lambda function
00:08:47
Running the lambda function with test data
00:04:18
Lambda triggers
00:04:06
Adding an API Gateway trigger to the function
00:04:18
Understand and Setup CORS
00:07:25
Calling the API from the website
00:06:07
ORS Activity Solution
00:02:35
Retrieving a conversation with the API
00:06:56
Failure test activity solution
00:03:13
Chapter 4 : Use DynamoDB for storage
DynamoDB overview
00:09:29
ynamoDB vs. S3
00:02:57
Create DynamoDB tables
00:04:18
Create some sample data in DynamoDB
00:06:19
Update Lambda policy to access DynamoDB tables
00:04:44
Read a conversation from Dynamo DB
00:12:39
Read conversation list from DynamoDB
00:12:17
Write new messages to DynamoDB
00:14:53
Exercise Solution
00:06:16
Chapter 5 : Break up the monolith
Overview of why having only one Lambda function can create problems
00:05:44
API Gateway overview - Resources and Methods
00:09:53
API Gateway overview – Models
00:03:48
API Gateway overview - Request Flow
00:06:10
Create API structure in API Gateway
00:09:44
Lambda functions for reading and writing messages
00:13:03
API Gateway stages
00:03:25
Exporting a JavaScript client and Swagger
00:13:07
Remove hard-coded user names from Lambda
00:06:46
Chapter 6 : Add Identity to the app
Cognito overview
00:07:37
Create a user pool
00:08:12
List Users in the API
00:09:34
List Users on the site
00:11:00
Create a new conversation
00:11:06
Create sign up page
00:10:53
Create verification page
00:04:56
Add login and logout
00:05:49
Add a Cognito authorizer to the API Gateway
00:08:38
Add a Cognito authorizer to the API Gateway
00:04:34
Add a Cognito authorizer to the API Gateway
00:08:25
Chapter 7 : Optimization and Preparing for Production
Lambda Versioning
00:14:22
Using stage variables
00:06:25
CloudFront overview
00:04:17
Setting up a CloudFront CDN
00:08:36
Monitoring
00:07:45
Custom domains
00:05:33
Chapter 8 : You Made It! Where to go from here
More to Explore…
00:09:49