Video description
Get into serverless computing with API Gateway, AWS Lambda and other Amazon Web Services! Zero server config APIs & SPAs
About This Video
- Create your own API Gateway and Lambda and Use it for your projects.
- Effortlessly build applications on cloud services with serverless components.
- Manage and secure your applications using AWS tools
In Detail
This course will introduce you to serverless computing and then quickly dive into how to build serverless apps with Amazon Web Services (AWS).
Specifically, you will learn:
- To build a REST API without worrying about servers, using AWS API Gateway
- Set up your on-demand code via AWS Lambda
- Execute Lambda code whenever incoming requests reach your defined REST endpoints
- Store data in a database - naturally without managing any database servers!
We won't stop here though! Instead, you'll then dive even deeper into serverless computing and learn:
- To add user authentication to your existing frontend apps and how you can then also protect your REST API against unauthenticated access with ease!
- how you can easily integrate a complete user sign up & sign in flow (including user confirmation) into ANY app (web app, iOS or Android app!) with AWS Cognito
- Deploy your web app in a serverless manner
- Speed up the delivery of your static web app assets
Secure your serverless app
What else you can build with the services covered in this course and which other services might be interesting to you were to dive deeper regarding advanced development workflows.
Publisher resources
Table of contents
- Chapter 1 : Getting Started
- Chapter 2 : The Core Serverless Services
-
Chapter 3 : Creating an API with API Gateway AWS Lambda
- Module Introduction
- What is API Gateway?
- Accessing the API Gateway Console
- General API Gateway Features
- API-specific Features Options
- Introducing the Request-Response Cycle
- Understanding the Request-Response Cycle
- Creating a New API
- Creating a Resource (= URL Path)
- Handling CORS and the OPTIONS Preflight Request
- Creating a (HTTP) Method
- What is AWS Lambda?
- Creating a Lambda Function
- Connecting Lambda Functions to API Gateway Endpoints
- Accessing the API from the Web Fixing CORS Issues
- Understanding "event" in Lambda Functions
- Forwarding Requests with "Proxy Integration"
- Accessing Lambda Logs
- Getting Started with Body Mapping Templates
- Extracting Request Data with Body Mapping Templates
- What's the Idea behind Body Mappings?
- Mapping Response Data
- Using Models Validating Requests
- Models Mappings
- Next Steps
- Adding a DELETE Method Endpoint to the API
- Using Path Parameters
- Accessing the API from the Web - The Right Way
- Wrap Up
-
Chapter 4 : Data Storage with DynamoDB
- Module Introduction
- What is DynamoDB?
- How DynamoDB Organizes Data
- NoSQL vs SQL
- Using DynamoDB with Lambda
- Creating a Table in DynamoDB
- Understanding Read Write Capacity
- Creating and Scanning Items
- What about multiple Databases?
- Accessing DynamoDB from Lambda
- Sidenote: How Lambda works behind the Scenes
- Putting Items into a DynamoDB Table from Lambda
- Setting Permissions Right
- Using API Gateway (Request) Data for Item Creation
- Mapping the Response Web Testing
- Scanning Data in DynamoDB from Lambda
- Improving the IAM Permissions
- Restructuring Fetched Data in Lambda
- Getting a Single Item from DynamoDB via Lambda
- Testing it from the Web Passing Correct Data
- Preparing "Delete" Permissions
- Deleting Items in DynamoDB via Lambda
- Mapping DynamoDB Responses
- Wrap Up
-
Chapter 5 : Authenticating Users with Cognito and API Gateway Authorizers
- Module Introduction
- How to add Authorization to API Gateway
- Understanding Custom Authorizers (API Gateway)
- Creating a Custom Authorizer Function
- Using Custom Authorizers
- Retrieving Users from Custom Authorizers
- What is AWS Cognito?
- Cognito User Pools and Federated Identities
- Creating a Cognito User Pool
- Understanding the Cognito Auth Flow
- Adding Cognito to a Frontend App - Getting Started
- Adding Signup to the Frontend App
- Adding User Confirmation to a Frontend App
- Adding Signin to a Frontend App
- Managing User State with Cognito
- Using a Cognito Authorizer with API Gateway
- Passing the right User ID to Lambda
- Using Query Params Cognito from Lambda
- Passing Query Params from the Frontend
- Passing the User Id to the DELETE Endpoint
- Wrap Up
-
Chapter 6 : Hosting a Serverless SPA
- Module Introduction
- What is S3?
- Creating a S3 Bucket
- Uploading the Web App to the Bucket
- Turning a S3 Bucket into a Static Webserver
- Setting up Logging
- Optimizing Content Delivery: What is AWS CloudFront?
- Setting up a CloudFront Distribution
- Finishing the CloudFront Setup
- Using a Custom Domain: What is Route53?
- Registering a Domain
- Connecting a Domain to a CloudFront Distribution
- Wrap Up
-
Chapter 7 : Beyond the Basics - An Outlook
- Module Introduction
- Documenting an API
- Other AWS Lambda Triggers
- Going Serverless with a Node/ Express App (Non-API!)
- Running Node/ Express Apps via Lambda + API Gateway
- Pros and Cons of Serverless Node/Express MPA
- Serverless Apps and Security
- A Case of a Better Development Workflow
- Getting to know the Serverless Framework
- Getting to know SAM (Serverless Application Model) by AWS
- Testing Serverless Apps with localstack
- Other useful AWS Services
- Wrap Up
- Chapter 8 : Course Roundup
Product information
- Title: AWS Serverless APIs & Apps - A Complete Introduction
- Author(s):
- Release date: October 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789954340
You might also like
video
Python Fundamentals
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …
video
AWS Certified Developer (Associate)
14+ Hours of Video One Line Sell More than 14 hours of video instruction preparing the …
video
AWS Certified Cloud Practitioner Complete Video Course
7 Hours of Video Instruction Seven hours of video instruction covering the fundamentals of cloud computing; …
video
Data Engineering with Python and AWS Lambda LiveLessons
7 Hours of Video Instruction Data Engineering with Python and AWS Lambda LiveLessons shows users how …