Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Building Dynamic Websites using AWS Lambdas

via LinkedIn Learning

Overview

Learn how to use AWS Lambda—plus technologies you already know, such as JavaScript and HTML—to build a dynamic serverless website.

While static websites are both easy on AWS and important for many businesses, some degree of interactivity is now an expected part of the web. Whether it's a shopping cart, sign-up form, or just a bit of interaction that goes beyond a simple link or button click, you need to be able to make your websites dynamic. AWS Lambda helps developers of all stripes—even those with little knowledge of back-end development—revolutionize their projects by leveraging a serverless approach to dynamic websites.In this course, instructor Brett McLaughlin shows you how to use AWS tools—plus the technology you already know, such as JavaScript and HTML—to build a complete dynamic serverless website. Learn how to write a Lambda function that takes in a request from a web server and returns an HTML response with some interaction; send an email from a Lambda function; convert a Lambda function to avoid cross-domain and security issues; and more.

Syllabus

Introduction
  • Serverless technology is for full-stack developers
  • Getting your website set up for the course
1. The Role of Serverless in a Dynamic Environment
  • 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
2. From a Request to Lambda
  • 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
3. From a Lambda Back to HTML
  • 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
4. How Far Can Serverless Dynamic Websites Go?
  • The tipping point of a dynamic website
  • AWS provides managed services for nearly everything
Conclusion
  • Next steps

Taught by

Brett McLaughlin

Related Courses

Reviews

Start your review of Building Dynamic Websites using AWS Lambdas

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free