Table of Contents
Introducing Serverless with AWSScott Moss introduces Serverless with AWS course. Serverless architecture lets functions run as a service on AWS instead of running a full server.
AWS & Lambda FunctionsAfter discussing functions as a service run an independent method on a hosted server, Scott states that AWS Lamdas are AWS's functions as a service.
ServerlessScott reviews serverless the framework as a tool that provides the power to manage and deploy serverless functions on any cloud hosting platform such as AWS, Azure, Google Cloud, and so on.
Serverless Lambda SetupAfter setting up with the Serverless framework and running lambda functions locally with the invoke -f command, Scott shows the path option that allows the passing in event data into functions.
Your First Lambda ExerciseIn this exercise, students create a lambda function and execute it locally on their respective machine. Then students pass in event data into the function.
Your First Lambda SolutionScott walks through the solution to the Your First Lambda Exercise for creating a simple lambda function.
Sync vs. AsyncScott discusses executing lambdas synchronously and asynchronously.
AWS Event TypesAfter saying that AWS has a growing list of event types that Lambdas can subscribe to, Scott demonstrates some of the common event types.
CloudFormation & Serverless FrameworkScott reviews the serverless framework, which creates an abstraction that is easier to work in conjunction with AWS CloudFormation. AWS CloudFormation allows for using different services across AWS with one configuration.
API Gateway RoutingScott introduces AWS API Gateway, which allows for setting up routing for lambdas. The API Gateway routing allows for the creation of a full API on top of serverless functions. Scott takes questions from students.
Setup API Gateway LocallyTo get the same functionality of API Gateway to develop locally, Scott shows how to use the Serverless offline mode plugin.
Lambdas Calling Lambdas Q&AScott takes questions from students about the tradeoffs and implementations of invoking other lambdas inside lambda functions.
Lambda API ExerciseIn this exercise, students configure routes for lambdas using the serverless YAML.
AWS Lambdas Q&AScott takes questions from students about best practices for keeping lambdas out of a cold state and if lambda functions are independent of each other.
Lambda API SolutionScott walks through the solution to Lambda API Exercise by configuring the serverless YAML to build an API on top of lambda functions.
Deploying Lambdas on AWSScott introduces steps to deploy lambda functions to AWS using the serverless deploy method.
AWS Deploy Inspection ToolsScott walks through the tools in AWS to inspect and analyze the deployment of lambda functions. Scott takes questions from students.
AWS Lambda SettingsScott reviews various settings on AWS for lambda functions including memory, timeouts, environment variables and more.
AWS Monitoring & Source FilesScott shows the monitoring dashboard as well as where to find the source code for lambda functions.
Deploy on AWS ExerciseIn this exercise, students deploy and use lambdas on AWS using a serverless framework.
Deploy on AWS SolutionScott walks through the solution to the Deploy on AWS Exercise by showing how to deploy Lambdas to AWS. Scott takes questions from students.
Serverless RoutingScott uses the serverless framework to show the many ways to route requests from using multiple lambdas to multiple routes to using one lambda to one route.
Routing Serverless with ExpressScott illustrates how to take advantage of Express's routing capabilities and API within a lambda function to take control of routing vs. giving serverless control of the routing.
Node Lambda ContextScott shows the lambda continues to run if there's an async task left. This behavior can be disabled this behavior using the context object.
Routing & Express Q&AScott takes questions from students about router options, express, and more.
Lambdas on Express ExerciseIn this exercise, students convert an application to use Express's routing.
Lambdas on Express Solution and Q&AAfter taking questions from students about using lambdas and Express, Scott reviews his solution and discusses
Testing LambdasScott discusses testing lambda functions using Jest and SuperTest.
Testing with SuperTestScott sets up testing with SuperTest, which allows Express requests and retrieves results without having to start an Express server.
AWS ResourcesScott reviews resources for working with AWS.
Lamda@EdgeScott discusses globally distributed lambdas push traffic and using Lamda@Edge service to customize the content that CloudFront delivers.
Wrapping Up "ServerLess with AWS"After taking questions from students about the cold start and "keeping lambdas warm," API gateways, and more, Scott wraps up Serverless with AWS course.