Deploying REST Services with Chalice for AWS

Deploying REST Services with Chalice for AWS
Deploying REST Services with Chalice for AWS
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 49m | 296 MB

Serverless architectures are growing in popularity due to their low cost and promises of hands-off configuration. Chalice, a microframework for writing serverless Python apps for Amazon Web Services (AWS), is one of the easiest ways to develop and deploy serverless applications. This course explains how to leverage Chalice specifically for deploying serverless REST services. Learn how to implement common REST components, add authentication, and use Cognito for integrating a front-end app and adding sign-up and sign-in features. Instructor Larry Ogrodnek also explains how to set up advanced options such as IAM policy generation and SAM deployment, and how to perform testing of your service. Finally, learn how to set up a continuous deployment pipeline that takes advantage of everything Chalice has to offer.

Topics include:

  • Serverless components for REST services
  • Creating your first Chalice app
  • Routing requests
  • Customizing responses
  • Implementing basic authentication
  • Integrating Cognito
  • Setting up custom policies
  • Splitting up an app
  • Writing and running tests
  • Creating a CD pipeline with CodePipeline
Table of Contents

1 Develop and deploy serverless apps
2 Course overview
3 Serverless overview and concepts
4 Common serverless architectures
5 Serverless components for REST services
6 What is Chalice
7 Chalice installation and setup
8 Create and run your first app
9 Deploying, running, and logging in AWS
10 Starting a to-do API
11 Request routing
12 Request metadata
13 Error messages
14 Customizing responses
15 CORS support
16 Authentication options
17 Implementing basic auth
18 Integrating basic auth
19 API keys
20 Cognito and web app setup
21 Chalice configuration
22 Front-end integration
23 Testing it out
24 Policy generation
25 Custom policies
26 Environment variables
27 Splitting up your application
28 SAM deployment
29 pytest setup
30 Writing and running tests
31 Chalice integration tests
32 Continuous deployment with CodePipeline and CodeBuild
33 CloudFormation template for CD
34 Adding tests and other options
35 Periodic tasks
36 S3 events
37 Next steps