
Master AWS serverless basics with Lambda and API Gateway, debugging via Cloud9 and X-Ray, and managing workloads with Step Functions across databases and DevOps pipelines.
Please check out AWS pricing page for latest price for any service
Explore ways to create lambda and serverless resources: the console, infrastructure as code (CloudFormation, SAM, CDK), and the AWS CLI, plus testing in Cloud9 and DevOps deployment.
Explore AWS IAM concepts, including policies, groups, users, and roles, and learn to assign access with S3, lambda, and dynamo across scenarios of group permissions and service roles.
Install Postman, create an account, and learn basic features to call our API gateway using get and post requests, verifying responses like hello world and hello from France.
Explore api gateway components, including method request, integration request, and integration response, and see how the public interface maps status codes, headers, and payload through stages and resources.
Link to Apache Velocity User Guide: http://velocity.apache.org/engine/1.7/user-guide.html
Demonstrate cross account calls by routing an API gateway integration to a lambda function in another account, configure permissions, test invocation, and validate security policies.
Learn to create an API in API Gateway, view and change endpoint type after creation using the gear icon or AWS CLI, and note private to edge-optimized can't be changed.
Discover how Swagger describes api structure for machine reading and api as code. Export Swagger from api gateway, generate boilerplate docs, and enable multi-environment reuse via open api standards.
Discover how cors governs cross-origin requests, distinguish simple vs non-simple, and implement preflight checks and access-control headers in api gateway and lambda to control origins.
Compare REST API and HTTP API, highlighting when HTTP API suits Lambda backends for lower latency and cost, and when REST API is needed for broader AWS service integration.
Note that you can store public cert for free in ACM. $400/month is charged when you start storing private CA.
Purchase a domain in Route 53, issue an ACM certificate via DNS validation, and map an API Gateway custom domain to a Lambda-backed API.
We look at how Lambda scales under the hood. We also take a look at how do you set limit on Concurrency. Provisioned Concurrency, announced re:invent 2019 is also included!
Master how lambda environment variables pass key-value pairs to your function without code changes. They enable dev, stage, and production configurations by reading from the environment, with encryption options.
Demonstrates an external dependency problem in AWS Lambda by calling a bitcoin price API and showing unable to import module named requests error, then packaging requests with the Lambda code.
Use Visual Studio Code with the AWS toolkit to connect to your account, download and test a lambda, install the requests module inside its folder, and upload the updated code.
Demonstrates creating a lambda layer to host a validated account function, packaging as a Python zip, and attaching the layer to create account and get balance lambdas.
demonstrates integrating an elastic file system with Lambda, exposing an HTTP API to add, get, and delete messages, while sharing the same FS with Cloud9 via a VPC mount.
Explore the serverless repository to browse lambda code samples, deploy lambdas with a single click, and publish your improvements back to the community.
Code a real-world boto3 workflow in aws lambda that triggers on ec2 state changes via cloudwatch, reads instance tags, stops the instance, and notifies the employee via ses.
Explore how AWS SNS and SQS enable scalable, secure messaging, covering standard and FIFO queues, message filtering, fan-out architectures, dead-letter queues, visibility timeout, and Lambda integration.
Compare SNS, SQS, and EventBridge across push and pull semantics, routing, schema, replay, and integrations to guide design decisions for real-world serverless apps.
Discover how AWS Step Functions coordinate multiple lambdas via a visual state machine to control flow, looping, and error handling. Learn how tasks and transitions form a plug-and-play, visual workflow.
Explore the upgraded AWS Step Functions console with templates, sample projects, and one-click step machines, including sequential Lambda calls, parallel and nested workflows, and input-output behavior.
Experience the new visual workflow designer for AWS Step Functions, which lets you design your workflow visually with drag-and-drop actions, lambda invocations, conditionals, and parallel flows without writing JSON.
Explore nested step functions in AWS serverless by wiring a synchronized validate account lambda, handling 200 and 400 outputs, and securing access with IAM roles and CloudWatch events.
Learn to log and monitor AWS lambda with CloudWatch logs, metrics, and insights. Explore viewing logs, exporting data to S3, streaming to Elasticsearch, and setting alarms for duration and concurrency.
Learn to monitor your api using cloudwatch metrics by inspecting api calls latency, integration latency, and data access on the api gateway dashboard and in cloudwatch.
Explore and filter cloud trail logs in the console, create trails to dump events to an S3 bucket, and route logs to CloudWatch for Lambda and API activity.
Brand new feature announced at AWS Re:Invent 2018, CloudWatch Logs Insight, which makes it possible to query logs easily to gather actionable information such as over provisioned lambda, latency information etc.
Learn how to enable x-ray tracing on api gateway, and read its detailed timing across stages, api calls, and lambda execution, using cloud watch logs and viewable traces for troubleshooting.
Enable basic tracing for a Lambda function using AWS X-Ray in the console. Test function invocations, then view traces and service maps to inspect timing and the flow of calls.
Explore how lambda advanced tracing uses x-ray subsegments to print per-subsegment timings, annotate code, and visualize detailed execution graphs for a real-world news sentiment workflow.
Learn how the AWS CLI powers serverless workflows by managing S3 buckets and Lambda functions from the command line, with setup steps, policies, and practical examples.
Set up the AWS CLI on an EC2 instance, install pip and the CLI on Red Hat Enterprise Linux, then verify Lambda access by listing and invoking functions.
Create a Python lambda from EC2 using the AWS CLI by packaging code and dependencies (like requests) into a zip, then deploy with a basic execution role.
Explore the easy way to use the AWS CLI via Cloud9 to create and package a lambda function, install dependencies, and zip the deployment bundle.
Learn to invoke an AWS Lambda function from the AWS CLI by specifying the function name, output file, and optional payload, illustrated with a hello world example in Cloud9.
Learn to update a lambda function from the AWS CLI using Cloud9, by packaging code into a zip, specifying the function name, and applying update-function-code to reflect changes.
Create a Cloud9 environment in AWS, explore its three panes, and use the built-in AWS CLI and toolkit to download, view, and manage Lambda functions and other resources.
Lambda security is essential for real-world projects. Let's dive into it!!
Explore how to configure an API key in AWS API gateway using usage plans, deploying to stages, and enforcing key-based access with the X API key header.
Explore secure API access with Cognito user pools, app clients, and token-based authorizers for API gateway and lambda, comparing to api keys and highlighting token rotation and validation.
Discover how to create a Cognito identity pool in the console, assign roles, and obtain credentials, while understanding trusted authentication providers and pool and app client IDs.
Watch a hands-on demonstration of AWS Secrets Manager, creating and rotating secrets including database credentials and generic key-value secrets, and see Python code to fetch secrets by name and region.
Explore securing an API by applying and testing an AWS Lambda resource policy in AWS, showing how to grant and remove permissions for API gateway calls across accounts.
Configure api gateway with a lambda authorizer using Auth0 as the identity provider, validating the token and mirroring the Cognito flow with two lambdas.
Apply api gateway resource policy to restrict which api methods invoke Lambda, using ip address conditions, principals, and deny or allow rules, including private traffic via vpc.
Demonstrates an API gateway resource policy that restricts access by IP address ranges, deploys the policy, and verifies forbidden responses when requests do not match.
Amazon Inspector now supports lambda scanning, delivering automated vulnerability assessments for lambda functions and layers. Enable scanning in account management, review findings, and trigger remediations via event bridge or sns.
Compare SQL and NoSQL databases by examining relational database management systems with predefined schemas versus schema-flexible data. Understand how acid properties and horizontal scaling influence real-world choices.
Examine lambda concurrency versus traditional database limits, and how auto scaling with dynamo db or aurora solderless prevents bottlenecks by expanding read write capacity.
Explore global tables with two-way replication across regions for low-latency reads, automatic traffic shift if a region fails, and seamless global scaling at a modest extra cost.
Demonstrate enabling strongly consistent reads in DynamoDB by using a Lambda to fetch a person by id from a people table and return John's information.
Brand new feature announced at AWS Re:Invent 2018, DynamoDB On Demand, making DynamoDB even more useful for Serverless applications.
Learn how DynamoDB streams capture near real-time data modification events for inserts, updates, and deletes. Use Lambda to react, enabling cross-table updates, archiving transactions, and data replication.
Explore how Aurora Serverless scales with traffic and pauses compute to pay only for storage when idle. The demo covers creating Aurora Serverless, setting min capacity, and connecting via endpoint.
Code: https://github.com/saha-rajdeep/genai/blob/main/Bedrock_with_Lambda.py
Create Layer: https://repost.aws/knowledge-center/lambda-python-runtime-errors
Build a real life serverless app by calling the News API, securing the API key, and using a Python AWS Lambda with Amazon Comprehend to store sentiment in DynamoDB.
Deploy and test a lambda-based news app by installing the requests dependency, creating test events to insert, fetch sentiment, and delete news, and scheduling via CloudWatch events.
Learn to create a CloudWatch scheduled rule that triggers a Lambda every three minutes, wiring it to insert or delete items in DynamoDB and monitor invocations.
Recap of part one shows how Cloud9 supports editing, testing, and deployment. It covers external dependencies like requests and how Dynamo, Lamda, CloudWatch, and Comprehend connect services.
Build a post api using lambda to fetch news by sentiment from a DynamoDB table named Neals, returning the latest 10 items in descending timestamp order.
Discover how lambda easily integrates with diverse services with minimal code, backed by documentation, while securing with api gateway and cognito user pools, and simplifying deployment, testing, and auto scaling.
[Oct 2023] Added Gen AI Demo with Lambda and Amazon Bedrock
[Dec 2022] Added Re:Invent 2022 Updates
[Nov 2021] Updated with all newest features - Lambda Container Image, re:Invent 2020 Changes, Step Function Visual Workflow, EFS Lambda, RDS Proxy, Custom Domain, HTTP API with Demos, EventBridge Deep Dive
Serverless computing is the future of Cloud Computing. You can deploy AWS Lambda functions in Amazon Web Services that infinitely scale without managing any servers! Serverless is the tool that you need to grow your career.
How is this course different?
This course will teach you the ENTIRE Serverless ecosystem. We will start with:
Understand, Develop and Deploy AWS Lambda
Create REST APIs using Lambda and API Gateway
Learn DevOps and entire AWS CI/CD Services (CodeCommit, CodeBuild, CodeDeploy, Code Pipeline, CodeStar)
AWS SAM (Serverless Application Model)
Serverless Vs Container
The Serverless Framework
Serverless Best Practices and Architecture Patterns
But it doesn't stop there. We will learn:
Debugging and Pair Programming using AWS Cloud9
Tracing using X-Ray, CloudWatch Log Insights to gain performance insights on our Lambdas and APIs
Lambda Layers
Ways to secure our design with in-depth lectures and demo. This includes:
API Key and Usage Plans
AWS Cognito User Pools
AWS Secrets Manager
Lambda Resource Policies
Lambda Authorizer (Custom Authorizer)
API Gateway Resource Policies
Encrypting data using CMK (Customer Managed Keys)
And more!
Other relevant AWS Services such as Step Functions, Comprehend etc
Databases that complement Serverless - DynamoDB and Serverless Aurora
A real world news sentiment analysis project
Limitations of Serverless (Yes, there are indeed some!)
And much much more!
About the instructor
Rajdeep Saha is a Principal Solutions Architect at AWS. He has migrated and designed numerous mission-critical apps in the cloud, handling millions of transactions. Rajdeep has presented at the biggest stages, such as AWS Re:Invent, AWS Summits, and Kubecon. He has authored multiple bestselling courses and mentored students successfully to cloud jobs, including FAANG companies. Rajdeep also runs a successful YouTube channel named "Cloud With Raj" with over 100K+ subscribers. He has over 250,000+ followers across the globe. Rajdeep takes pride in teaching real-world solutions and learnings beyond just theoretical information. You are in capable hands! All opinions are Rajdeep's own.
This is the course that could take your career to next level. Serverless is the way of future and you can get started today and become an expert.
Let's have some fun and build some awesome stuff in cloud together!