- 1. Introduction 1m 27s
- 2. About This Course 2m 59s
- 3. What We Will Build in This Course 1m 15s
- 4. What Do You Need For This Course? 3m 24s
Build and Deploy Lambda Functions: AWS with Python and Boto3
About this course
AWS Lambda is one of the fastest growing services of AWS!
Join me in this course to learn how you can develop and deploy Python, Node.js or Java Lambda functions using Python and Boto3; manage your serverless functions easily!
This course is part of a series of courses on AWS solutions with Python and Boto3 and now it’s time to implement serverless functions!
AWS Lambda is a cornerstone service for serverless architectures on AWS. You do not manage infrastructure like CPU, memory, OS or patches you name it! All you have to do and worry about is your implementation and code!
Let’s take a closer look at what we’re going to cover in this course step-by-step.
In this course, we will start off with what we’ll build throughout the course and what you need to have on your computer to follow along with me.
Don’t worry; I’ll explain everything you need very clearly and I’ll show you what you need to install and setup on your computer to work with AWS Lambda. There will be two different sections for Windows and MacOS users. These sections are basically identical and show how you can prepare your computer environment to be ready to work with AWS Lambda! I’ll show you how to install Python, Boto3 and configure your environments for these tools. I’ll also show you how you can create your own AWS account step-by-step and you’ll be ready to work AWS in no time!
When we’re done with preparing our environment to work AWS with Python and Boto3, we’ll start implementing our solutions for AWS.
First thing we’ll do is to create an IAM Access Policy for our Lambda Functions to access and communicate with other AWS resources like S3, CloudWatch and so on. Once we have it created, we’ll also create an IAM Role for our Lambda Functionto execute and run on AWS on our behalf. And as for the most crucial part of this process, we’ll attach the IAM Policy to IAM Role so we will be complete on permissions and roles to run our Lambda Functions!
Next step is to develop a Python Lambda function from scratch! We’ll develop a Python function with a proper handler and start implementing the way to develop it to AWS. For that purpose - since AWS is looking for bytes of the source code for Lambda functions – we’ll develop a Utility class where we’ll implement the way to package our Lambda Function first as zip file. Once we do that, we’ll then read the bytes of the file and pass that information to our deployer method. Apart from source code, we will also provide our Lambda function a runtime, name and so on.
Once we successfully deploy our Python Lambda function, we’ll check it out on AWS console and verify that its configured as we expect it to be.
Next up is the implementation and deployment of a Node.js Lambda function! We’ll follow the same steps again to implement and create our own Node.js Lambda function and deploy it using our genericly-implemented solution for deployment. Once we’ve done that, we’ll again go to AWS console and verify our Lambda function.
Java Lambda functions are up next! We’ll launch Eclipse IDE - which is basically the easiest way to create and work with Java Lambda functions – and install AWS Toolkit first. Once we have it, we will create our very first Java Lambda function and then we’ll package it as an executable JAR file using Maven. Next thing to do is to deploy our Java Lambda function and once we do that, we’ll go to AWS console and verify it.
Now is time to invoke our Lambda functions and you will see how easy it is to do so! We’ll call our function and parse the response from AWS!
Next up is to manage our Lambda function in various ways and that includes Aliasing, Versioning, using Environment Variables, Updating the Source Code and much more! We’ll also learn all the basic CRUD operations we can do against Lambda functions and you’ll again see how easy those are too!
Let’s not lose any more time and jump right into developing and deploying Lambda functions to AWS Lambda!
What you'll learn
- AWS Lambda is one of the fastest growing services of AWS!
- Join me in this course to learn how you can develop and deploy Python, Node.js or Java Lambda functions using Python and Boto3; manage your serverless functions easily!
- This course is part of a series of courses on AWS solutions with Python and Boto3 and now it’s time to implement serverless functions!
- AWS Lambda is a cornerstone service for serverless architectures on AWS.
Curriculum
45 Lessons • 3H 14M- 1. Section Overview 3m 43s
- 2. About Tools and Environment 4m 29s
- 3. Create an AWS Account If You Don't Already Have It! 9m 4s
- 4. Logging in to AWS Console and A Walkthrough 9m 13s
- 5. Let's Create Our AWS Credentials! 11m 13s
- 1. Installing Python 3 and Pip 2m 57s
- 2. Installing AWS SDK (CLI) 4m 20s
- 3. Preparing CLI with AWS Credentials 2m 56s
- 4. Installing Boto3 1m 16s
- 5. Verifying The Setup 2m 15s
- 1. Installing Python 3 and Pip 3m 24s
- 2. Installing AWS SDK (CLI) 3m 1s
- 3. Preparing CLI with AWS Credentials 2m
- 4. Installing Boto3 50s
- 5. Verifying The Setup 2m 8s
- 1. Setting Up Our Project with PyCharm IDE 3m 23s
- 2. Creating an IAM Lambda Access Policy 9m 52s
- 3. Creating an IAM Execution Role 6m 54s
- 4. Attaching IAM Access Policy to IAM Execution Role 1m 44s
- 5. Implementing Utility Methods for Source Code Bytes Reading - Part 1 5m 10s
- 6. Implementing Utility Methods for Source Code Bytes Reading - Part 2 7m 33s
- 1. Developing a Python Lambda Function 4m 15s
- 2. Deploying Python Lambda Function 7m 20s
- 3. AWS Console Checkpoint: Python Lambda Function 2m 16s
- 4. Developing a NodeJS Lambda Function 3m 57s
- 5. Deploying NodeJS Lambda Function 2m 51s
- 6. AWS Console Checkpoint: NodeJS Lambda Function 1m 2s
- 7. Installing Eclipse AWS Plugin 5m 39s
- 8. Creating a Java Lambda Function with Eclipse AWS Plugin 8m 55s
- 9. Deploying Java Lambda Function 10m 3s
- 10. AWS Console Checkpoint: Java Lambda Function 1m 9s
- 1. Invoking Functions 4m 14s
- 2. Passing Environment Variables to a Function 6m 10s
- 3. Modifying Function Code to Use Environment Variable and Invoking 7m 22s
- 4. Publishing a New Function Version 5m 9s
- 5. Creating Aliases for Function Versions 5m 10s
- 6. Invoking Functions with Aliases 3m 40s
- 1. Getting a Function Configuration 2m 20s
- 2. Listing All Function Configurations 1m 45s
- 3. Updating Function Configurations 3m 2s
- 4. Deleting Functions 1m 58s
- 0.00 instructor rating
- 1 courses
- Systems students worldwide
Niyazi Erdogan
Learn from DragonZap instructors with practical, build-first lessons focused on systems, low-level programming, compilers, kernels, and real-world engineering fundamentals.
Student reviews
No student reviews have been posted yet.