SlideShare a Scribd company logo
1 of 30
Download to read offline
© 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

Similar to Introduction to Serverless with AWS Lambda

Similar to Introduction to Serverless with AWS Lambda (20)

AWS-Service.pptx
AWS-Service.pptxAWS-Service.pptx
AWS-Service.pptx
 
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
 
All the Ops you need to know to Dev Serverless
All the Ops you need to know to Dev ServerlessAll the Ops you need to know to Dev Serverless
All the Ops you need to know to Dev Serverless
 
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
 
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
 
Introduction to Serverless Computing - OOP Munich
 Introduction to Serverless Computing - OOP Munich Introduction to Serverless Computing - OOP Munich
Introduction to Serverless Computing - OOP Munich
 
Serverless Computing: build and run applications without thinking about servers
Serverless Computing: build and run applications without thinking about serversServerless Computing: build and run applications without thinking about servers
Serverless Computing: build and run applications without thinking about servers
 
Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...
Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...
Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...
 
Getting started building your first serverless web application on AWS
Getting started building  your first serverless web application on AWSGetting started building  your first serverless web application on AWS
Getting started building your first serverless web application on AWS
 
Migrate Microsoft Applications to AWS like an Expert (WIN301) - AWS re:Invent...
Migrate Microsoft Applications to AWS like an Expert (WIN301) - AWS re:Invent...Migrate Microsoft Applications to AWS like an Expert (WIN301) - AWS re:Invent...
Migrate Microsoft Applications to AWS like an Expert (WIN301) - AWS re:Invent...
 
What's New in Serverless
What's New in ServerlessWhat's New in Serverless
What's New in Serverless
 
Introduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless ApplicationsIntroduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless Applications
 
Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...
Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...
Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...
 
Scale up a Web Application (ARC409-R) - AWS re:Invent 2018
Scale up a Web Application (ARC409-R) - AWS re:Invent 2018Scale up a Web Application (ARC409-R) - AWS re:Invent 2018
Scale up a Web Application (ARC409-R) - AWS re:Invent 2018
 
Build Modern Applications that Align with Twelve-Factor Methods (API303) - AW...
Build Modern Applications that Align with Twelve-Factor Methods (API303) - AW...Build Modern Applications that Align with Twelve-Factor Methods (API303) - AW...
Build Modern Applications that Align with Twelve-Factor Methods (API303) - AW...
 
Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019
Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019
Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019
 
Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019
Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019
Twelve-Factor App Methodology and Modern Applications | AWS Summit Tel Aviv 2019
 
AcademyCloudFoundations_Module_01__Cloud
AcademyCloudFoundations_Module_01__CloudAcademyCloudFoundations_Module_01__Cloud
AcademyCloudFoundations_Module_01__Cloud
 
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
 
SRV205 Architectures and Strategies for Building Modern Applications on AWS
 SRV205 Architectures and Strategies for Building Modern Applications on AWS SRV205 Architectures and Strategies for Building Modern Applications on AWS
SRV205 Architectures and Strategies for Building Modern Applications on AWS
 

More from Omar Fathy (8)

Cloud Run and Containers
Cloud Run and ContainersCloud Run and Containers
Cloud Run and Containers
 
GitOps and ArgoCD
GitOps and ArgoCDGitOps and ArgoCD
GitOps and ArgoCD
 
DevOps! What, Why and How?
DevOps! What, Why and How?DevOps! What, Why and How?
DevOps! What, Why and How?
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Capture The Flag
Capture The FlagCapture The Flag
Capture The Flag
 
Google Cloud Fundamentals
Google Cloud Fundamentals Google Cloud Fundamentals
Google Cloud Fundamentals
 
Introduction to Git and GitHub Part 2
Introduction to Git and GitHub Part 2Introduction to Git and GitHub Part 2
Introduction to Git and GitHub Part 2
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
 

Recently uploaded

21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
rahulmanepalli02
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
Kira Dess
 

Recently uploaded (20)

S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdf
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, Functions
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & Modernization
 
Dr Mrs A A Miraje C Programming PPT.pptx
Dr Mrs A A Miraje C Programming PPT.pptxDr Mrs A A Miraje C Programming PPT.pptx
Dr Mrs A A Miraje C Programming PPT.pptx
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) ppt
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Students
 

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)?