
Course layout
Set up the AWS environment by creating an IAM user with programmatic and database management access, configuring a password and policies, verifying a phone, and downloading security credentials.
Set up your development environment for AWS Chalice by configuring Python, environment variables, and necessary tools across Windows and Mac, then install chalice and test APIs with Postman.
Verify the database environment is set up by running the environment script, connecting with account credentials, and listing S3 buckets to confirm readiness for the AWS Chalice app.
Explore aws cloud basics and the benefits of serverless computing, including on-demand compute, storage, automatic scaling with lambda, and chalice for building serverless rest APIs.
Create your first lambda function using the console, and learn lambda basics, including paying for compute time you consume and automatic scaling with triggers and testing via CloudWatch logs.
Create your first Chalice project and run it locally, explore the project structure, and prepare for deploying a hello world JSON response to the AWS cloud.
Explore how the chalice framework fits your application and automates deployment to aws lambda and api gateway. Learn to handle requests with request object, query parameters, headers, and json bodies.
Explore accessing request data and content type in a Chalice lab, handle query parameters and bad requests, and test your rest api.
This lab demonstrates a Chalice post endpoint that accepts a JSON object of countries with states (USA and Canada) and returns USA states, tested via postman.
Configure environment variables and tags for an AWS Chalice serverless rest api, defining app-wide and stage-specific values with a custom iam policy. Deploy and review policies in the console.
Discover how Chalice apps access other AWS resources, trigger Lambda from S3 events, and configure resource policies, while exploring S3 and Chalice documentation for practical integration.
This lab teaches you to access AWS resources S3 and SQS by creating an S3 bucket, adjusting its permissions and bucket policy, and listing buckets via API.
Practice using chalice to access S3 and SQS resources by creating a bucket, uploading and listing files, creating and using a queue, sending and receiving messages, and testing end-to-end.
Learn how to secure a Chalice REST API using IAM authorization, decorators, and custom authorizers with Lambda functions, plus guidance on validation and authorization concepts.
Secure a REST API with Cognito and IAM roles in a Chalice lab. Test locally and on AWS cloud with authentication headers.
Create a Cognito user pool and app client, obtain a token, and secure a serverless rest api with token authentication and IAM credentials.
Build a serverless REST API with AWS Chalice by wiring API gateway to lambda, a service layer, and a database connector to fetch department data as JSON.
This course is hands on workshop on AWS Chalice framework . Serverless Architecture is increasingly gaining popularity and Chalice is a great option if you are using AWS and python to write a micro-framework in python . Chalice will help in increasing productivity of writing Serverless APIs. It also allows you to quickly create and deploy applications that use AWS Lambda. It provides:
A command line tool for creating, deploying, and managing your app
A decorator based API for integrating with Amazon API Gateway, Amazon S3, Amazon SNS, Amazon SQS, and other AWS services.
Automatic IAM policy generation