
Explore the serverless mindset and design principles for building scalable, cost-effective apps on AWS. Focus on business requirements, serverless first thinking, managed services, and decoupled architectures.
Design a serverless AWS-based architecture for the National Fuel Path app, enabling registration, OTP verification, and QR code issuance for fuel access.
Design a scalable serverless AWS architecture with passwordless OTP authentication, store user and vehicle data, verify details via external systems, deliver QR codes via SMS securely and asynchronously.
Design a serverless first frontend architecture using S3 static hosting and CloudFront caching, with Amazon Incognito passwordless authentication via OTP and SNS for SMS delivery, plus Amplify token management.
Verify OTP and collect user details, then trigger a register flow through API gateway and a user register Lambda. Store the data in a DynamoDB user table for next steps.
Evaluate the user registration architecture across scalability, cost, security, and complexity using serverless services. Highlight security controls like CloudFront with origin access identity and Cognito tokens, and reserve Lambda concurrency.
Explore how EventBridge enables easy extension of serverless applications by ingesting events, using rules to filter corporate events, and routing them to the appropriate external systems.
Discover a scalable serverless architecture using event bridge, lambda, and queue-based controls to throttle concurrent vehicle registrations, with asynchronous flow, dead letter queue, and sms-enabled qr code delivery.
Discover how to implement idempotency in serverless AWS workloads using DynamoDB conditional writes, Lambda Power Tools, and idempotency keys to prevent duplicate records or charges in Express Workflows.
Explore AWS Lambda as the core serverless, event-driven engine. Trigger it by events like HTTP, S3, and DynamoDB streams to fetch weather data and create thumbnails.
Learn to access AWS Lambda from the console, create functions from scratch or via blueprint or container image, select runtime, set triggers, and note infrastructure as code with serverless framework.
Explore amazon api gateway, a fully managed restful api service for web, mobile, and private networks, with caching, authorization, lambda and dynamo db integrations.
Blog post: https://enlear.academy/aws-iam-summary-5d97bb129ae1
Explore Amazon CloudWatch as a centralized logging and observability service that collects logs from cloud resources, applications, and on-premises servers, enabling custom metrics, alarms, and automated responses with AWS Lambda.
Discover how AWS CloudWatch manages logs with log groups and streams and sets retention policies. Learn to create metric and subscription filters, trigger alarms, and integrate with Lambda for observability.
Explore the architecture of a serverless note-taking app built with api gateway, lambda, and dynamodb, using infrastructure as code with the serverless framework, rest api, and crud operations.
Configure AWS credentials by creating an IAM user with administrator access, generate an access key and secret, and set up credentials locally using npm run sls config credentials.
Explore API gateway routes for node CRUD operations to Lambda functions via proxy integration, reviewing the dev stage in us east 2 and the get all nodes flow.
Implement an update node function for DynamoDB, granting update item permission, and use an update expression with attribute names/values and attribute_exists to return 200 on success or 500 on error.
Learn to replace hardcoded notes table names with environment variables in serverless.yml at the provider level, reference them in lambdas via process.env and href, then redeploy and test the endpoints.
Set up Visual Studio Code as your code editor, then install the serverless framework CLI globally with npm. Use serverless framework v2 to build serverless applications on AWS.
Create the first AWS Lambda function and connect it to API Gateway to expose a post /notes endpoint, deploy with Serverless, and test using Postman.
Learn how to grant per-function DynamoDB put item permissions using an IAM role for the function, leveraging a serverless plugin and CloudFormation intrinsic functions to reference the table.
Explore optimizing serverless lambdas by preventing event loop waits. Set context.callbackWaitsForEmptyEventLoop to false so callbacks return immediately, then apply to create, update, delete, and get functions and deploy.
Enable http keep-alive to reuse connections in lambda invocations. Configure an environment variable to enable reuse, reducing latency when lambda functions call the AWS SDK and DynamoDB.
Blog post: https://seed.run/blog/how-to-fix-dynamodb-timeouts-in-serverless-application.html
Learn to configure API key access with the serverless framework, replacing console-based setup, by defining usage plans, API keys, and throttling in serverless.yml for AWS API gateway.
Explore how a Lambda authorizer controls access to API Gateway endpoints, inspect policy documents and authorizer context in CloudWatch logs, and share context across downstream Lambda functions.
Explore how Cognito user pool authorizers validate access by user pool membership alone, not IAM roles or groups, and how to enforce denies with API gateway using optional Lambda authorizers.
Automate creation of a Cognito user pool, its client, and domain with CloudFormation via the Serverless Framework, using infrastructure as code for production-ready authentication.
Replace hardcoded values with environment variables in your serverless AWS app by using CloudFormation intrinsic functions to fetch the user pool attributes and pass them to Lambda handlers.
This lecture demonstrates configuring multi-environment deployments with the serverless framework by using a command-line stage parameter, default values, and dynamic resource naming.
Test the serverless environment by creating a user, obtaining authorization tokens, updating api gateway endpoints, and performing authenticated note creation and retrieval with DynamoDB.
Compare continuous integration, continuous delivery, and continuous deployment; learn how build, test, and package steps transition with a manual review quality gate in a mature deployment pipeline.
Diagnose the deployment failure by inspecting the build tail for the forbidden Cerberus error during serverless deploy, then grant administrator access to the codebuild service role and rerun.
Discover how to use GitHub Actions to build a simple seed continuous delivery pipeline for code on GitHub, with build specs in code and event-driven triggers, plus Serverless Framework integration.
Demonstrates deploying a production serverless workflow on AWS by installing the serverless plugin in GitHub Actions, configuring a production stage, and verifying API Gateway, Lambda endpoints, and DynamoDB resources.
Explore the test honeycomb strategy for serverless microservices, prioritizing integration and acceptance tests over unit tests, and apply it to API gateway, Lambda functions, and DynamoDB.
Configure and test the AWS Cognito Admin API by initializing environment variables, creating an authenticated user in the user pool, and obtaining an ID token to drive admin flows.
Create a test to add a new node with id 1000, title and description, using an id token, via the nodes post endpoint, and verify a 201 response.
Fix the caching issue by reworking the lambda authorizer policy to split API gateway resources and use wildcards, reducing latency while ensuring create, update, and delete notes tests pass.
Welcome to this course! In this course, you’ll learn serverless fundamentals and gradually dive deep into production-ready serverless application implementations.
By following this course, you’ll get hands-on experience with serverless services like AWS Lambda, Amazon API Gateway, AWS AppSync, Amazon DynamoDB, Amazon Cognito, SQS, SNS, IAM, and many more services...
What is Covered in the Course?
1. Serverless Fundamentals
This section includes lessons to get you up-to-speed with commonly used serverless services on AWS such as AWS Lambda, Amazon API Gateway, Amazon DynamoDB, IAM and etc... If you are new to AWS, this is a must-to-watch section and it will help you easily follow along with the rest of the sections in the course.
2. Serverless REST API Development
In the next couple of sections, you'll learn to build a Serverless REST API that handles CRUD operations from scratch. I will cover the following topics:
Use the serverless framework to provision and deploy Lambda functions, API Gateway, and DynamoDB.
Implement Access Controls to your REST APIs with Lambda Authorizers and Cognito User Pool Authorizers.
Use the principle of least privilege to provide minimum permission to the Lambda functions that talk to the DynamoDB tables.
How to secure your API with Web Application Firewall (AWS WAF)
How to write acceptance tests for your API
How to deploy your API for multiple environments (Dev/Test/Staging/Prod)
Many more...
3. Serverless GraphQL API Development
Next, you'll learn how to build GraphQL API with AWS AppSync for an online book store application. AWS AppSync is a managed GraphQL service that'll help you build powerful GraphQL APIs easily. I will cover the following topics:
Design the GraphQL schema with Queries, Mutations, and Subscriptions
Create AppSync resolvers to communicate with AWS services such as Amazon DynamoDB
Implement role-based access control with Cognito User Pool for the AppSync API
Implement Guest User Access to the AppSync API
Many more...
4. Serverless Use Cases
When building serverless applications, we come across many real-world challenges. So we are going to cover several real-world use-cases and how to build solutions with serverless architectures. I will cover the following topics:
How to deal with large payloads
How to improve user experience with asynchronous & event-driven architectures
How to implement real-time monitoring and troubleshooting architectures
Many more...
This course will be constantly updated with new sections with more content to keep up with the innovations that taking place in AWS serverless world.
Happy Learning!
Manoj.