SlideShare uma empresa Scribd logo
1 de 22
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

Mais conteúdo relacionado

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

Jan lekszycki parallels-automation-platform-overview-sep10
Jan lekszycki   parallels-automation-platform-overview-sep10Jan lekszycki   parallels-automation-platform-overview-sep10
Jan lekszycki parallels-automation-platform-overview-sep10
Lorand R. Minyo
 

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

Amazon Case Study 2
Amazon Case Study 2Amazon Case Study 2
Amazon Case Study 2
 
Elite mindz introduction
Elite mindz introductionElite mindz introduction
Elite mindz introduction
 
EliteMindz: Who are we? Where do we serve ? What are our products & services?
EliteMindz: Who are we? Where do we serve ? What are our products & services?EliteMindz: Who are we? Where do we serve ? What are our products & services?
EliteMindz: Who are we? Where do we serve ? What are our products & services?
 
Marketing Cloud integration with MuleSoft
Marketing Cloud integration with MuleSoftMarketing Cloud integration with MuleSoft
Marketing Cloud integration with MuleSoft
 
The Ultimate Guide to Cloud Migration - A Whitepaper by RapidValue
The Ultimate Guide to Cloud Migration - A Whitepaper by RapidValueThe Ultimate Guide to Cloud Migration - A Whitepaper by RapidValue
The Ultimate Guide to Cloud Migration - A Whitepaper by RapidValue
 
Using Machine Learning to Govern Kafka Clients with Shu Wang & UmaMahesh Sistu
Using Machine Learning to Govern Kafka Clients with Shu Wang & UmaMahesh SistuUsing Machine Learning to Govern Kafka Clients with Shu Wang & UmaMahesh Sistu
Using Machine Learning to Govern Kafka Clients with Shu Wang & UmaMahesh Sistu
 
Kochi mulesoft meetup 02
Kochi mulesoft meetup 02Kochi mulesoft meetup 02
Kochi mulesoft meetup 02
 
Custom Software Development
Custom Software DevelopmentCustom Software Development
Custom Software Development
 
APIs: the Glue of Cloud Computing
APIs: the Glue of Cloud ComputingAPIs: the Glue of Cloud Computing
APIs: the Glue of Cloud Computing
 
Overview of Serverless Application Deployment Patterns - AWS Online Tech Talks
Overview of Serverless Application Deployment Patterns - AWS Online Tech TalksOverview of Serverless Application Deployment Patterns - AWS Online Tech Talks
Overview of Serverless Application Deployment Patterns - AWS Online Tech Talks
 
Boost Customer Experience with UiPath and AWS Contact Center automation
Boost Customer Experience with UiPath and AWS Contact Center automationBoost Customer Experience with UiPath and AWS Contact Center automation
Boost Customer Experience with UiPath and AWS Contact Center automation
 
MuleSoft Integration with WhatsApp | Mysore MuleSoft Meetup #1
MuleSoft Integration with WhatsApp | Mysore MuleSoft Meetup #1MuleSoft Integration with WhatsApp | Mysore MuleSoft Meetup #1
MuleSoft Integration with WhatsApp | Mysore MuleSoft Meetup #1
 
Webinar: Accelerate Your Cloud Business With CloudHealth
Webinar: Accelerate Your Cloud Business With CloudHealthWebinar: Accelerate Your Cloud Business With CloudHealth
Webinar: Accelerate Your Cloud Business With CloudHealth
 
(ARC304) Designing for SaaS: Next-Generation Software Delivery Models on AWS ...
(ARC304) Designing for SaaS: Next-Generation Software Delivery Models on AWS ...(ARC304) Designing for SaaS: Next-Generation Software Delivery Models on AWS ...
(ARC304) Designing for SaaS: Next-Generation Software Delivery Models on AWS ...
 
How LEGO.com Accelerates With Serverless
How LEGO.com Accelerates With ServerlessHow LEGO.com Accelerates With Serverless
How LEGO.com Accelerates With Serverless
 
Jan lekszycki parallels-automation-platform-overview-sep10
Jan lekszycki   parallels-automation-platform-overview-sep10Jan lekszycki   parallels-automation-platform-overview-sep10
Jan lekszycki parallels-automation-platform-overview-sep10
 
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 ...
 
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
 
Using automation to drive continuous-compliance best practices - SVC309 - Chi...
Using automation to drive continuous-compliance best practices - SVC309 - Chi...Using automation to drive continuous-compliance best practices - SVC309 - Chi...
Using automation to drive continuous-compliance best practices - SVC309 - Chi...
 
Deep Dive into the AWS Connected Vehicle Reference Solution (AMT303) - AWS re...
Deep Dive into the AWS Connected Vehicle Reference Solution (AMT303) - AWS re...Deep Dive into the AWS Connected Vehicle Reference Solution (AMT303) - AWS re...
Deep Dive into the AWS Connected Vehicle Reference Solution (AMT303) - AWS re...
 

Mais de MysoreMuleSoftMeetup

MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MysoreMuleSoftMeetup
 
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
MysoreMuleSoftMeetup
 

Mais de MysoreMuleSoftMeetup (20)

Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
 
Munits in Mule 4 [Deep-Dive] | MuleSoft Mysore Meetup #40
Munits in Mule 4 [Deep-Dive] | MuleSoft Mysore Meetup #40Munits in Mule 4 [Deep-Dive] | MuleSoft Mysore Meetup #40
Munits in Mule 4 [Deep-Dive] | MuleSoft Mysore Meetup #40
 
Unlocking Seamless End-to-End Automation with the MuleSoft Automation Suite |...
Unlocking Seamless End-to-End Automation with the MuleSoft Automation Suite |...Unlocking Seamless End-to-End Automation with the MuleSoft Automation Suite |...
Unlocking Seamless End-to-End Automation with the MuleSoft Automation Suite |...
 
State Management in Mule applications | MuleSoft Mysore Meetup #42
State Management in Mule applications |  MuleSoft Mysore Meetup #42State Management in Mule applications |  MuleSoft Mysore Meetup #42
State Management in Mule applications | MuleSoft Mysore Meetup #42
 
Anypoint Code Builder (ACB) + AI + Hands-On | MuleSoft Mysore Meetup #41
Anypoint Code Builder (ACB) + AI + Hands-On |  MuleSoft Mysore Meetup #41Anypoint Code Builder (ACB) + AI + Hands-On |  MuleSoft Mysore Meetup #41
Anypoint Code Builder (ACB) + AI + Hands-On | MuleSoft Mysore Meetup #41
 
Transaction Management in Mule 4 | MuleSoft Mysore Meetup #39
Transaction Management in Mule 4 |  MuleSoft Mysore Meetup #39Transaction Management in Mule 4 |  MuleSoft Mysore Meetup #39
Transaction Management in Mule 4 | MuleSoft Mysore Meetup #39
 
Exploring the realms of MuleSoft RPA | MuleSoft Mysore Meetup #38
Exploring the realms of MuleSoft RPA | MuleSoft Mysore Meetup #38Exploring the realms of MuleSoft RPA | MuleSoft Mysore Meetup #38
Exploring the realms of MuleSoft RPA | MuleSoft Mysore Meetup #38
 
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
 
Azure DevOps Pipeline setup for Mule APIs #36
Azure DevOps Pipeline setup for Mule APIs #36Azure DevOps Pipeline setup for Mule APIs #36
Azure DevOps Pipeline setup for Mule APIs #36
 
Mastering the Puzzle Integration Patterns Decoded | MuleSoft Mysore Meetup #35
Mastering the Puzzle Integration Patterns Decoded | MuleSoft Mysore Meetup #35Mastering the Puzzle Integration Patterns Decoded | MuleSoft Mysore Meetup #35
Mastering the Puzzle Integration Patterns Decoded | MuleSoft Mysore Meetup #35
 
Discovering Seamless Integration: MuleSoft, AWS and Snowflake | MuleSoft Myso...
Discovering Seamless Integration: MuleSoft, AWS and Snowflake | MuleSoft Myso...Discovering Seamless Integration: MuleSoft, AWS and Snowflake | MuleSoft Myso...
Discovering Seamless Integration: MuleSoft, AWS and Snowflake | MuleSoft Myso...
 
Application Design Thinking wrt Integration Architecture - Part II | MuleSoft...
Application Design Thinking wrt Integration Architecture - Part II | MuleSoft...Application Design Thinking wrt Integration Architecture - Part II | MuleSoft...
Application Design Thinking wrt Integration Architecture - Part II | MuleSoft...
 
HL7 Integration using Mulesoft | MuleSoft Mysore Meetp #32
HL7 Integration using Mulesoft | MuleSoft Mysore Meetp #32HL7 Integration using Mulesoft | MuleSoft Mysore Meetp #32
HL7 Integration using Mulesoft | MuleSoft Mysore Meetp #32
 
Application Design Thinking wrt Integration Architecture - Part I | MuleSoft ...
Application Design Thinking wrt Integration Architecture - Part I | MuleSoft ...Application Design Thinking wrt Integration Architecture - Part I | MuleSoft ...
Application Design Thinking wrt Integration Architecture - Part I | MuleSoft ...
 
Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30
Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30
Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30
 
Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29
Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29
Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29
 
MuleSoft Integration with ChatGPT — Part 1 | MuleSoft Mysore Meetup #27
MuleSoft Integration with ChatGPT — Part 1 | MuleSoft Mysore Meetup #27MuleSoft Integration with ChatGPT — Part 1 | MuleSoft Mysore Meetup #27
MuleSoft Integration with ChatGPT — Part 1 | MuleSoft Mysore Meetup #27
 
Handling NFRs for the API through API policies (Custom Policies) -Part 2 | Mu...
Handling NFRs for the API through API policies (Custom Policies) -Part 2 | Mu...Handling NFRs for the API through API policies (Custom Policies) -Part 2 | Mu...
Handling NFRs for the API through API policies (Custom Policies) -Part 2 | Mu...
 
Handling NFRs for the API through OoTB API policies Part-1 | MuleSoft Mysore ...
Handling NFRs for the API through OoTB API policies Part-1 | MuleSoft Mysore ...Handling NFRs for the API through OoTB API policies Part-1 | MuleSoft Mysore ...
Handling NFRs for the API through OoTB API policies Part-1 | MuleSoft Mysore ...
 

Último

Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfFinancial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
MinawBelay
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 

Último (20)

IPL Online Quiz by Pragya; Question Set.
IPL Online Quiz by Pragya; Question Set.IPL Online Quiz by Pragya; Question Set.
IPL Online Quiz by Pragya; Question Set.
 
Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 
How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
II BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING II
II BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING IIII BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING II
II BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING II
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptx
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfFinancial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
 
HVAC System | Audit of HVAC System | Audit and regulatory Comploance.pptx
HVAC System | Audit of HVAC System | Audit and regulatory Comploance.pptxHVAC System | Audit of HVAC System | Audit and regulatory Comploance.pptx
HVAC System | Audit of HVAC System | Audit and regulatory Comploance.pptx
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptxREPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
 
Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
“O BEIJO” EM ARTE .
“O BEIJO” EM ARTE                       .“O BEIJO” EM ARTE                       .
“O BEIJO” EM ARTE .
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 

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