We may earn an affiliate commission when you visit our partners.
Rahul Trisal

AWS Lambda and Python (Full Course) – Beginner to Advanced

Important Update on 24.10.2023

  • Added a new section on Generative AI - Build end to end Manufacturing Industry use case with AWS Bedrock (Cohere Foundational Model) + AWS Lambda +

  • This is a course for AWS Lambda Beginners and Intermediates planning to gain expertise in using designing and implementing AWS Serverless solutions and writing Lambda functions using Python(Boto3) with no previous coding experience or experience in a different programming language.

Read more

AWS Lambda and Python (Full Course) – Beginner to Advanced

Important Update on 24.10.2023

  • Added a new section on Generative AI - Build end to end Manufacturing Industry use case with AWS Bedrock (Cohere Foundational Model) + AWS Lambda +

  • This is a course for AWS Lambda Beginners and Intermediates planning to gain expertise in using designing and implementing AWS Serverless solutions and writing Lambda functions using Python(Boto3) with no previous coding experience or experience in a different programming language.

It starts from absolute basics on Python and AWS Serverless Services and then builds on that to write Lambda functions to create AWS Resources and finally culminating in developing advanced three real-world enterprise use case.

(Note : If you are an advanced user of AWS Lambda and Serverless, please review the course content to determine suitability as this course will start from absolute basics and then gradually cover advanced use cases)

  1. The first  project is a common banking and retail industry use-case where the bank gets a regular feed through a json file which triggers the lambda function via a S3 event notification, the Lambda functions then reads the data in the json file and inserts the data into DynamoDB.

  2. The Second project focuses on Serverless Use Case - API Gateway, AWS Lambda, S3, Lambda Authorizer, API Keys, Usage Plans

  3. Generative AI - Build end to end Manufacturing Industry use case with AWS Bedrock (Cohere Foundational Model) + AWS Lambda +

  4. Discusses detailed overview of API Gateway and related concepts

  5. Lambda Automation Scenario - AWS Lambda, EC2 and AWS EventBridge

  6. 100% Hands On learning based on Real World Implementation Scenarios.

Section 1 :  Introduction

  • Course Outline

Section 2 : AWS Lambda – Basic Concepts (Part 1)

  • Evolution from Physical Servers to AWS Lambda

  • What is AWS Lambda and Use Cases

  • Lambda Console Walkthrough

  • Lambda Execution Role

  • AWS Lambda Limits - Timeout

Section 3 : AWS Lambda - Python Basics

  • Python Basics – 1 (Print Function, Variables, Format, User Input, Data Types Intro, Data Type – Dictionary Deep Dive)

  • Python Basics – 2 (Data Type – List and Functions, How to retrieve elemements from a Dictionary and List)

Section 4 : AWS Lambda – Create S3, EC2 and DynamoDB resources using Lambda

  • AWS Lambda Basics – Boto3, Client and Resource, Lambda function handler

  • AWS Lambda with S3 (Create new Bucket, Delete Bucket and List all the buckets)

  • AWS Lambda with EC2 (Create EC2 and Start/Stop)

  • Lambda Automation Scenario - lambda, EC2 and EventBridge

  • AWS Lambda with DynamoDB (Create Table and Put Items)

Section 5  : AWS Lambda – Basic Concepts (Part 2)

  • AWS Lambda Invocation Models

  • AWS Lambda Limits - Memory

Part 6 : Serverless Project 1 - Enterprise Use Case using

Enroll now

What's inside

Learning objectives

  • Develop expertise in designing and writing aws lambda functions using python (absolute beginner to advanced) - no previous coding experience required
  • Section on generative ai - build end to end manufacturing industry use case with aws bedrock (cohere foundational model) + aws lambda + aws api gate
  • Learn basics of python which will be used to write key aws services such as ec2, s3 and dynamodb using aws lambda(python)
  • Develop a realworld enterprise serverless use case 1 - using aws s3, aws lambda and dynamodb
  • Develop realworld serverless use case 2 - using api gateway, aws lambda, s3, cognito authorizer, lambda authorizer, api keys and usage plan
  • Securing api's using aws lambda authorizers - theory and hands on
  • Securing api's using aws cognito authorizers - theory and hands on
  • Aws cloudformation - implementing serverless use case from using cloudformation - api gateway, aws lambda and s3
  • Aws cdk (infrastructure as code) - implementing serverless use case using cdk v2 - api gateway, iam role, lambda and s3
  • Enterprise use case 3 - using aws managed ad, fsx, ec2, sns, aws lambda, cloudwatch alarm
  • Api gateway overview - api types, api endpoint types, resources, methods, integration, authentication and authorization, private api's and private integration
  • Aws lambda advanced concepts - invocation models, lambda limits & pricing, provisioned & reserved concurrency, handler function, events & context
  • Aws services used in the course-lambda, ec2,s3,dynamodb,api gateway,aws ms ad,fsx,sns,cloudwatch,cloudwatch alarm,aws cdk,lambda auth,cognito auth,eventbridge
  • Strongly believe this is the best lambda & serverless course on udemy. try out the course,if you donot like it,comes with 30 day money back guarantee from udemy
  • If you are an advanced user of aws lambda & serverless, please review the course content to determine suitability as this course will start from absolute basics
  • Show more
  • Show less

Syllabus

Course Outline
  1. Please download the slides used in the lectures below

  2. All the code and associated files are provided in the individual sections.

  3. Incase of any errors or issues, please reach out to me on Linkedin or trisalrahul@gmail.com

Read more
Course Pre-Requisites
AWS Lambda - Basic Concepts (Part 1)
AWS Lambda - Basic Concepts- Part 1- Section Overview
Evolution from Physical Servers to AWS Lambda
What is AWS Lambda and Use Cases
Lambda Console Walkthrough
Lambda Execution Role
AWS Lambda - Conceptual Understanding Review
Optional Section - Python Basics Refresher
Python Basics_Refresher_Part 1
Python Basics_Refresher_Part 2
Create S3, EC2 and DynamoDB resources using Lambda
Section Overview
AWS Lambda Basics – Boto3, Client and Resource, Lambda function handler
Create S3 Bucket with AWS Lambda and Boto3
Delete S3 Bucket with AWS Lambda and Boto3
List S3 Bucket with AWS Lambda and Boto3
AWS Lambda with EC2 (Create EC2, Start EC2 and Stop EC2)
AWS Lambda Automation Use Case Scenario - EC2, Lambda and EventBridge
AWS Lambda with DynamoDB (Create DynamoDB Table and Put Items)
AWS Lambda - Basic Concepts (Part 2)
AWS Lambda - Basic Concepts- Part 2- Section Overview
AWS Lambda Invocation Model - Theory
AWS Lambda Invocation Model - HandsOn
Lambda Limits - Timeout
Capstone Serverless Project - Enterprise Use Case using S3, AWS Lambda and DynamoDB
  1. The Python code used in the Capstone Project is provided.

  2. In the Capstone Project code, please create a S3 bucket and DynamoDB table with your own unique name and substitute the values in the Python code with new names.

  3. For Capstone project, the Sample Json File used has been attached as well.

AWS API Gateway - Overview
API Gateway - Overview, API Types , API Endpoint Types
API Gateway - Resources, Methods and Integration Types
API Gateway - Deployment, API Stages, API Keys and Usage Plans
API Gateway - Authentication and Authorization Methods
API Gateway - Private API's and Private Integration
Serverless Enterprise Use Case 2 - Architecture (API Gateway, AWS Lambda and S3)
S3, Lambda and API Gateway - Part 1
S3, Lambda and API Gateway with Query String Parameters - Part 2
API Keys and Usage Plan - Theory
API Keys and Usage Plan - HandsOn
API Security - Securing API's with AWS Lambda Authorizer & Cognito Authorizer
Securing API's using AWS Lambda Authorizer - Theory
Securing API's using AWS Lambda Authorizer - Handson
Securing API's using AWS Cognito Authorizer - Theory
Securing API's using AWS Cognito Authorizer - Hands On
AWS Generative AI - AWS Bedrock , API Gateway, and AWS Lambda
Generative AI - Use Case and Architecture
Generative AI - AWS Bedrock Overview
Generative AI - AWS Lambda Prerequisites
Generative AI - Write AWS Lambda Function to access Bedrock
Generative AI - Create REST API using API Gateway to access Bedrock
Generative AI - End to End Demo
AWS Lambda - Advanced Concepts
AWS Lambda - Advanced Concepts - Section Overview
Lambda Execution and Concurrency
Lambda - Reserved and Provisioned Concurrency
Lambda Limits - Memory
Lambda - VPC Networking Configuration
Lambda - VPC Networking Configuration- HandsOn
Lambda Monitoring - CloudWatch Metrics
Lambda Monitoring - CloudWatch Metrics - HandsOn
Lambda Monitoring - CloudWatch Logs
Lambda Monitoring - CloudWatch Logs - HandsOn
Lambda Versions
Lambda Aliases
Lambda - Environment Variables
Implementing the Serverless Use Case from (Section 6) using CDK v2 - API Gateway, IAM Role, Lambda and S3
(Optional Lecture) Introduction to AWS Cloud Development Kit (CDK)
AWS CDK v2 - Pre-requisites
Implementing Serveless Use Case 2 using AWS CDK v2
AWS CDK - Create S3 bucket using AWS CDK v2
AWS CDK - Create IAM Role using AWS CDK v2
AWS CDK - Create Lambda using AWS CDK v2
AWS CDK - Create API Gateway using AWS CDK v2
Learn to build End to End Serverless Use Case - API Gateway, Lambda and S3 using AWS CloudFormation
Optional - AWS CloudFormation Basics
AWS CloudFormation - Serverless Architecture - API Gateway, AWS Lambda and S3
AWS CloudFormation - S3 Bucket
AWS CloudFormation - Lambda Execution Role
AWS CloudFormation - AWS Lambda
AWS CloudFormation - REST API and API Resources
AWS CloudFormation - API Method and API Deployment
AWS CloudFormation - Lambda Invoke Permission
AWS CloudFormation - End to End Demo
AWS CloudFormation - End to End with Parameters Section
AWS CloudFormation - End to End with Metadata and Parameters Section
Capstone Project - Monitor and increase free storage for SQL Server FCI Cluster - AWS Services used AWS Managed AD, FSx, CloudWatch, SNS, AWS Lambda, EC2
Lecture 10 : Monitor & increase free storage for SQL FCI Cluster - Architecture
Lecture 11 - Create AWS Managed AD, FSx, SNS and CloudWatch Alarm Services
Lecture 12 - AWS Lambda Function to increase the free storage for FCI Cluster
Lecture 13 - Increase free storage for FCI Cluster - End to end Implementation
Learn the basics of Python that will be used to write the Lambda Function
Python Basics - Section Overview
Python Basics – 1 : PyCharm, Print Function, Variables, Format, User Input
Python Basics – 2 : Data Types Intro, For Loops and Data Type – Dictionary
Python Basics – 3 : Data Type – List and Functions

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Starts with Python basics and progresses to advanced serverless solutions, making it suitable for those with limited or no prior coding experience
Covers multiple real-world enterprise use cases, including banking/retail, serverless API development, and generative AI in manufacturing, providing practical experience
Includes a section on Generative AI using AWS Bedrock, Cohere, and Lambda, exposing learners to cutting-edge AI applications within the AWS ecosystem
Explores Infrastructure as Code (IaC) using both AWS CloudFormation and AWS CDK v2, equipping learners with skills for automated infrastructure provisioning
Requires learners to create AWS resources, which may incur costs if they are not eligible for the AWS Free Tier or if they exceed the free tier limits
Uses Python and Boto3 to interact with AWS services, which is standard practice for AWS development and automation

Save this course

Save AWS Lambda, Python(Boto3) & Serverless- Beginner to Advanced to your list so you can find it easily later:
Save

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in AWS Lambda, Python(Boto3) & Serverless- Beginner to Advanced with these activities:
Review Python Basics
Solidify your understanding of Python fundamentals, which are essential for writing effective AWS Lambda functions using Boto3.
Browse courses on Python Basics
Show steps
  • Review data types, loops, and functions.
  • Practice writing simple Python scripts.
  • Familiarize yourself with Python syntax.
Review AWS S3 Concepts
Refresh your knowledge of AWS S3 concepts, including buckets, objects, and permissions, as S3 is frequently used with Lambda for data storage and event triggers.
Browse courses on AWS S3
Show steps
  • Understand S3 bucket creation and configuration.
  • Learn about S3 object storage and retrieval.
  • Review S3 access control and security.
Practice Boto3 S3 Operations
Practice using Boto3 to perform common S3 operations, such as creating buckets, uploading files, and listing objects, to gain hands-on experience with the AWS SDK for Python.
Show steps
  • Write Python scripts to interact with S3.
  • Experiment with different Boto3 S3 methods.
  • Test your scripts with various S3 configurations.
Four other activities
Expand to see all activities and additional details
Show all seven activities
Read 'Boto3 Cookbook'
Enhance your Boto3 skills by consulting a cookbook that provides practical recipes for interacting with various AWS services.
Show steps
  • Browse the cookbook for relevant recipes.
  • Adapt the recipes to your specific use cases.
  • Test the code examples in your own AWS environment.
Read 'AWS Lambda in Action'
Deepen your understanding of AWS Lambda by reading a dedicated book on the topic, exploring advanced concepts and real-world use cases.
View AWS Lambda in Action on Amazon
Show steps
  • Read the book chapter by chapter.
  • Take notes on key concepts and examples.
  • Try out the code examples in your own environment.
Build a Serverless Image Resizer
Develop a serverless application that automatically resizes images uploaded to an S3 bucket using AWS Lambda and Boto3, reinforcing your understanding of event-driven architectures.
Show steps
  • Configure an S3 bucket for image uploads.
  • Create a Lambda function to resize images.
  • Trigger the Lambda function on S3 upload events.
  • Store the resized images in another S3 bucket.
Document Your Serverless Project
Create a comprehensive document detailing the architecture, implementation, and deployment process of your serverless project, solidifying your understanding and enabling you to share your knowledge with others.
Show steps
  • Describe the project's architecture and components.
  • Explain the implementation details of each component.
  • Document the deployment process step-by-step.
  • Include diagrams and code snippets for clarity.

Career center

Learners who complete AWS Lambda, Python(Boto3) & Serverless- Beginner to Advanced will develop knowledge and skills that may be useful to these careers:
Cloud Engineer
A Cloud Engineer designs, implements, and manages cloud infrastructure. This course is ideal for aspiring cloud engineers, since it provides a strong foundation in AWS Lambda and serverless technologies. A Cloud Engineer should know how to use Python with Boto3 to create and manage resources on AWS, which this course directly addresses. The training also covers core concepts such as using S3, EC2, and DynamoDB with Lambda, and goes into detail about API Gateway. The use of CloudFormation and CDK to manage serverless infrastructure is also covered, which further prepares you for a cloud engineering role. Finally, the course's hands-on projects give you valuable experience with real-world scenarios.
Serverless Architect
A Serverless Architect specializes in designing and implementing serverless solutions on cloud platforms like AWS. This course directly aligns with this role as it delves deeply into AWS Lambda, a core component of serverless architecture. The course covers the basics of Python and how it works with AWS Lambda. It also explores how to create serverless applications using API Gateway, S3, and DynamoDB. Moreover, the course includes practical experience with real-world use cases with hands-on projects. The deep dive into advanced concepts like invocation models, concurrency, and monitoring methods are extremely relevant for any aspiring serverless architect. This course may help you build the necessary expertise for this role.
Solutions Architect
Solutions Architects design and plan the implementation of IT solutions. They need to have an understanding of how different systems work and integrate with each other. This course provides a strong understanding of AWS Lambda and other serverless technologies, which are useful for a solutions architect. The course dives into the use of Lambda with other AWS services like S3, EC2, and DynamoDB. A solutions architect could greatly benefit from the emphasis on creating end to end serverless applications with API Gateway and the exploration of different authentication methods. The hands-on experience that this course provides may be highly useful to solutions architects.
API Developer
An API Developer designs and builds application programming interfaces. This course directly benefits API developers by covering how to use API Gateway with AWS Lambda to build serverless APIs. The course will show how to secure APIs using Lambda Authorizers and Cognito Authorizers. Additionally, the course will explore API types, endpoints, resources, methods, and integration techniques that are important for API development. The course's focus on practical, hands-on projects may further develop the skills of an API developer. This course may be useful for a API developer.
Backend Developer
Backend Developers create and maintain the server-side logic and databases that power applications. This course is helpful for backend developers because it emphasizes writing serverless functions with Python and AWS Lambda. The course covers how to connect to databases like DynamoDB, and integrates with other AWS services like S3 and EC2. If you are developing microservices, the API Gateway training will be especially beneficial. The real-world projects in this course could also enhance your ability to design and execute backend solutions. This course may be helpful for a backend developer.
Cloud Consultant
Cloud Consultants advise organizations on how to effectively use cloud computing technologies. This course provides practical insights into AWS serverless technologies, especially AWS Lambda and Python. This course may help a cloud consultant better understand how to implement solutions that incorporate AWS services such as EC2, S3, and DynamoDB. By exploring the various methods of authentication in API Gateway, cloud consultants can better advise clients on best practices for security. A Cloud Consultant would also benefit from the course's focus on real-world use cases. This course may be helpful for a cloud consultant.
Software Engineer
Software Engineers design, develop, and maintain software applications. This course can help a software engineer build skills in serverless technologies by focusing on AWS Lambda and Python. Software engineers can use AWS Lambda to create solutions that use AWS services such as EC2, S3, and DynamoDB. The course's section on API Gateway can improve skills with RESTful APIs. This course may be useful for software engineers looking to learn more about serverless development. The knowledge from this course may be particularly important for a software engineer that is building cloud applications.
DevOps Engineer
DevOps Engineers focus on automating and streamlining software development and deployment processes. This course is relevant to a DevOps Engineer's role because it teaches automation of infrastructure with AWS. The skills to create infrastructure as code using AWS CDK, along with hands-on experience automating with AWS Lambda, EventBridge, and other AWS services, can prove invaluable. The course content on CloudFormation may help boost your understanding of infrastructure management. The hands-on nature of the course may also give you valuable insight into real-world DevOps scenarios. This course may be useful for a DevOps engineer.
Automation Engineer
Automation Engineers are responsible for designing, developing, and implementing automated systems and processes. This course can benefit an Automation Engineer by teaching how to use AWS Lambda and other AWS services to create automated workflows. The course covers how to write Lambda functions with Python, and how to connect to services such as S3, EC2, and DynamoDB. The course also explores how to trigger Lambda functions with events. The experience from the hands-on projects may help boost an Automation Engineer's skills. This course may be helpful for an automation engineer.
Machine Learning Engineer
Machine Learning Engineers build and deploy machine learning models. This course can be relevant for Machine Learning Engineers through the section on generative AI, which implements AWS Bedrock with AWS Lambda and AWS API Gateway. This section can provide Machine Learning engineers with the ability to create end to end solutions that utilize machine learning. They may be able to see how to integrate a model endpoint with other serverless services. This course may be useful for a machine learning engineer.
Technical Specialist
Technical Specialists provide expertise in specific technology areas. This course can help a technical specialist develop skills in serverless technologies on AWS. The course's focus on AWS Lambda and Python can be extremely beneficial if you want to specialize in cloud technologies. The content on API Gateway, S3, EC2, and DynamoDB may help boost your technical skills. The real-world enterprise use cases covered in the course also serve to build expertise. This course may be useful for a technical specialist.
Data Engineer
Data Engineers design, build, and maintain the infrastructure for data processing and analysis. This course is relevant to a Data Engineer's work because it teaches how to process data with AWS Lambda using Python. The course explores how to connect to data stores like DynamoDB, and how to use Lambda functions to create data pipelines. The hands-on projects may be helpful to improve a data engineer's skills, particularly when processing data in real time using serverless tech. This course may be useful for a data engineer.
Application Developer
Application Developers build and maintain software applications. This course can help application developers using serverless technology on AWS by utilizing AWS Lambda. The course covers Python and how to create Lambda functions. An application developer may find it useful to learn how to connect to other AWS services such as S3, EC2, and DynamoDB. The course may also be helpful to an application developer who wants to use API Gateway within their application. This course may be useful for an application developer.
Systems Administrator
Systems Administrators manage and maintain computer systems and networks. A Systems Administrator may find this course useful for learning how to manage cloud infrastructure with serverless technologies. The course covers Python fundamentals, and how to use it with AWS Lambda. A Systems Administrator may benefit from the course content on how to manage resources like EC2, S3, and DynamoDB. The knowledge of using infrastructure as code with AWS CDK, and automation with EventBridge could further help a Systems Administrator in their role. This course may be useful for a system administrator.
IT Professional
IT Professionals work within a wide array of roles in information technology. This course provides foundational knowledge in cloud technologies by focusing on AWS Lambda, Python, and other serverless services. An IT Professional may find the knowledge of how to create and manage different AWS services helpful in a variety of roles. The course also provides hands-on experience with real-world use cases, that could be helpful for a range of IT job functions. This course may be useful for an IT professional.

Reading list

We've selected two books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in AWS Lambda, Python(Boto3) & Serverless- Beginner to Advanced.
Provides a comprehensive guide to building serverless applications with AWS Lambda. It covers various aspects of Lambda, including function development, deployment, and monitoring. It offers practical examples and real-world use cases, making it a valuable resource for both beginners and experienced developers. This book adds more depth to the course by providing detailed explanations and advanced techniques for using AWS Lambda effectively.
This cookbook offers practical recipes for using Boto3 to interact with various AWS services. It provides step-by-step instructions and code examples for common tasks, such as creating EC2 instances, managing S3 buckets, and working with DynamoDB. useful reference for developers who want to quickly learn how to use Boto3 to automate their AWS infrastructure. It is particularly helpful for understanding the practical application of Boto3 in real-world scenarios.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Similar courses are unavailable at this time. Please try again later.
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser