Serverless Applications with AWS Lambda in Practice

Conquer the world of serverless application: Develop production-ready, serverless and secure apps with AWS Lambda
Packt Publishing
1 student enrolled
English [Auto-generated]
Understand the serverless concept, its benefits, and challenges
Design and build an application based on AWS serverless services
Discover AWS serverless services and their various roles
Understand interconnections between the AWS serverless and microservice concepts
Monitor and trace serverless applications
Develop and deploy an application using AWS serverless components.
Easily add user sign-up and sign-in to your mobile and web apps with Amazon Cognito.
Effortlessly build applications on cloud services with serverless components.
Manage and secure your applications using AWS tools
Build and manage secure serverless applications on AWS
Port an existing server-based app to Lambda-based serverless architecture
Step in serverless databases on AWS. Deploy the serverless web app

Are you looking forward to developing production-ready, serverless and secure applications with AWS? Then, this Learning Path is perfect for you!

Here’s how you can benefit and experience the above reasons to go Serverless with AWS:

Serverless architecture is a way to build and run applications and services without having to manage infrastructure. AWS Lambda eliminates the problem of dealing with cloud-based servers at all levels of the technology stack and offers a pay-per-request billing model where you don’t have to pay for idle computing time. Thus it becomes extremely important to understand the serverless architecture, which will help you build, manage, and secure serverless applications with AWS Lambda.

This comprehensive 3-in-1 course will help you understand serverless architectures and their implementation on AWS. Learn to build, deploy, manage, and secure serverless applications. You’ll get exposure to practical examples and use cases to work with a serverless architecture. Solve the most common serverless framework problems that are faced. Enter into the Serverless world of AWS Lambda and master its core components and how it works. You’ll efficiently design, develop, and test Lambda functions using Node.js.

Towards the end of this Couse, you’ll build, secure, and manage serverless applications on AWS using AWS Lambda.

Contents and Overview

This training program includes 3 complete courses, carefully chosen to give you the most comprehensive training possible.

The first course, Design Serverless Architecture with AWS and AWS Lambda, covers the core concepts of serverless architecture with AWS Lambda. This course starts with an introduction to serverless architectures and then you’ll delve into design considerations, followed by building a serverless application and deploying it on your serverless architecture. Go through a various practical example of deploying and orchestrating a serverless application using DynamoDB, AWS Lambda, an API Gateway. You’ll learn about some security considerations in protecting your serverless application. Finally, you’ll have mastered working with serverless architectures on AWS Cloud.

The second course, Hands-on Serverless Architecture with AWS Lambda, covers how to build, secure, and manage serverless applications on AWS. In this course, you’ll learn to build the code and deploy it without ever needing to configure or manage underlying servers. You’ll build, secure, and manage serverless architectures that can power the most demanding web and mobile apps. You won’t have to provision infrastructures or worry about scale. By the end of this course, you will know how to design and implement production-ready AWS serverless solutions. You’ll be able to architect and build your own serverless applications on AWS.

The third course, Serverless Web Development on AWS Using Lambda, covers creating event-driven, scalable, serverless web applications and deploy them with ease. In this course, through practical working examples, you will learn about the serverless concepts and AWS Lambda’s serverless framework and how to work with its components effectively. The primary goal of serverless apps is to reduce backend clutter and to focus on the code and not on the server. We will show you how to build popular applications that follow this principle. This course guides you through a faster way to learn the skills you’ll need to utilize AWS Lambda’s serverless infrastructure.

By the end of this training program, you’ll have mastered serverless application development and serverless architecture with AWS Lambda to build your first unique, advanced and production-ready application.

About the Authors

Michael Haberman (MCT, MCPD, AWS solution architect, and GDG organizer) is a senior consultant and lecturer. He is a full-stack expert, specializing in web technologies such as JavaScript, HTML, and CSS; he loves Node.js and AWS.

Alan Rodrigues has been working on software components such as Docker containers and Kubernetes for the last 2 years. He has extensive experience working on the AWS Platform, currently being certified as an AWS Solution Architect Associate, a SysOps Administrator, and a Developer Associate. He has seen that organizations are moving towards using containers as part of their Microservices architecture. And there is a strong need to have a container orchestration tool in place. Kubernetes is by far the most popular container orchestration on the market.

Harish Garg, the founder of BignumWorks Software LLP, is a data scientist and a lead software developer with 17 years’ software industry experience. BignumWorks is an India-based software consultancy that provides consultancy services in software development and technical training. Harish has worked for McAfeeIntel for 11+ years. He is an expert in creating data visualizations using R, Python, and web-based visualization libraries.

Mithun Lakshmanaswamy of BignumWorks Software LLP has been developing applications in Python for 9+ years. He has written enterprise-level distributed applications that are deployed on scores of servers and have the ability to support thousands of users simultaneously. Some of the applications he has developed are used to parse millions of virus definitions, analyze network packets from an enterprise setup, and so on. He is also proficient in teaching technical concepts and is quite involved with his current organization’s training programs. He has worked on multiple projects with Python, AWS, and so on, implementing the concepts of concurrent and distributed computing.

Design Serverless Architecture with AWS and AWS Lambda

The Course Overview

This video provides an overview of the entire course.

The Rise of Serverless Architecture

The aim of this video is to go over a non-serverless architecture diagram and identify the problems with it, and conclude from it what are the benefits of using serverless.

  • Go over a general web architecture in AWS without serverless

  • Review the decision making and maintenance involved

  • Convert to AWS serverless architecture and highlight the benefits

AWS Serverless Services

The aim of this video is to review what AWS has to offer in the serverless field and start getting familiar with those services.

  • Define what is a serverless service

  • Review all the AWS serverless services divided into categories

  • Take a closer look at the main services

AWS Lambda Function

The aim of this video is to get introduced to the basics of AWS Lambda function, how it works and how to create the first one.

  • Introduce AWS Lambda function details

  • Showcase the creation wizard in AWS console

  • Modify the code of AWS Lambda function

Implementing API using API Gateway and Lambda

The aim of this video is to implement a API serverless solution using API Gateway and Lambda function.

  • Create and deploy API gateway per environment

  • Create the logic behind the API using Lambda

  • Integrate the two to learn the integration options

Micro-services Solution

Micro-services create a new challenge on how to communicate between services, which we will learn in this video.

  • Understand why micro services is so popular

  • Create micro services with API Gateway and Lambda

  • Review the communication options between services


The aim of this video is to manage dev operations using serverless services.

  • Trigger operation using CloudWatch

  • Review CloudWatch event target options

  • Understand the Lambda function as a DevOps tool

CDN Edge Location

The aim of this video is to create a Dynamic CDN using CloudFront and Lambda.

  • Learn what CDN is

  • Understand why we need dynamic CDN

  • Integrate Lambda with CloudFront

Data Services

The aim of this video is to get to know how to manage data using serverless solution.

  • List the available services

  • Overview on AWS S3

  • Discuss about AWS DynamoDB

Integrating S3 with Lambda Function

This video teaches you to handle your S3 data with lambda function by responding to events and utilize the AWS-SDK.

  • Define events in S3 on object changes

  • Trigger Lambda function to handle the changes

  • Use the AWS-SDK to interact with S3 from Lambda function code

Integrating DynamoDB with Lambda Function

This video talks about provision, management, and interaction with DynamoDB.

  • Look at the provision table with DynamoDB

  • Trigger Lambda function on DynamoDB changes

  • Use lambda function for analytics aggregation

Logs with CloudWatch

Serverless services output both infrastructure and application logs, we need to find a way to manage those logs. This video helps us into doing it.

  • Setup integration between CloudWatch and Lambda function

  • View the logs in CloudWatch and learn how to search it

  • Stream or export the logs the get better capabilities

CloudWatch Metrics and Alerts

Once our code is in production, we need to monitor it and get notified once something goes wrong. We will see how to monitor using this video.

  • Explore what metrics are available

  • Define Monitor based on metric

  • Define threshold and what to do once exceed to create an alert

Tracing with X-ray

Serverless tend to have multiple components to compose architecture. In this video, we will see the way to trace to communication between them.

  • Integrate the AWS Lambda function with X-ray

  • Review the traces created in X-ray

  • Review the service map created in X-ray

Hands-on Serverless Architecture with AWS Lambda

The Course Overview

This video will give you an overview about the course.

AWS Lambda Functions – Primer

This video will give you an overview of serverless computing.

  • Choose the programming language

  • Define the function

  • Pay for the amount of time the function runs

Lambda Integration with DynamoDB

Understand why you will need a serverless backend.

  • Choose DynamoDB

  • Learn about fully managed NoSQL

  • Learn about DynamoDB tables and indexes

Lambda Integration with the API Gateway

Understand why you will need a serverless API gateway.

  • Decide on the resource

  • Choose the methods

  • Deploy the API

Static WebSite Hosting in S3

In this video, you will understand why you need a serverless place to host a static website.

  • Enable static website hosting S3

  • Upload your code

  • Test your code

Working with Route 53

Understand why you will need domain name routing.

  • Define the hosted zone

  • Choose the record types

  • Start routing traffic

The AWS Cognito Service

This video will give you an overview of user authentication and authorizations.

  • Learn about user pools

  • Identity pools

  • Learn about user tokens

User Pool in AWS Cognito

This video will make you understand the importance of user directory.

  • Create a user pool

  • Define pool settings

  • Define application settings

Authenticating with AWS Cognito

This video will make you understand the importance of authenticating from a program.

  • Choose a programming language

  • Register a user

  • Sign in with the user

AWS Cognito and AWS API Gateway

This video will give you an overview of extra security required for the API gateway.

  • Define the API

  • Define an authorizer

  • Ensure that the authorizer is added to the API gateway

The Simple Queue Service

This video will make you understand how messaging between distributed components occurs.

  • Decide on the type of queue

  • Define queue

  • Send and receive messages

Integrating AWS Lambda with the Simple Queue Service

This video will give you an overview about AWS Lambda and SQS.

  • Define the function

  • Add the IAM Role

  • Post a message to the queue

The Simple Notification Service

This video will give you an overview of the publish/subscribe service.

  • Create a topic

  • Subscribe to the topic

  • Publish to the topic

Integrating AWS Lambda and the Simple Notification Service

This video will give you an overview of AWS Lambda and SNS.

  • Define the function

  • Add the IAM role

  • Post a message to topic

Monitoring AWS Lambda

This video will give you an overview about the considerations for AWS Lambda.

  • CloudWatch metrics for AWS Lambda

  • CloudWatch Logs for AWS Lambda

  • Review various metrics for AWS Lambda

Monitoring the API Gateway Service

This video will cover some considerations for AWS API gateway.

  • CloudWatch metrics for the API gateway

  • CloudWatch Logs for the API gateway

  • Review various metrics for the API gateway

Monitoring S3 Requests

This video will make you understand how to log different requests.

  • Enable server access logging

  • Decide on the destination bucket

  • View the access logs

API Monitoring with CloudTrail

This video will give you an overview of governance and IT auditing.

  • Learn about CloudTrail event history

  • Create a trail

  • View the trail in the S3 bucket

AWS Serverless Application Model

This video will make you understand the need to deploy resources.

  • Consider the server application model

  • Define your resource

  • Define the template file

Deploying Using AWS SAM

This video will make you understand how to use the AWS SAM CLI.

  • Install the CLI

  • Create a package

  • Deploy the package

Provisioning AWS Resources Using CloudFormation

This video will give you an overview of provisioning resource using CloudFormation.

  • Define the template

  • Define the function

  • Deploy the template

Running the API Gateway Locally

This video will make you understand the need to run the gateway locally.

  • Use the AWS SAM

  • Install Docker

  • Run your gateway

Test your knowledge

Serverless Web Development on AWS Using Lambda

The Course Overview

This video provides an overview of the entire course.

Creating Your AWS Account

Introduce Amazon Web Services. See how to create a new user account and how to activate your AWS account.

  • Introduce Amazon Web Services

  • Learn how to create a new user account with 12 months of free AWS credit

  • Activate the AWS account

Getting Started with Your AWS Account

Look around the newly created AWS account.

  • Explore the services that AWS provides

  • Take a glance at the billing dashboard

  • Discuss the AWS regions

Setting Up Your Development Environment

Set up the development environment and discuss the software needed to follow along the code examples in this course.

  • Set up the development environment

  • Spot the software needed to follow the course

Understanding Serverless Concepts

Understand what we mean by serverless applications and the benefits of building applications on a serverless platform.

  • Understand serverless applications

  • Explore the benefits of building applications on a serverless platform

  • Discuss the AWS serverless platform

Introducing Lambda Functions

Learn what AWS Lambda is, how it works, and its main features.

  • Study AWS lambda

  • Understand how it works

  • Explore its main features

Creating and Configuring Your First Lambda Function

Create a new lambda function on AWS, walk through the various parts of the function, and execute the function.

  • Create a new lambda function on AWS

  • Walk through its various segments

  • Execute it by creating and running a test event

Uploading Lambda Functions from a Local Machine

Demonstrate how to upload a locally developed function to AWS Lambda and configure it.

  • Develop a function locally

  • Upload to AWS Lambda

  • Save and configure the Lambda function

Setting Up User Management on AWS

Demonstrate user management in AWS.

  • Introduce the AWS user management console

  • Provide access rights to users

  • Demo creation of a user

Setting Up Serverless Databases on AWS

Learn to setup a serverless database on AWS.

  • Introduce AWS DynamoDB

  • Create tables in DynamoDB

  • Add data to DynamoDB tables

Setting Up AWS IAM Roles for Lambda Functions

Show what IAM Roles are, how to set them up, and how to use them.

  • Understand IAM Roles

  • Explore the purpose of IAM Roles

  • Create an IAM Role

Coding AWS Lambda Functions to Handle Web App Requests

Demonstrate Lambda functions and how to create them.

  • Introduce Lambda functions

  • Create a Lambda function

  • Test a Lambda function

Creating and Deploying a New REST API for Your Lambda Functions

Learn to create and deploy an API in AWS Gateway for accessing Lambda functions through the web app.

  • Introduce API Gateway on AWS

  • Create a new API

  • Deploy the API

Connecting a Web App to AWS API

Change the web app code to connect to the API.

  • Walk through the web app

  • Get the values from the API for the API key and region ID

  • Modify the code to add the values

Validating the Web App End to End

Test the web app as it uses the AWS serverless backend.

  • Demo of the web app

  • Test the web app to ensure that it works well, and connect to AWS

Cleanup by Terminating AWS Resources

Clean the AWS account to avoid using unnecessary resources.

  • Understand the importance of removing unnecessary resources from AWS

  • Delete the resources and clean the AWS account

Test your knowledge
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!

Be the first to add a review.

Please, login to leave a review
30-Day Money-Back Guarantee


5 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion