AWS Builders Online Series
Rapidly build your serverless
application integrations for
your ERP applications on AWS
Ryan Niu
Senior Specialist Solutions Architect
Amazon Web Services
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
• Challenges with traditional integration platforms
• Serverless integrations on AWS
• Demo
• Learning & resources
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Systems without integration platform
Challenges
• “Chaos”
• “No change please”
• “I have nobody who knows this
integration, he left 4 years ago”
• “Sorry it broke, we didn’t even know
that integration exists”
• “Ourteam is too small to support
hundreds of integrations & growing”
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Systems with integration platform
An Integration Platform
API Mgt Connectivity IAM
Process Mgt Monitoring Data/Metadata
Runtime/Routin Pre-built
Dev & Deploy
g Adapters
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless integrations on AWS
An Integration Platform
Amazon API Gateway Amazon EventBridge Amazon CloudWatch Amazon DynamoDB
API Mgt Connectivity IAM
Process Mgt Monitoring Data/Metadata
AWS Lambda AWS IAM Amazon AppFlow AWS Application
Composer
Runtime/Routin Pre-built
Dev & Deploy
g Adapters
& 300+
more
AWS Step Functions AWS AppSync Amazon SQS
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Integrations: Platform vs. serverless on AWS
• Cost • Complexity • Agility • Availability • Security
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Integrations: Platform vs. serverless on AWS
• Cost • Complexity • Agility • Availability • Security
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Integrations: Platform vs. serverless on AWS
• Cost • Complexity • Agility • Availability • Security
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Integrations: Platform vs. serverless on AWS
• Cost • Complexity • Agility • Availability • Security
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Integrations: Platform vs. serverless on AWS
• Cost • Complexity • Agility • Availability • Security
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Integrations: Platform vs. serverless on AWS
• Cost • Complexity • Agility • Availability • Security
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
API-driven architecture
• API defines the interface
• e.g. REST, GraphQL
PUT /todo/1
• Caller expects an immediate Invoke (sync)
response UpdateItem
• Response contains the result of the work
• Generally, under 30 seconds
• Usually Synchronous processing 200 Success
• Client must implement error
handling, retry logic
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event-driven architecture
• Event payload defines the interface
Amazon EventBridge
• e.g. JSON Event Bus
• Response is “message received” (or not) PUT /todo/1
• Asynchronous processing PutEvents
• Process can be long running (beyond 30s)
200 Success
• Updating client (e.g. UI) can be more
challenging
Invoke (async)
UpdateItem
• Higher resiliency, durability
• Driven by messaging service
• Built-in retries, configurable to use case
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
External API / Event integrations
AWS Serverless
Other Enterprise
Applications
Amazon API
Gateway Connect with, or to
AWS Secrets Manager
be referenced by,
other AWS Services
AWS Lambda
AWS Partnered
Applications
Amazon EventBridge AWS IAM
and other patterns such as AppFlow, SQS, Kafka…
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Reference architecture - serverless
100s – 1,000,000s
Rule SNS topic
Mobile client Mobile client
Workflow
AWS Step Functions Step
workflow Rule Functions EventBridge
event bus
API Gateway EventBridge
event bus
Rule SQS Lambda
queue function
API Gateway API Gateway
Scheduler Application
API Gateway
Load Balancer
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Reference architecture – enterprise apps
Corporate DC AWS Cloud
Region AWS-hosted Enterprise Applications
AZ
Enterprise
AWS-hosted
Applications
Applications VPC Load Balancer
Private subnet
Upstream &
Downstream
Integration ERP
Tier App/Web
REST/SOAP/
Apps Events
Interface Logic
Proxy Execution
Private subnet
Servers
Direct Message/Stream
Connect
Data Persist
Agents
DynamoDB / RDS
Databases Event Workflow
Routing / Orchestration
Scheduling
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless integration demo
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless integration demo – serverless
Workflow
New
Step
Rule LAN/Email
Functions
DynamoDB
NewHire
Workflow Workflow
EventBridge
NewHire Step Step
event bus
Rule Functions Functions New
HR/Payroll
OnBoarded DynamoDB DynamoDB
EventBridge
event bus
Send an Onboarded
Email Notification
Rule Lambda
function
Send an Scheduled
Scheduler Lambda Email Notification
function
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo
Demo Code Repo:
https://github.com/ryanniuu/serverless-integration-demo.git
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Costing of the Demo
Service Configuration Cost /Month
Number of requests (300 per month), Concurrency (2), Time for which
AWS Lambda Provisioned Concurrency is enabled (8 hours), Number of requests for $0.04
Provisioned Concurrency (300 per month)
Step Functions - Workflow requests (500 per month), State transitions per workflow
$0.03
Standard Workflows (10)
DynamoDB on-demand Table class (Standard), Average item size (all attributes) (1 KB), Data
$0.28
capacity storage size (1 GB)
DynamoDB Backup and
On-demand backup data storage (1 GB) $0.11
restore
Size of the payload (1 KB), Number of custom events (1 million per
Amazon EventBridge month), Number of invocations (1 million per month), Number of $1.24
invocations (1 million per month)
Data Ingested (0.1 GB), Logs Delivered to CloudWatch Logs: Data
Amazon CloudWatch Ingested (0.1 GB), Number of Dashboards (1), Number of Standard $0.33
Resolution Alarm Metrics (2)
Monthly Total (USD) $2.03
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Learning and resources
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS TRAINING & CERTIFICATION
Access 600+ free digital courses with AWS Skill Builder
Focus on the cloud skills and services that are most relevant to
you across 30+ AWS solutions, including digital self-paced
learning plans and ramp-up guides.
LEARN YOUR WAY EXPLORE.SKILLBUILDER.AWS »
Validate your cloud expertise with an AWS Certification
Take the step towards earning an industry-recognised credential.
Learn more about how to become an AWS Certified Cloud
Practitioner, and AWS resources that can help you prepare.
ACCESS RESOURCES TO PREPARE FOR YOUR EXAM »
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CONTINUE YOUR AWS SERVERLESS LEARNING
Learn at your Increase your Earn AWS
own pace knowledge serverless badge
Expand your serverless Use our Ramp-Up Guides Demonstrate your
skills with our Learning Plan to build your Serverless knowledge by achieving
on AWS Skill Builder knowledge digital badges
https://aws.amazon.com/training/learn-about/serverless/
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
ERP ON AWS
Oracle Apps on AWS SAP on AWS
https://aws.amazon.com/oracle-apps/ https://aws.amazon.com/sap/
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you for attending AWS Builders Online Series
We hope you found it interesting! A kind reminder to complete the survey.
Let us know what you thought of today’s event and how we can improve the event
experience for you in the future.
[email protected]
twitter.com/AWSCloud
facebook.com/AmazonWebServices
youtube.com/user/AmazonWebServices
linkedin.com/company/amazon-web-services
twitch.tv/aws
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
Ryan Niu
Snr. Specialist Solutions Architect - AWS
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.