Learn how to use AWS Lambda—plus technologies you already know, such as JavaScript and HTML—to build a dynamic serverless website.
Overview
Syllabus
Introduction
- Serverless technology is for full-stack developers
- Getting your website set up for the course
- Static websites are a starting point
- Websites are really browser-based APIs
- Serverless websites from 10,000 feet
- Challenge: Diagram a multiple-step request flow
- Solution: Diagram a multiple-step request flow
- Setting up an API gateway
- Routing requests to Lambda
- Hello Lambda!
- Deploy your API gateway
- Enable Lambda proxy integration
- Challenge: Write a simple responder for a web request
- Solution: Write a simple responder for a web request
- Submit to an API with JavaScript
- Test your new JavaScript submission
- Deal with the dreaded CORS problem
- Challenge: Update your HTML with the Lambda response
- Solution: Update your HTML with the Lambda response
- Get SES ready for sending email
- Give your Lambda function permissions to use SES
- Send an email from your Lambda function
- Convert your Lambda to run synchronously
- Challenge: Add in the information from the feedback form to your Lambda function
- Solution: Add in the information from the feedback form to your Lambda function
- The tipping point of a dynamic website
- AWS provides managed services for nearly everything
- Next steps
Taught by
Brett McLaughlin