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

Provider Logo

Deploying REST Services with Chalice for AWS

via LinkedIn Learning


Learn how to deploy serverless REST services using Chalice and Amazon Web Services.

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.


  • Develop and deploy serverless apps
  • Course overview
1. What Is Serverless?
  • Serverless overview and concepts
  • Common serverless architectures
  • Serverless components for REST services
2. Run and Deploy Your First App with Chalice
  • What is Chalice?
  • Chalice installation and setup
  • Create and run your first app
  • Deploying, running, and logging in AWS
3. REST Basics with Chalice
  • Starting a to-do API
  • Request routing
  • Request metadata
  • Error messages
  • Customizing responses
  • CORS support
4. Authentication
  • Authentication options
  • Implementing basic auth
  • Integrating basic auth
  • API keys
5. Cognito Integration
  • Cognito and web app setup
  • Chalice configuration
  • Front-end integration
  • Testing it out
6. Advanced Deployment
  • Policy generation
  • Custom policies
  • Environment variables
  • Splitting up your application
  • SAM deployment
7. Testing
  • pytest setup
  • Writing and running tests
  • Chalice integration tests
8. Continuous Deployment via CodePipeline
  • Continuous deployment with CodePipeline and CodeBuild
  • CloudFormation template for CD
  • Adding tests and other options
9. Other Chalice Features
  • Periodic tasks
  • S3 events
  • Next steps

Taught by

Lawrence Ogrodnek

Related Courses


0.0 rating, based on 0 reviews

Start your review of Deploying REST Services with Chalice for AWS

Never stop learning Never Stop Learning!

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

Sign up for free