SlideShare a Scribd company logo
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless with AWS Lambda
Omar Fathy
DevOps Engineer
Omar Fathy
DevOps Engineer
linkedin.com/in/omarmfathy219
github.com/omarmfathy219
omarmfathy219@gmail.com
x.com/omarmfathy219
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
• Introduction to Serverless
• Why Serverless?
• What is AWS Lambda?
• AWS Lambda Use Cases
• Demo Time
• Q&A
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 4
In a monolithic application, if one piece were to fail, the entire
application would crash, as this example illustrates. If there is
a spike in demand, the entire architecture must be scaled.
Adding features to a monolithic application becomes more
complex as time goes on. Pieces of the code
base must work with each other to sync properly.
Monolithic application (tightly coupled)
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 5
In a microservices architecture, an application is built as
independent components that run each application process as
a service. These services communicate through a well-defined
interface by using lightweight APls.
Microservices application (loosely coupled)
Introduction to Serverless
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 7
Introduction to Serverless
The term “serverless” means that your code runs on servers, but you do not need to provision or manage these servers. With
serverless computing, you can focus more on innovating new products and features instead of maintaining servers.
Another benefit of serverless computing is the flexibility to scale serverless applications automatically. Serverless computing
can adjust the applications' capacity by modifying the units of consumptions, such as throughput and memory.
An AWS service for serverless computing is AWS Lambda.
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 8
With Serverless
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 9
With Serverless…
Why Serverless?
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 11
Why serverless?
• No server management
Eliminate operational overhead so your teams can release quickly, get feedback, and iterate to get to market faster.
• Automatic scaling
With technologies that automatically scale from zero to peak demands, you can adapt to customer needs faster than ever.
• High availability built in
With technologies that automatically scale from zero to peak demands, you can adapt to customer needs faster than ever.
• Pay for value billing model
With a pay-for-value billing model, resource utilization is automatically optimized and you never pay for over-provisioning.
• Build better applications, easier
Serverless applications have built-in service integrations, so you can focus on building your application instead of configuring it.
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 12
AWS serverless services increase agility
12
Amazon Confidential
Less code
to write
Reduced
maintenance
Built-in
Capabilities
Continuous
improvement
Customers can reduce their development time by 68% with AWS serverless*
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“Serverless is the fastest way to build your ideas into applications
with lowest TCO”
Source: Deloitte 2019
41%
Increase in frequency to
deploy new features
23%
Increase in compute
utilization
39%
Reduction in IT
infrastructure spend
Known x AWS Survey of 505 U.S enterprises and 30 IT decision makers
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 14
Enterprises are achieving results at-scale on AWS Serverless
“
”
Low latency is essential to the user
experience, which is why we’re
committed to a serverless solution on
AWS
- Michael Connor, chief architect for Coca-Cola
The new contactless Coca-Cola
Freestyle solution enables
consumers to choose and pour
drinks from their phones in just a
few seconds, without having to
create an account or download
an app.
Scaled the Web App from
Prototype to 10,000 Machines in
150 Days
Amazon
Lambda
Amazon
API
Gateway
Going serverless accelerated our
engineering teams. The more we
experimented with a serverless mind-set,
the more we started to see a flywheel effect
where we could deliver value into the hands
of our business partners quickly
- Dave Anderson,
Director of technology at Liberty Mutual
Liberty Mutual Reduces Costs,
Improves Time to Market by Going
Serverless on AWS
Liberty Mutual has a serverless-first
policy, so engineers must first strive
to build serverless software or
functions.
Amazon
Lambda
AWS
Step
Functions
“
“
”
”
https://aws.amazon.com/solutions/case-studies
The data is being collected to build data
services for customers that really drive
satisfaction and provide new capabilities
around safety and convenience
- Mahadevan Krishnan, principal architect of
Toyota Connected,
Amazon
Lambda
Amazon
Kinesis
Toyota uses customer vehicle
data for improving safety,
security and experience, with
privacy by design
Real time millions of data points
from connected vehicles globally
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 15
SMB and Startups scale up with Serverless
• Speed of
Innovation
• Scale at ease
• Broadest set of
Data, Analytics
and AI/ML
services
What is AWS Lambda?
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 17
AWS Lambda
is a service that lets you run code without needing to provision or manage servers.
While using AWS Lambda, you pay only for the compute time that you consume. Charges apply only when your code is
running. You can also run code for virtually any type of application or backend service, all with zero administration.
For example, a simple Lambda function might involve automatically resizing uploaded images to the AWS Cloud. In this case,
the function triggers when uploading a new image.
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 18
AWS Lambda
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 19
AWS Lambda Core Components
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 20
Event Source Example
AWS Lambda Use Cases
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 22
Sample Use Case 1: Real-Time File Processing
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 23
Sample Use Case 2: Stream Processing
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 24
Sample Use Case 3: Mobile and Web Applications
AWS Lambda Limitation
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda Limits
Resource Quota
Function memory allocation 128 MB to 10,240 MB.
Function timeout 900 seconds (15 minutes)
Function environment variables
4 KB, for all environment variables associated with the
function, in aggregate
Function layers five layers
Function concurrency scaling limit
For each function, 1,000 execution environments every 10
seconds
Deployment package (.zip file archive) size
50 MB (zipped, for direct upload)
250 MB (unzipped)
This quota applies to all the files you upload, including layers
and custom runtimes.
Demo…
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 28
Demo Architecture
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
References
§ AWS Lambda
§ Microservices
• Lambda quotas
§ Coursera Course
§ Serverless on AWS
§ AWS Knowledge: Serverless
§ AWS Lambda The Ultimate Guide
§ What is EDA (Event-Driven Architecture)?
Thank You

More Related Content

What's hot (20)

PDF
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
Amazon Web Services Korea
 
PDF
Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교
Amazon Web Services Korea
 
PDF
Cloud Migration 과 Modernization 을 위한 30가지 아이디어-박기흥, AWS Migrations Specialist...
Amazon Web Services Korea
 
PDF
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
Amazon Web Services Korea
 
PPTX
AWS Cloud trail
zekeLabs Technologies
 
PPTX
AWS Lambda
Julian Kleinhans
 
PPTX
Elastic Compute Cloud (EC2) on AWS Presentation
Knoldus Inc.
 
PDF
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
PDF
AWS Lambda
Scott Leberknight
 
PPTX
AWS - Lambda Fundamentals
Piyush Agrawal
 
PDF
있는 그대로 저장하고, 바로 분석 가능한, 새로운 관점의 데이터 애널리틱 플랫폼 - 정세웅 애널리틱 스페셜리스트, AWS
Amazon Web Services Korea
 
PDF
AWS Backup을 이용한 데이터베이스의 백업 자동화와 편리한 복구방법
Amazon Web Services Korea
 
PDF
워크로드 특성에 따른 안전하고 효율적인 Data Lake 운영 방안
Amazon Web Services Korea
 
PPTX
Aws VPC
Abhishek Amralkar
 
PPTX
AWS ELB - Fundamentals
Piyush Agrawal
 
PPTX
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
Simplilearn
 
PDF
AWS VPC, ELB, Route53 and CloudFront
Szilveszter Molnár
 
PPTX
AWS VPC & Networking basic concepts
Abhinav Kumar
 
PPSX
AWS Elastic Load Balancing for AWS Architect & SysOps Certification
Sanjay Sharma
 
ODP
Introduction to AWS
Hesham Amin
 
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
Amazon Web Services Korea
 
Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교
Amazon Web Services Korea
 
Cloud Migration 과 Modernization 을 위한 30가지 아이디어-박기흥, AWS Migrations Specialist...
Amazon Web Services Korea
 
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
Amazon Web Services Korea
 
AWS Cloud trail
zekeLabs Technologies
 
AWS Lambda
Julian Kleinhans
 
Elastic Compute Cloud (EC2) on AWS Presentation
Knoldus Inc.
 
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
AWS Lambda
Scott Leberknight
 
AWS - Lambda Fundamentals
Piyush Agrawal
 
있는 그대로 저장하고, 바로 분석 가능한, 새로운 관점의 데이터 애널리틱 플랫폼 - 정세웅 애널리틱 스페셜리스트, AWS
Amazon Web Services Korea
 
AWS Backup을 이용한 데이터베이스의 백업 자동화와 편리한 복구방법
Amazon Web Services Korea
 
워크로드 특성에 따른 안전하고 효율적인 Data Lake 운영 방안
Amazon Web Services Korea
 
AWS ELB - Fundamentals
Piyush Agrawal
 
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
Simplilearn
 
AWS VPC, ELB, Route53 and CloudFront
Szilveszter Molnár
 
AWS VPC & Networking basic concepts
Abhinav Kumar
 
AWS Elastic Load Balancing for AWS Architect & SysOps Certification
Sanjay Sharma
 
Introduction to AWS
Hesham Amin
 

Similar to Introduction to Serverless with AWS Lambda (20)

PPTX
awslambda-240508203904-07xsds253491.pptx
FarooqKhurshid1
 
PDF
Introduction to Serverless Computing - OOP Munich
Boaz Ziniman
 
PDF
How serverless helps startups innovate and scale
Gabe Hollombe
 
PDF
Serverless architectures-with-aws-lambda
saifam
 
PPTX
Primeros pasos en desarrollo serverless
javier ramirez
 
PDF
20200803 - Serverless with AWS @ HELTECH
Marcia Villalba
 
PDF
Modern Applications Development on AWS
Boaz Ziniman
 
PDF
Serverless Computing
Rushi Namani
 
POTX
Serverless: State of The Union I AWS Dev Day 2018
AWS Germany
 
PDF
Montréal AWS Users United: Let's go Serverless!
Daniel Zivkovic
 
PDF
Serverless applications with AWS
javier ramirez
 
PDF
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
RapidValue
 
PPTX
AWS Serverless with Lambda, ApiGateway
Ravi Soni
 
PDF
Designing Serverless Architectures on AWS
Rajitha Pathiraja
 
PDF
Getting started building your first serverless web application on AWS
Ioannis Polyzos
 
PDF
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
Boaz Ziniman
 
PDF
Introduction to Serverless computing and AWS Lambda - Floor28
Boaz Ziniman
 
PDF
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Boaz Ziniman
 
PDF
Serverless use cases with AWS Lambda - More Serverless Event
Boaz Ziniman
 
PDF
AWS Application Service Workshop - Serverless Architecture
John Yeung
 
awslambda-240508203904-07xsds253491.pptx
FarooqKhurshid1
 
Introduction to Serverless Computing - OOP Munich
Boaz Ziniman
 
How serverless helps startups innovate and scale
Gabe Hollombe
 
Serverless architectures-with-aws-lambda
saifam
 
Primeros pasos en desarrollo serverless
javier ramirez
 
20200803 - Serverless with AWS @ HELTECH
Marcia Villalba
 
Modern Applications Development on AWS
Boaz Ziniman
 
Serverless Computing
Rushi Namani
 
Serverless: State of The Union I AWS Dev Day 2018
AWS Germany
 
Montréal AWS Users United: Let's go Serverless!
Daniel Zivkovic
 
Serverless applications with AWS
javier ramirez
 
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
RapidValue
 
AWS Serverless with Lambda, ApiGateway
Ravi Soni
 
Designing Serverless Architectures on AWS
Rajitha Pathiraja
 
Getting started building your first serverless web application on AWS
Ioannis Polyzos
 
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
Boaz Ziniman
 
Introduction to Serverless computing and AWS Lambda - Floor28
Boaz Ziniman
 
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Boaz Ziniman
 
Serverless use cases with AWS Lambda - More Serverless Event
Boaz Ziniman
 
AWS Application Service Workshop - Serverless Architecture
John Yeung
 
Ad

More from Omar Fathy (8)

PPTX
Cloud Run and Containers
Omar Fathy
 
PDF
GitOps and ArgoCD
Omar Fathy
 
PDF
DevOps! What, Why and How?
Omar Fathy
 
PPTX
Cloud Computing
Omar Fathy
 
PDF
Capture The Flag
Omar Fathy
 
PDF
Google Cloud Fundamentals
Omar Fathy
 
PPTX
Introduction to Git and GitHub Part 2
Omar Fathy
 
PPTX
Introduction to Git and GitHub Part 1
Omar Fathy
 
Cloud Run and Containers
Omar Fathy
 
GitOps and ArgoCD
Omar Fathy
 
DevOps! What, Why and How?
Omar Fathy
 
Cloud Computing
Omar Fathy
 
Capture The Flag
Omar Fathy
 
Google Cloud Fundamentals
Omar Fathy
 
Introduction to Git and GitHub Part 2
Omar Fathy
 
Introduction to Git and GitHub Part 1
Omar Fathy
 
Ad

Recently uploaded (20)

PDF
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
PPTX
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
PDF
Submit Your Papers-International Journal on Cybernetics & Informatics ( IJCI)
IJCI JOURNAL
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
PPTX
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
PPTX
MODULE 04 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
PPTX
Distribution reservoir and service storage pptx
dhanashree78
 
PPT
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
PPTX
Water Resources Engineering (CVE 728)--Slide 4.pptx
mohammedado3
 
PPT
Testing and final inspection of a solar PV system
MuhammadSanni2
 
PPTX
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
PPTX
Water Resources Engineering (CVE 728)--Slide 3.pptx
mohammedado3
 
PPTX
MODULE 03 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
PDF
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
PPTX
Knowledge Representation : Semantic Networks
Amity University, Patna
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPTX
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
PPTX
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
Submit Your Papers-International Journal on Cybernetics & Informatics ( IJCI)
IJCI JOURNAL
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
MODULE 04 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
Distribution reservoir and service storage pptx
dhanashree78
 
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
Water Resources Engineering (CVE 728)--Slide 4.pptx
mohammedado3
 
Testing and final inspection of a solar PV system
MuhammadSanni2
 
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
Water Resources Engineering (CVE 728)--Slide 3.pptx
mohammedado3
 
MODULE 03 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
Knowledge Representation : Semantic Networks
Amity University, Patna
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 

Introduction to Serverless with AWS Lambda

  • 1. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Serverless with AWS Lambda Omar Fathy DevOps Engineer
  • 3. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda • Introduction to Serverless • Why Serverless? • What is AWS Lambda? • AWS Lambda Use Cases • Demo Time • Q&A
  • 4. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 4 In a monolithic application, if one piece were to fail, the entire application would crash, as this example illustrates. If there is a spike in demand, the entire architecture must be scaled. Adding features to a monolithic application becomes more complex as time goes on. Pieces of the code base must work with each other to sync properly. Monolithic application (tightly coupled)
  • 5. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 5 In a microservices architecture, an application is built as independent components that run each application process as a service. These services communicate through a well-defined interface by using lightweight APls. Microservices application (loosely coupled)
  • 7. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 7 Introduction to Serverless The term “serverless” means that your code runs on servers, but you do not need to provision or manage these servers. With serverless computing, you can focus more on innovating new products and features instead of maintaining servers. Another benefit of serverless computing is the flexibility to scale serverless applications automatically. Serverless computing can adjust the applications' capacity by modifying the units of consumptions, such as throughput and memory. An AWS service for serverless computing is AWS Lambda.
  • 8. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 8 With Serverless
  • 9. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 9 With Serverless…
  • 11. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 11 Why serverless? • No server management Eliminate operational overhead so your teams can release quickly, get feedback, and iterate to get to market faster. • Automatic scaling With technologies that automatically scale from zero to peak demands, you can adapt to customer needs faster than ever. • High availability built in With technologies that automatically scale from zero to peak demands, you can adapt to customer needs faster than ever. • Pay for value billing model With a pay-for-value billing model, resource utilization is automatically optimized and you never pay for over-provisioning. • Build better applications, easier Serverless applications have built-in service integrations, so you can focus on building your application instead of configuring it.
  • 12. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 12 AWS serverless services increase agility 12 Amazon Confidential Less code to write Reduced maintenance Built-in Capabilities Continuous improvement Customers can reduce their development time by 68% with AWS serverless*
  • 13. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. “Serverless is the fastest way to build your ideas into applications with lowest TCO” Source: Deloitte 2019 41% Increase in frequency to deploy new features 23% Increase in compute utilization 39% Reduction in IT infrastructure spend Known x AWS Survey of 505 U.S enterprises and 30 IT decision makers
  • 14. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 14 Enterprises are achieving results at-scale on AWS Serverless “ ” Low latency is essential to the user experience, which is why we’re committed to a serverless solution on AWS - Michael Connor, chief architect for Coca-Cola The new contactless Coca-Cola Freestyle solution enables consumers to choose and pour drinks from their phones in just a few seconds, without having to create an account or download an app. Scaled the Web App from Prototype to 10,000 Machines in 150 Days Amazon Lambda Amazon API Gateway Going serverless accelerated our engineering teams. The more we experimented with a serverless mind-set, the more we started to see a flywheel effect where we could deliver value into the hands of our business partners quickly - Dave Anderson, Director of technology at Liberty Mutual Liberty Mutual Reduces Costs, Improves Time to Market by Going Serverless on AWS Liberty Mutual has a serverless-first policy, so engineers must first strive to build serverless software or functions. Amazon Lambda AWS Step Functions “ “ ” ” https://aws.amazon.com/solutions/case-studies The data is being collected to build data services for customers that really drive satisfaction and provide new capabilities around safety and convenience - Mahadevan Krishnan, principal architect of Toyota Connected, Amazon Lambda Amazon Kinesis Toyota uses customer vehicle data for improving safety, security and experience, with privacy by design Real time millions of data points from connected vehicles globally
  • 15. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 15 SMB and Startups scale up with Serverless • Speed of Innovation • Scale at ease • Broadest set of Data, Analytics and AI/ML services
  • 16. What is AWS Lambda?
  • 17. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 17 AWS Lambda is a service that lets you run code without needing to provision or manage servers. While using AWS Lambda, you pay only for the compute time that you consume. Charges apply only when your code is running. You can also run code for virtually any type of application or backend service, all with zero administration. For example, a simple Lambda function might involve automatically resizing uploaded images to the AWS Cloud. In this case, the function triggers when uploading a new image.
  • 18. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 18 AWS Lambda
  • 19. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 19 AWS Lambda Core Components
  • 20. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 20 Event Source Example
  • 21. AWS Lambda Use Cases
  • 22. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 22 Sample Use Case 1: Real-Time File Processing
  • 23. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 23 Sample Use Case 2: Stream Processing
  • 24. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 24 Sample Use Case 3: Mobile and Web Applications
  • 26. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda Limits Resource Quota Function memory allocation 128 MB to 10,240 MB. Function timeout 900 seconds (15 minutes) Function environment variables 4 KB, for all environment variables associated with the function, in aggregate Function layers five layers Function concurrency scaling limit For each function, 1,000 execution environments every 10 seconds Deployment package (.zip file archive) size 50 MB (zipped, for direct upload) 250 MB (unzipped) This quota applies to all the files you upload, including layers and custom runtimes.
  • 28. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. 28 Demo Architecture
  • 29. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. References § AWS Lambda § Microservices • Lambda quotas § Coursera Course § Serverless on AWS § AWS Knowledge: Serverless § AWS Lambda The Ultimate Guide § What is EDA (Event-Driven Architecture)?