SlideShare a Scribd company logo
Mysore MuleSoft Meetup
02-Mar-2024
MuleSoft Integration
with AWS Lambda
💡
Organizers
Shubham Chaurasia
Billennium India
Pro Integration Developer
Giridhar Meka
Sr. Technical Architect
linkedin.com/in/giridharmeka
linkedin.com/in/shubhamchaurasia1
Priya Shaw
LTI MindTree
Sr. Integration Specialist
linkedin.com/in/priya-shaw
Speakers
• Sr. Integration Specialist
• Working in LTIMindTree
• 5+ Years of Experience
• MuleSoft Certified
• IBM Certified
PRIYA SHAW
Speakers
• One of the Youngest MuleSoft Ambassdor
• Professional Integration Developer in Billennium India
• 4+ years of Experience in Integrations
• MCIA, MCD L1, MCPA, MCIA, MCHS Certified,
• Salesforce, AWS, GCP, Azure, Workato Certified
• Mulesoft Meetup Leader | Mentor | Blogger | Speaker
• AWS Community Builder
• https://www.linkedin.com/in/shubhamchaurasia1/
• https://medium.com/@myid535
Shubham Chaurasia
AGENDA
● Introduction to AWS
● AWS Lambda
● AWS API Gateway & Lambda
● Lambda Connector
● Demo
● QnA
● Networking time
AWS OFFERING
Introduction to AWS &
AWS Lambda
AWS Lambda is an Amazon serverless
computing system that runs code and
automatically manages the underlying
computing resources like
Serverless is a term that generally refers to serverless applications. Serverless
applications are ones that don’t need any server provision and do not require
to manage servers.
AWS LAMBDA FEATURES
WHERE IS AWS LAMBDA USED?
WHERE IS AWS LAMBDA USED
COMPANY THAT USES AWS LAMBDA
HOW DOES LAMBDA WORKS?
HOW DOES LAMBDA WORKS?
Limitations of AWS Lambda
 Disk space is limited to 500MB,
 Memory can vary from 128MB to 3GB
 Execution timeout for a function is 15 minutes.
 Size of deployment package (250MB)
 Req,res body synchronous event payload can be a maximum of 6
MB
 Synchronous invocation payload can be up to 256KB.
 1000 concurrent executions across all functions in a Region(soft
limitation)
CREATE LAMBDA
FUNCTION IN AWS
CONSOLE
CALLING AWS LAMBDA FUNCTION
UseCases with MuleSoft
UseCases
Augmenting Data Processing Pipelines:
Scenario: A retail company's MuleSoft application receives orders from multiple sales channels. Upon receiving an order,
MuleSoft triggers a Lambda function to validate the order details, calculate shipping costs based on real-time carrier rates, and
enrich customer data by querying an external CRM system. Once processed, the order data is then forwarded to the fulfillment
system.
Asynchronous Processing:
Scenario: A travel booking platform built with MuleSoft receives flight booking requests from users. Upon receiving a booking
request, MuleSoft immediately responds to the user, confirming receipt. Simultaneously, it triggers a Lambda function to perform
seat availability checks and payment processing. Once completed, the Lambda function updates the booking status, and the user
receives a confirmation email.
Integration with AWS Services:
Scenario: A media streaming service utilizes MuleSoft to manage user subscriptions. When a user signs up for a subscription,
MuleSoft triggers a Lambda function to store the subscription details in an Amazon DynamoDB database. Additionally, the
Lambda function sends a notification to Amazon SNS to alert the content delivery system to grant the user access to premium
content.
Event-Driven Architecture:
Scenario: An IoT platform built with MuleSoft collects data from smart devices deployed in homes. When a device reports an
anomaly, MuleSoft triggers a Lambda function to analyze the data, determine if it's a critical issue, and send alerts to homeowners
via SMS using Amazon SNS. This event-driven approach ensures timely responses to potential issues.
UseCases
Error Handling and Retry Mechanisms:
Scenario: A financial application processes transactions using MuleSoft. In case of a network timeout or database connection
failure during transaction processing, MuleSoft triggers a Lambda function responsible for retrying the operation. The Lambda
function implements exponential backoff logic to gradually increase retry intervals and eventually logs the failure for further
investigation.
Cost Optimization:
Scenario: A marketing automation platform built with MuleSoft processes campaign analytics data. Instead of provisioning
dedicated servers to handle occasional data crunching tasks, MuleSoft triggers Lambda functions to process analytics data
periodically. By leveraging Lambda's pay-as-you-go model, the platform optimizes costs, paying only for the compute time
used during data processing.
Executing Business Logic:
Scenario: A healthcare application integrated with MuleSoft needs to perform real-time eligibility checks for insurance claims.
MuleSoft triggers a Lambda function responsible for querying external insurance provider APIs to determine patient coverage
and applicable deductibles. Based on the response, MuleSoft proceeds with claim processing or notifies healthcare providers
of coverage issues.
Real-Time Data Processing:
Scenario: A social media monitoring tool built with MuleSoft collects tweets containing specific keywords. Upon receiving a
tweet, MuleSoft triggers a Lambda function to perform sentiment analysis in real-time. The Lambda function categorizes the
tweet sentiment as positive, negative, or neutral and stores the results in a database for further analysis and reporting.
Demo
Networking time
Thank You

More Related Content

PPTX
AWS Serverless with Lambda, ApiGateway
PDF
Building serverless backends - Tech talk 5 May 2017
PDF
Stephen Liedig: Building Serverless Backends with AWS Lambda and API Gateway
PPTX
Building self service framework
PPTX
Revolutionizing Serverless Computing with MuleSoft: AWS Lambda & S3 Integrati...
PDF
AWS Lambda Functions A Comprehensive Guide
PPTX
Revolutionizing Serverless Computing with MuleSoft: AWS Lambda & S3 Integration
PPTX
2016 Utah Cloud Summit: AWS Lambda and API Gateway
AWS Serverless with Lambda, ApiGateway
Building serverless backends - Tech talk 5 May 2017
Stephen Liedig: Building Serverless Backends with AWS Lambda and API Gateway
Building self service framework
Revolutionizing Serverless Computing with MuleSoft: AWS Lambda & S3 Integrati...
AWS Lambda Functions A Comprehensive Guide
Revolutionizing Serverless Computing with MuleSoft: AWS Lambda & S3 Integration
2016 Utah Cloud Summit: AWS Lambda and API Gateway

Similar to MuleSoft Integration with AWS Lambda [Serverless Function] | MuleSoft Mysore Meetup #44 (20)

PDF
AWS Lambda for Architects - Chicago Coder Conference -2016-06-07
PPTX
AWS Serverless Computing Introduction Session 2.pptx
PDF
Getting Started with AWS Lambda & Serverless Cloud
PDF
An introduction to serverless architectures (February 2017)
PDF
Serverless architectures-with-aws-lambda
PPTX
JakartaJS: Serverless in production
PDF
Thinking Asynchronously Full Vesion - Utah UG
PPTX
Containerless in the Cloud with AWS Lambda
PPSX
AWS Lamda Presentation
PPTX
The Future of Enterprise Applications is Serverless
PDF
What’s new in serverless - re:Invent 2020
PDF
Getting Started with AWS Lambda and Serverless Computing
PDF
Aws Lambda for Java Architects - Illinois VJug -2016-05-03
PDF
Run Code, Not Servers: AWS Lambda
PDF
What is AWS lambda?
PDF
Serverless Computing
PDF
Serverless workshop with Amazon Web Services
PPTX
The family - presentation on AWS Serverless
PPTX
Scheduled Retweets Using AWS Lambda
PPTX
Auto Retweets Using AWS Lambda
AWS Lambda for Architects - Chicago Coder Conference -2016-06-07
AWS Serverless Computing Introduction Session 2.pptx
Getting Started with AWS Lambda & Serverless Cloud
An introduction to serverless architectures (February 2017)
Serverless architectures-with-aws-lambda
JakartaJS: Serverless in production
Thinking Asynchronously Full Vesion - Utah UG
Containerless in the Cloud with AWS Lambda
AWS Lamda Presentation
The Future of Enterprise Applications is Serverless
What’s new in serverless - re:Invent 2020
Getting Started with AWS Lambda and Serverless Computing
Aws Lambda for Java Architects - Illinois VJug -2016-05-03
Run Code, Not Servers: AWS Lambda
What is AWS lambda?
Serverless Computing
Serverless workshop with Amazon Web Services
The family - presentation on AWS Serverless
Scheduled Retweets Using AWS Lambda
Auto Retweets Using AWS Lambda
Ad

More from MysoreMuleSoftMeetup (20)

PPTX
MuleSoft for Agentforce: Unlocking API Catalog & Topic Center | Get Started w...
PPTX
MuleSoft + AI + IDP + ACB | MuleSoft Mysore Meetup #50
PPTX
[Part-1] Automating MuleSoft Deployment with Github Actions | MuleSoft Mysore...
PPTX
Configuring Single Sign-On (SSO) via Identity Management | MuleSoft Mysore Me...
PPTX
Mule event processing models | MuleSoft Mysore Meetup #47
PPTX
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
PPTX
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
PPTX
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
PPTX
Munits in Mule 4 [Deep-Dive] | MuleSoft Mysore Meetup #40
PPTX
Unlocking Seamless End-to-End Automation with the MuleSoft Automation Suite |...
PPTX
State Management in Mule applications | MuleSoft Mysore Meetup #42
PPTX
Anypoint Code Builder (ACB) + AI + Hands-On | MuleSoft Mysore Meetup #41
PPTX
Transaction Management in Mule 4 | MuleSoft Mysore Meetup #39
PPTX
Exploring the realms of MuleSoft RPA | MuleSoft Mysore Meetup #38
PPTX
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
PPTX
Azure DevOps Pipeline setup for Mule APIs #36
PPTX
Mastering the Puzzle Integration Patterns Decoded | MuleSoft Mysore Meetup #35
PPTX
Discovering Seamless Integration: MuleSoft, AWS and Snowflake | MuleSoft Myso...
PPTX
Application Design Thinking wrt Integration Architecture - Part II | MuleSoft...
PPTX
HL7 Integration using Mulesoft | MuleSoft Mysore Meetp #32
MuleSoft for Agentforce: Unlocking API Catalog & Topic Center | Get Started w...
MuleSoft + AI + IDP + ACB | MuleSoft Mysore Meetup #50
[Part-1] Automating MuleSoft Deployment with Github Actions | MuleSoft Mysore...
Configuring Single Sign-On (SSO) via Identity Management | MuleSoft Mysore Me...
Mule event processing models | MuleSoft Mysore Meetup #47
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
Munits in Mule 4 [Deep-Dive] | MuleSoft Mysore Meetup #40
Unlocking Seamless End-to-End Automation with the MuleSoft Automation Suite |...
State Management in Mule applications | MuleSoft Mysore Meetup #42
Anypoint Code Builder (ACB) + AI + Hands-On | MuleSoft Mysore Meetup #41
Transaction Management in Mule 4 | MuleSoft Mysore Meetup #39
Exploring the realms of MuleSoft RPA | MuleSoft Mysore Meetup #38
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Azure DevOps Pipeline setup for Mule APIs #36
Mastering the Puzzle Integration Patterns Decoded | MuleSoft Mysore Meetup #35
Discovering Seamless Integration: MuleSoft, AWS and Snowflake | MuleSoft Myso...
Application Design Thinking wrt Integration Architecture - Part II | MuleSoft...
HL7 Integration using Mulesoft | MuleSoft Mysore Meetp #32
Ad

Recently uploaded (20)

PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Lesson notes of climatology university.
PPTX
master seminar digital applications in india
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Institutional Correction lecture only . . .
PDF
Insiders guide to clinical Medicine.pdf
PDF
Classroom Observation Tools for Teachers
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
01-Introduction-to-Information-Management.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
STATICS OF THE RIGID BODIES Hibbelers.pdf
VCE English Exam - Section C Student Revision Booklet
Lesson notes of climatology university.
master seminar digital applications in india
GDM (1) (1).pptx small presentation for students
Module 4: Burden of Disease Tutorial Slides S2 2025
Abdominal Access Techniques with Prof. Dr. R K Mishra
Institutional Correction lecture only . . .
Insiders guide to clinical Medicine.pdf
Classroom Observation Tools for Teachers
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Final Presentation General Medicine 03-08-2024.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
01-Introduction-to-Information-Management.pdf
O7-L3 Supply Chain Operations - ICLT Program
TR - Agricultural Crops Production NC III.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf

MuleSoft Integration with AWS Lambda [Serverless Function] | MuleSoft Mysore Meetup #44

  • 1. Mysore MuleSoft Meetup 02-Mar-2024 MuleSoft Integration with AWS Lambda 💡
  • 2. Organizers Shubham Chaurasia Billennium India Pro Integration Developer Giridhar Meka Sr. Technical Architect linkedin.com/in/giridharmeka linkedin.com/in/shubhamchaurasia1 Priya Shaw LTI MindTree Sr. Integration Specialist linkedin.com/in/priya-shaw
  • 3. Speakers • Sr. Integration Specialist • Working in LTIMindTree • 5+ Years of Experience • MuleSoft Certified • IBM Certified PRIYA SHAW
  • 4. Speakers • One of the Youngest MuleSoft Ambassdor • Professional Integration Developer in Billennium India • 4+ years of Experience in Integrations • MCIA, MCD L1, MCPA, MCIA, MCHS Certified, • Salesforce, AWS, GCP, Azure, Workato Certified • Mulesoft Meetup Leader | Mentor | Blogger | Speaker • AWS Community Builder • https://www.linkedin.com/in/shubhamchaurasia1/ • https://medium.com/@myid535 Shubham Chaurasia
  • 5. AGENDA ● Introduction to AWS ● AWS Lambda ● AWS API Gateway & Lambda ● Lambda Connector ● Demo ● QnA ● Networking time
  • 7. Introduction to AWS & AWS Lambda AWS Lambda is an Amazon serverless computing system that runs code and automatically manages the underlying computing resources like Serverless is a term that generally refers to serverless applications. Serverless applications are ones that don’t need any server provision and do not require to manage servers.
  • 9. WHERE IS AWS LAMBDA USED?
  • 10. WHERE IS AWS LAMBDA USED
  • 11. COMPANY THAT USES AWS LAMBDA
  • 12. HOW DOES LAMBDA WORKS?
  • 13. HOW DOES LAMBDA WORKS?
  • 14. Limitations of AWS Lambda  Disk space is limited to 500MB,  Memory can vary from 128MB to 3GB  Execution timeout for a function is 15 minutes.  Size of deployment package (250MB)  Req,res body synchronous event payload can be a maximum of 6 MB  Synchronous invocation payload can be up to 256KB.  1000 concurrent executions across all functions in a Region(soft limitation)
  • 16. CALLING AWS LAMBDA FUNCTION
  • 18. UseCases Augmenting Data Processing Pipelines: Scenario: A retail company's MuleSoft application receives orders from multiple sales channels. Upon receiving an order, MuleSoft triggers a Lambda function to validate the order details, calculate shipping costs based on real-time carrier rates, and enrich customer data by querying an external CRM system. Once processed, the order data is then forwarded to the fulfillment system. Asynchronous Processing: Scenario: A travel booking platform built with MuleSoft receives flight booking requests from users. Upon receiving a booking request, MuleSoft immediately responds to the user, confirming receipt. Simultaneously, it triggers a Lambda function to perform seat availability checks and payment processing. Once completed, the Lambda function updates the booking status, and the user receives a confirmation email. Integration with AWS Services: Scenario: A media streaming service utilizes MuleSoft to manage user subscriptions. When a user signs up for a subscription, MuleSoft triggers a Lambda function to store the subscription details in an Amazon DynamoDB database. Additionally, the Lambda function sends a notification to Amazon SNS to alert the content delivery system to grant the user access to premium content. Event-Driven Architecture: Scenario: An IoT platform built with MuleSoft collects data from smart devices deployed in homes. When a device reports an anomaly, MuleSoft triggers a Lambda function to analyze the data, determine if it's a critical issue, and send alerts to homeowners via SMS using Amazon SNS. This event-driven approach ensures timely responses to potential issues.
  • 19. UseCases Error Handling and Retry Mechanisms: Scenario: A financial application processes transactions using MuleSoft. In case of a network timeout or database connection failure during transaction processing, MuleSoft triggers a Lambda function responsible for retrying the operation. The Lambda function implements exponential backoff logic to gradually increase retry intervals and eventually logs the failure for further investigation. Cost Optimization: Scenario: A marketing automation platform built with MuleSoft processes campaign analytics data. Instead of provisioning dedicated servers to handle occasional data crunching tasks, MuleSoft triggers Lambda functions to process analytics data periodically. By leveraging Lambda's pay-as-you-go model, the platform optimizes costs, paying only for the compute time used during data processing. Executing Business Logic: Scenario: A healthcare application integrated with MuleSoft needs to perform real-time eligibility checks for insurance claims. MuleSoft triggers a Lambda function responsible for querying external insurance provider APIs to determine patient coverage and applicable deductibles. Based on the response, MuleSoft proceeds with claim processing or notifies healthcare providers of coverage issues. Real-Time Data Processing: Scenario: A social media monitoring tool built with MuleSoft collects tweets containing specific keywords. Upon receiving a tweet, MuleSoft triggers a Lambda function to perform sentiment analysis in real-time. The Lambda function categorizes the tweet sentiment as positive, negative, or neutral and stores the results in a database for further analysis and reporting.
  • 20. Demo