Build Serverless Applications with AWS Lambda: 2-in-1

Deep dive into API gateway and building serverless applications
Instructor:
Packt Publishing
10 students enrolled
English [Auto-generated]
Learn to write, run, and deploy Lambda functions in the AWS cloud
Recognize the power of the serverless ecosystem with AWS services including DynamoDB, API Gateway, and much more
Explore the best practices to effectively monitor and troubleshoot serverless applications using AWS CloudFront
Learn to design, develop, and test Lambda functions efficiently
Learn to build a sample application using the entire serverless picture
Discover the hype, significance, and business benefits of serverless computing and applications

Amazon Web Services (AWS) continues its domination as the leading cloud service provider on the market. Amazon Lambda is the part of Amazon Web Services that lets you run your code without provisioning or managing servers. Amazon Lambda is a compute service that enables you to deploy applications and back-end services that operate with zero upfront cost and require no system administration. To use the API gateway and to incorporate it in your serverless ecosystem, you’ll need basic understanding of AWS Lambda.

This comprehensive 2-in-1 course teaches you how to make the most of AWS Lambda functions to design, build scalable  and cost-efficient systems and deploy serverless applications with AWS Lambda. You’ll learn through practical demonstrations, clear explanations, and interesting real-world examples. It will give you a versatile range of AWS Lambda skills, which you will put to work in your own serverless applications.

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

The first course, Deep Dive into AWS Lambda, starts off with an introduction to the world of Serverless computing and its advantages and use cases, followed by a deep dive into AWS Lambda. You’ll be introduced to the concepts of serverless computing and will get to know about the benefits. You’ll then learn how to build and deploy an AWS Lambda function. You’ll also learn to integrate AWS Lambda with Simple Storage Service. Next, you’ll explore how to design and deploy considerations for AWS Lambda.

The second course, Deep Dive into API Gateway and Building a Serverless Application, focuses on the next set of AWS components that offers serverless computing which you learned in the first course. You will then learn how to develop the various parts of the API gateway. You will also learn to deploy and secure the API gateway. Next, you will learn to integrate AWS Lambda and the API gateway. Finally, you’ll be taken through the entire serverless architecture, putting all the key components together and then building a sample application using the entire serverless picture.

By the end of this Learning Path, you’ll be able to architect and build serverless applications by integrating API gateway services and deploy it with AWS Lambda.

About the Author :

We have the best work of the following esteemed author(s) to ensure that your learning journey is smooth:

Alan Rodrigues is a software technology evangelist with over 10+ years of experience in the software industry. Being abreast with the latest technologies is what he does best. One life is just not enough to intake all the information the world has to offer, but he does his bit and takes it one step at a time. These are just a few of the technologies he is well-versed in:

1.             Cloud Services – Amazon Web Services. Certified in AWS as a SysOps Administrator. Well-versed in Azure Web Services as well.

2.             Business Intelligence – SAP Business Objects, Informatica Powercenter.

3.             Atlassian suite of products (JIRA, JIRA Agile, JIRA service desk, Confluence, Bitbucket, Hipchat)

4.             Configuration, Continuous Integration – Subversion, Git, Jenkins, Atlassian Bamboo.

5.             Operating Systems – Windows server 2003, 2008 & 2012, Windows 7, 10, Ubuntu, CentOS.

6.             Databases – Oracle, MySQL, MongoDB, Microsoft SQL Server.

7.             Change and Release Management – HPSM, HP uCMDB, Atlassian Service Desk.

Deep Dive into AWS Lambda

1
The Course Overview

This video will give you an overview about the course.

2
Traditional Deployment and Infrastructure Mechanisms

The aim of this video is to analyze the problems that occur while
deploying infrastructure and applications using traditional deployment
mechanisms.

  • Identify the pain points
  • Identify the cost associated with the pain area’s
  • Identify the maintenance overhead associated with the pain area’s
3
Welcome to the Brave New World of Serverless Computing

The aim of this video is to discuss how we can achieve Serverless computing.

  • Understand the services which can help achieve Serverless computing
  • Identify areas which can move to Serverless computing
  • Define the ways these areas can move to Serverless computing
4
Introduction to the API Gateway

The aim of this video is to make the user understand what the API gateway is. This video also explains the components and key features of
the API gateway service.

  • Understand the core features of the API gateway
  • Look at the core components of the API gateway
  • See the area’s where the API gateway can be used
5
Introduction to AWS Lambda

The aim of this video is to make the user understand what the AWS Lambda service is. This video also explains the components and key features of the AWS Lambda service.

  • Understand the core features of the AWS Lambda service
  • Look at the core components of the AWS Lambda service
  • See the area’s where the AWS Lambda service can be used
6
Concepts of AWS Lambda

The aim of this video is to look at what are the benefits of AWS Lambda.

  • Save on Underlying infrastructure
  • Reduce maintenance costs
  • Reuse existing code
7
Components of AWS Lambda

The aim of this video is to discuss the factors needed to create an AWS Lambda function.

  • Identify the programming language
  • Identify the amount of memory required
  • Identify the function timeout period
8
Your First AWS Lambda Function - Build

The aim of this video is to learn how to create your AWS Lambda function.

  • Decide on using any existing code
  • Upload an existing code
  • Author the code from scratch
9
Your First AWS Lambda Function - Deploy

This video talks about passing data to a Lambda function.

  • Decide on the data to be sent to the function
  • Pass in event data
  • Access event data from the function
10
Your first AWS Lambda Function - Results

The aim of this video is to teach you how to access the results for your AWS Lambda function.

  • See the Lambda dashboard for results
  • View CloudWatch metrics
  • View CloudWatch logs
11
Lambda Blueprints

This video talks about utilizing the authored code.

  • Decide on whether existing code can be used
  • View the existing blueprints
  • Decide on programming language
12
Quick Review on the Simple Storage Service

The aim of this vide is to learn what are the factors to consider using Simple Storage Service.

  • Look to store more objects
  • Look towards a reliable storage solution
  • Store different types of objects
13
AWS Lambda and Simple Storage Service with Node.js

The aim of this video is to understand the considerations to be taken care of when deploying a Node.js Lambda function.

  • Consider the amount of Memory
  • Look at the amount of timeout
  • Discuss about the IAM Roles assigned to the function
14
AWS Lambda and Simple Storage Service with Node.js - Demo

The aim of this video is to understand the status of the running AWS Lambda function.

  • Look at the monitoring section of the function
  • See the CloudWatch logs
  • See CloudWatch metrics
15
AWS Lambda and Simple Storage Service with Java

The aim of this video is to deploy the AWS Lambda functions in Java.

  • Use an Integrated Development environment
  • Create the program and associated package
  • Deploy the package from the IDE
16
AWS Lambda and Simple Storage Service with Java - Demo

This video will teach you to ensure that the AWS Lambda Java function runs.

  • Ensure the right IAM Role is assigned
  • Ensure the Memory is assigned
  • Ensure the timeout is assigned
17
Quick Review on the DynamoDB Service

The aim of this video is to learn when you should consider using DynamoDB.

  • Look when you want a fully managed NoSQL database
  • Expect less administrative overhead
  • No requirement for complex queries on the data
18
Setting Up DynamoDB for AWS Lambda

The aim of this video is to learn what you should consider when working with DynamoDB tables.

  • Understand the definition of the partition key
  • Discuss about the read capacity for the table
  • Discuss about the write capacity for the table
19
AWS Lambda and DynamoDB - Working with Tables

The aim of this video is to learn about the key considerations for a Lambda function to work with DynamoDB.

  • Ensure the right IAM permissions are defined
  • Ensure the right timeout is specified for the function
  • Ensure the right Memory is specified for the function
20
AWS Lambda and DynamoDB - Working with Streams

The aim of this video is to understand the key benefits of DynamoDB streams.

  • Register DynamoDB Item level modifications in the stream
  • Create all the records in real time
  • Access from a Lambda function
21
Versioning in AWS Lambda

The aim of this video is to help us understand about the things to note about Versioning in AWS Lambda.

  • Do not change the function once the function version is published
  • Learn about the latest version of the function, $LATEST
  • Look towards creating ALIAS for Lambda functions
22
Using Environment Variables

The aim of this video is to understand when to consider using environment variables.

  • Define the different types of environments – Development, Production
  • Define the different tiers – Database, Web
  • Define the different key value pairs
23
Viewing Lambda Metrics

The aim of this video is to learn about the key metrics to be noted for Lambda functions.

  • Discuss about the Invocation Count
  • Look at the Invocation Duration
  • Note the Invocation Errors
24
Viewing CloudWatch Logs

The aim of this video is to learn about the key points for CloudWatch logs for AWS Lambda.

  • Create a separate log stream with each function
  • Use logging statements in code
  • Test the code with the logging statements
25
Quick Review on CloudFormation

The aim of this video is to learn where you can use CloudFormation templates.

  • Learn about Disaster Recovery Scenarios
  • Look at the basic deployment of Infrastructure via Code
  • Build and tear down the environments
26
Deploying Lambda Applications Using CloudFormation

The aim of this video is to learn about what to consider when deploying code via CloudFormation.

  • Ensure a package is in place
  • Ensure the code package is tested
  • Make sure the package needs to be in a repository
27
Automated Deployment of Lambda Applications

The aim of this video is to list down what needs to be done for Automated deployment of Lambda applications.

  • Build a YAML file, which is an ASM file
  • Use the AWS CLI to package the solution
  • Use the AWS CLI to deploy the solution
28
Troubleshooting AWS Lambda

The aim of this video is to learn about the considerations when Troubleshooting AWS Lambda.

  • Check the IAM permissions
  • Ensure the code works as expected
  • Ensure the right timeout and memory is specified
29
Best Practices for AWS Lambda

The aim of this video is to learn about the key practices for better AWS Lambda code.

  • Look at the separate business logic and handler code
  • Ensure minimum dependencies
  • Use restrictive IAM policies
30
Test your knowledge

Deep Dive into API Gateway and Building a Serverless Application

1
The Course Overview

This video will give you an overview about the course.

2
The Traditional Way of API Deployment

The aim of this video is to learn about the factors to consider when defining IAM policies.

  • Understand the API actions
  • Decide on the resources for the permissions
  • Decide on the effect
3
Introduction to the API Gateway

This video discusses on what should be considered when giving access to users.

  • Look at the type of access you want to give
  • Decide for which resources access needs to be granted
  • Look at the methods for which the access needs to be granted
4
The Architecture of the API Gateway

This video discusses different components of an API architecture.

  • Discuss the API architecture
  • Design the API
  • Look at the environments and versions of the API gateway
5
Building an API Gateway

This video discusses about the factors to be considered while using the API Gateway Service.

  • Understand the API’s itself
  • No maintenance required
  • No Infrastructure required
6
Working with Resources

This video discusses on what should be considered when working with resources.

  • Consider segregation by functionality
  • Consider segregation by department
  • Define multiple resources
7
Working with Methods

The aim of this video is to understand the working of methods.

  • Look at the GET method for getting information
  • Look at the POST method for posting data
  • Look at the PUT method for also editing existing data
8
Deploying an API

The aim of this video is to understand the purpose of deploying an API.

  • Make it available to customers
  • Allow invocation via a URL
  • Ability to provide it to developers as well
9
Mapping Request Parameters

This video will help us to know how you can ensure that parameters can be passed.

  • Define the parameters
  • Understand the way they are passed
  • Change the Request method for the resource
10
Mapping Response Payloads

The aim of this video is to see how responses can be modified.

  • Errors can be predefined
  • Responses can follow a template
  • Change the Response method for the resource
11
Setting Up IAM Policies

The aim of this video is to look at the factors to be considered when defining IAM policies.

  • Understand the API actions
  • Decide on the resources for the permissions
  • Decide on the effect
12
Allowing Users to Access the API Gateway

This video looks at what should be considered when giving access to users.

  • Understand the type of access you want to give
  • Look at which resources access needs to be granted
  • Discuss for which methods access needs to be granted
13
Controlling Management of the API Gateway

This video looks at what should be considered when giving access to Administrators.

  • Understand the type of access you want to give
  • Discuss for which resources access needs to be granted
  • Discuss for which methods access needs to be granted
14
Additional Security Aspects for the API Gateway

The aim of this video is to study about the additional security aspects for API Gateway.

  • Enable API Cache
  • Enable CORS
  • Monitor for security purposes
15
Integrating AWS Lambda and the API Gateway

The aim of this video is to understand what the possible integration points are.

  • Look at HTTP Endpoint
  • Discuss about AWS Lambda
  • Understand the Mock Service
16
Demo on AWS Lambda and API Gateway

This video helps us to understand what happens when Integration response is set.

  • Get access to Query String parameters
  • Get access to the headers
  • Get access to the Response body
17
Demo on AWS Lambda and API Gateway (continued)

The aim of this video is to learn about the different serverless components of an architecture.

  • Review about AWS Lambda
  • Discuss the API gateway
  • Learn more about DynamoDB
18
AWS Serverless Multi-Tier Architecture Overview

The aim of this video is to look at the components to be considered for serverless architecture.

  • Discuss about multi-tier architecture
  • Look at the advantages of AWS Alternatives
19
How Does Microservices Come In?

This video aims at understanding the advantages of Microservices.

  • Overview on Monolith applications and architecture
  • Discuss the benefits of Microservices architecture and its applications
  • Design Microservices applications
20
Monitoring Your Serverless Architecture

This video helps us to understand more about the tools used for monitoring the serverless architecture.

  • Look at the different metrics to be commonly monitored
  • Discuss about CloudWatch logs and CloudTrail
21
Sample Application – Setting Up DynamoDB, Lambda, and CloudWatch

The aim of this video is designing events for automation.

  • Set up the DynamoDB table
  • Set up the AWS Lambda function to insert data
  • Set up the CloudWatch events
22
Sample Application – Setting Up API Gateway

This video will be considering the front end for serverless architecture.

  • Set up the AWS Lambda function to access data
  • Set up the API gateway
23
Sample Application – Setup Completion

The aim of this video is wrapping up the sample application and running the entire setup.

  • Set up HTML and JavaScript
  • Run the entire setup
24
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
8ae0a220538581fa83a6e9769faa8944
30-Day Money-Back Guarantee

Includes

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