© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
20 ways event-driven architectures can
improve your development process
James Beswick
Principal Developer Advocate
AWS Serverless
© 2022, Amazon Web Services, Inc. or its affiliates.
About me James Beswick
Email: jbeswick@amazon.com
Twitter: @jbesw
Principal Developer Advocate
Self-confessed serverless geek
Previously
Software Developer
Product Manager
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
Amazon
EventBridge
A serverless event bus service
for SaaS and AWS services
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
1. Decouple your workloads
5
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
2. Replace private APIs
6
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
3. Integrate with SaaS
providers
7
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
4. Replace API chains (aka
monoliths)
8
© 2022, Amazon Web Services, Inc. or its affiliates.
The happy path works well
© 2022, Amazon Web Services, Inc. or its affiliates.
. . . but exception handling can be messy
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
5. Build for extensibility
11
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
6. Simpler webhooks that
12
scale
© 2022, Amazon Web Services, Inc. or its affiliates.
Building scalable webhooks
HTTP API
endpoint
Custom
event bus
Default
event bus
AWS Lambda
function
Amazon SQS
queue
Download and deploy this code at
https://github.com/aws-samples/decoupling-with-amazon-eventbridge
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
7. Break down large AWS
SAM templates
14
© 2022, Amazon Web Services, Inc. or its affiliates.
Going from this…
15
Src: https://aws.amazon.com/blogs/compute/decoupling-larger-applications-with-amazon-eventbridge/
© 2022, Amazon Web Services, Inc. or its affiliates.
Going from this…
16
Src: https://aws.amazon.com/blogs/compute/decoupling-larger-applications-with-amazon-eventbridge/
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
8. Easier interaction with
Amazon S3 buckets.
17
© 2022, Amazon Web Services, Inc. or its affiliates.
In AWS SAM…
18
Src: https://serverlessland.com/patterns/s3-eventbridge
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: S3 bucket to EventBridge - @jbesw
Resources:
SourceBucket:
Type: AWS::S3::Bucket
Properties:
NotificationConfiguration:
EventBridgeConfiguration:
EventBridgeEnabled: True
## Lambda function
MyFunction:
Type: AWS::Serverless::Function
Properties:
CodeUri: src/
Handler: app.handler
Runtime: nodejs14.x
MemorySize: 128
Timeout: 3
Policies:
- S3ReadPolicy:
BucketName: !Ref SourceBucket
Events:
Trigger:
Type: EventBridgeRule
Properties:
Pattern:
source:
- "aws.s3"
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
9. Create workloads for
multiple S3 buckets easily
19
© 2022, Amazon Web Services, Inc. or its affiliates.
One rule for multiple buckets
20
EventBridge AWS Lambda
function
Amazon S3
mySales-Jan
mySales-Feb
mySales-Mar
Events Rule
EventRule:
Type: AWS::Events::Rule
Properties:
Description: "EventRule"
State: "ENABLED"
EventPattern:
source:
- "aws.s3"
detail:
eventName:
- "PutObject"
requestParameters:
bucketName:
- 'mySales-Jan'
- 'mySales-Feb'
- 'mySales-Mar'
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
10. Wait! What about buckets
that don't exist yet?
21
© 2022, Amazon Web Services, Inc. or its affiliates.
One rule for dynamic buckets
22
EventBridge AWS Lambda
function
Amazon S3
mySales-Jan
mySales-Feb
mySales-Mar
Events Rule
EventRule:
Type: AWS::Events::Rule
Properties:
Description: "EventRule"
State: "ENABLED"
EventPattern:
source:
- "aws.s3"
detail:
eventName:
- "PutObject"
requestParameters:
bucketName:
- "prefix": "mySales-"
mySales-Apr
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
11. Use custom event buses as
a security boundary
23
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
12. Use rules as a central
logging point for microservices
24
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
13. Use events to synchronize
your applications
25
© 2022, Amazon Web Services, Inc. or its affiliates.
Use events to synchronize applications
EventBridge
rules
Events
Step Functions
Order processing workflow
AWS Account
EventBridge
Event bus
Ordering
app
API
Gateway
Order Manager service
QR validator service
Barista
app
Display
app
Front ends
Events
Publisher service
Events
Events
Events
API
Gateway
IoT Core
Lambda
function
Lambda
function
Step
Functions
DynamoDB
table
DynamoDB
table
WebSocket
API
REST
API
REST
API
Download and deploy this code at:
https://s12d.com/espresso
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
14. Add regional failover to your
application with global
endpoints
27
© 2022, Amazon Web Services, Inc. or its affiliates.
How global endpoints work
28
Read more at: https://aws.amazon.com/blogs/compute/introducing-global-endpoints-for-amazon-eventbridge/
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
15. Improve your test/dev
process using event archives
29
© 2022, Amazon Web Services, Inc. or its affiliates.
Setting up an event archive in EventBridge
30
Read more at: https://aws.amazon.com/blogs/compute/archiving-and-replaying-events-with-amazon-eventbridge/
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
16. Use EventBridge to scale up
Lambda really quickly
31
© 2022, Amazon Web Services, Inc. or its affiliates.
Setting up an event archive in EventBridge
32
Read more at: https://github.com/aws-samples/serverless-gif-generator/
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
17. Use Schema Registry to
keep track your events
33
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
18. Use Atlas to visualize
events
34
© 2022, Amazon Web Services, Inc. or its affiliates.
Visualize event flows with Atlas
35
More at: https://eventbridge-atlas.netlify.app/
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
19. Use rules to reduce
Lambda invocations – and
cost!
36
© 2022, Amazon Web Services, Inc. or its affiliates.
© 2022, Amazon Web Services, Inc. or its affiliates.
20. Use input
transformation to replace
(some) Lambda functions
37
© 2022, Amazon Web Services, Inc. or its affiliates.
https://serverlessland.com
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2022, Amazon Web Services, Inc. or its affiliates.
Thank you!
© 2022, Amazon Web Services, Inc. or its affiliates.
James Beswick
@jbesw

More Related Content

PDF
Deploy Golang WebApp dengan AWS App Runner
PDF
AWS+Innovate+-+Modern+Apps+Edition+-+Opening+Keynote.pdf
PPTX
Vue presentation
PPTX
5 incredible (and uncommon) serverless patterns
PPTX
Using GitHub actions on AWS.pptx
PPTX
Creating a RDS MySQL instance from AWS Console and CloudFormation
PPTX
Hybrid Cloud on AWS - Introduction and Art of the Possible
PDF
What's new in Serverless at AWS?
Deploy Golang WebApp dengan AWS App Runner
AWS+Innovate+-+Modern+Apps+Edition+-+Opening+Keynote.pdf
Vue presentation
5 incredible (and uncommon) serverless patterns
Using GitHub actions on AWS.pptx
Creating a RDS MySQL instance from AWS Console and CloudFormation
Hybrid Cloud on AWS - Introduction and Art of the Possible
What's new in Serverless at AWS?

Similar to 20 ways event-driven architectures can improve your development - Copy.pptx (20)

PDF
20200520 - Como empezar a desarrollar aplicaciones serverless
PPTX
Serverless Battle Scars: Scaling Without Surprises
PDF
Jeff Lombardo - Enforcing access control in depth with AWS - v1.2.pdf
PDF
20200803 - Serverless with AWS @ HELTECH
PDF
Mainstream Serverless
PDF
Getting Started with Serverless Architectures
PPTX
Private Equity Value Creation Carve Outs, Divestitures and mergers
PPTX
Serverless-First Function: Serverless application security
PPTX
AWS DevDay Cologne - Automating building blocks choices you will face with co...
PDF
Amazon EMR과 SageMaker를 이용하여 데이터를 준비하고 머신러닝 모델 개발 하기
PPTX
20210608 - Desarrollo de aplicaciones en la nube
PPTX
AWS DevDay Berlin - Automating building blocks choices you will face with con...
PPTX
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
PDF
What can you do with Serverless in 2020
PDF
AWS Summit Singapore 2019 | Microsoft DevOps on AWS
PPTX
AWS SSA Webinar 12 - Getting started on AWS with Containers
PDF
AWS re-Invent re-Cap general deck 2022-2023 .pdf
PDF
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
PDF
Confluent_AWS_ImmersionDay_Q42023.pdf
PDF
Build real-time streaming data pipelines to AWS with Confluent
20200520 - Como empezar a desarrollar aplicaciones serverless
Serverless Battle Scars: Scaling Without Surprises
Jeff Lombardo - Enforcing access control in depth with AWS - v1.2.pdf
20200803 - Serverless with AWS @ HELTECH
Mainstream Serverless
Getting Started with Serverless Architectures
Private Equity Value Creation Carve Outs, Divestitures and mergers
Serverless-First Function: Serverless application security
AWS DevDay Cologne - Automating building blocks choices you will face with co...
Amazon EMR과 SageMaker를 이용하여 데이터를 준비하고 머신러닝 모델 개발 하기
20210608 - Desarrollo de aplicaciones en la nube
AWS DevDay Berlin - Automating building blocks choices you will face with con...
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
What can you do with Serverless in 2020
AWS Summit Singapore 2019 | Microsoft DevOps on AWS
AWS SSA Webinar 12 - Getting started on AWS with Containers
AWS re-Invent re-Cap general deck 2022-2023 .pdf
AWS Meetup Brussels 3rd Sep 2019 Simplify Frontend Apps with Serverless Backends
Confluent_AWS_ImmersionDay_Q42023.pdf
Build real-time streaming data pipelines to AWS with Confluent
Ad

More from James Beswick (7)

PDF
Building Event-driven Architectures with Amazon EventBridge
PDF
Build a serverless web app for a theme park
PDF
Thinking Serverless (SVS213 AWS re:Invent 2019)
PDF
S3 to Lambda:: A flexible pattern at the heart of serverless applications (SV...
PPTX
Thinking Serverless (AWS re:Invent 2019 chalk talk SVS213). Solutions slides.
PPTX
Why serverless will revolutionize your software process.
PPTX
Serverless APIs and you
Building Event-driven Architectures with Amazon EventBridge
Build a serverless web app for a theme park
Thinking Serverless (SVS213 AWS re:Invent 2019)
S3 to Lambda:: A flexible pattern at the heart of serverless applications (SV...
Thinking Serverless (AWS re:Invent 2019 chalk talk SVS213). Solutions slides.
Why serverless will revolutionize your software process.
Serverless APIs and you
Ad

Recently uploaded (20)

PPTX
WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx
PPTX
using the citation of Research to create a research
PPTX
ECO SAFE AI - SUSTAINABLE SAFE AND HOME HUB
PPTX
Digital Project Mastery using Autodesk Docs Workshops
PDF
ilide.info-huawei-odn-solution-introduction-pdf-pr_a17152ead66ea2617ffbd01e8c...
PPTX
购买林肯大学毕业证|i20Lincoln成绩单GPA修改本科毕业证书购买学历认证
PDF
AGENT SLOT TERPERCAYA INDONESIA – MAIN MUDAH, WD CEPAT, HANYA DI KANCA4D
PPTX
Introduction to networking local area networking
PDF
Virtual Guard Technology Provider_ Remote Security Service Solutions.pdf
PPTX
北安普顿大学毕业证UoN成绩单GPA修改北安普顿大学i20学历认证文凭
PPTX
在线订购名古屋艺术大学毕业证, buy NUA diploma学历认证失败怎么办
PPTX
Concepts of Object Oriented Programming.
PDF
How Technology Shapes Our Information Age
PPT
chapter 5: system unit computing essentials
PPTX
Basic_of_Computer_System.pptx class-8 com
PDF
Slides World Games Great Redesign Eco Economic Epochs.pdf
PPTX
IoT Lecture IoT Lecture IoT Lecture IoT Lecture
DOCX
Memecoinist Update: Best Meme Coins 2025, Trump Meme Coin Predictions, and th...
PPTX
IOT LECTURE IOT LECTURE IOT LECTURE IOT LECTURE
PPTX
Introduction: Living in the IT ERA.pptx
WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx
using the citation of Research to create a research
ECO SAFE AI - SUSTAINABLE SAFE AND HOME HUB
Digital Project Mastery using Autodesk Docs Workshops
ilide.info-huawei-odn-solution-introduction-pdf-pr_a17152ead66ea2617ffbd01e8c...
购买林肯大学毕业证|i20Lincoln成绩单GPA修改本科毕业证书购买学历认证
AGENT SLOT TERPERCAYA INDONESIA – MAIN MUDAH, WD CEPAT, HANYA DI KANCA4D
Introduction to networking local area networking
Virtual Guard Technology Provider_ Remote Security Service Solutions.pdf
北安普顿大学毕业证UoN成绩单GPA修改北安普顿大学i20学历认证文凭
在线订购名古屋艺术大学毕业证, buy NUA diploma学历认证失败怎么办
Concepts of Object Oriented Programming.
How Technology Shapes Our Information Age
chapter 5: system unit computing essentials
Basic_of_Computer_System.pptx class-8 com
Slides World Games Great Redesign Eco Economic Epochs.pdf
IoT Lecture IoT Lecture IoT Lecture IoT Lecture
Memecoinist Update: Best Meme Coins 2025, Trump Meme Coin Predictions, and th...
IOT LECTURE IOT LECTURE IOT LECTURE IOT LECTURE
Introduction: Living in the IT ERA.pptx

20 ways event-driven architectures can improve your development - Copy.pptx

  • 1. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 20 ways event-driven architectures can improve your development process James Beswick Principal Developer Advocate AWS Serverless
  • 2. © 2022, Amazon Web Services, Inc. or its affiliates. About me James Beswick Email: [email protected] Twitter: @jbesw Principal Developer Advocate Self-confessed serverless geek Previously Software Developer Product Manager
  • 3. © 2022, Amazon Web Services, Inc. or its affiliates.
  • 4. © 2022, Amazon Web Services, Inc. or its affiliates. Amazon EventBridge A serverless event bus service for SaaS and AWS services
  • 5. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 1. Decouple your workloads 5
  • 6. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 2. Replace private APIs 6
  • 7. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 3. Integrate with SaaS providers 7
  • 8. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 4. Replace API chains (aka monoliths) 8
  • 9. © 2022, Amazon Web Services, Inc. or its affiliates. The happy path works well
  • 10. © 2022, Amazon Web Services, Inc. or its affiliates. . . . but exception handling can be messy
  • 11. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 5. Build for extensibility 11
  • 12. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 6. Simpler webhooks that 12 scale
  • 13. © 2022, Amazon Web Services, Inc. or its affiliates. Building scalable webhooks HTTP API endpoint Custom event bus Default event bus AWS Lambda function Amazon SQS queue Download and deploy this code at https://github.com/aws-samples/decoupling-with-amazon-eventbridge
  • 14. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 7. Break down large AWS SAM templates 14
  • 15. © 2022, Amazon Web Services, Inc. or its affiliates. Going from this… 15 Src: https://aws.amazon.com/blogs/compute/decoupling-larger-applications-with-amazon-eventbridge/
  • 16. © 2022, Amazon Web Services, Inc. or its affiliates. Going from this… 16 Src: https://aws.amazon.com/blogs/compute/decoupling-larger-applications-with-amazon-eventbridge/
  • 17. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 8. Easier interaction with Amazon S3 buckets. 17
  • 18. © 2022, Amazon Web Services, Inc. or its affiliates. In AWS SAM… 18 Src: https://serverlessland.com/patterns/s3-eventbridge AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: S3 bucket to EventBridge - @jbesw Resources: SourceBucket: Type: AWS::S3::Bucket Properties: NotificationConfiguration: EventBridgeConfiguration: EventBridgeEnabled: True ## Lambda function MyFunction: Type: AWS::Serverless::Function Properties: CodeUri: src/ Handler: app.handler Runtime: nodejs14.x MemorySize: 128 Timeout: 3 Policies: - S3ReadPolicy: BucketName: !Ref SourceBucket Events: Trigger: Type: EventBridgeRule Properties: Pattern: source: - "aws.s3"
  • 19. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 9. Create workloads for multiple S3 buckets easily 19
  • 20. © 2022, Amazon Web Services, Inc. or its affiliates. One rule for multiple buckets 20 EventBridge AWS Lambda function Amazon S3 mySales-Jan mySales-Feb mySales-Mar Events Rule EventRule: Type: AWS::Events::Rule Properties: Description: "EventRule" State: "ENABLED" EventPattern: source: - "aws.s3" detail: eventName: - "PutObject" requestParameters: bucketName: - 'mySales-Jan' - 'mySales-Feb' - 'mySales-Mar'
  • 21. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 10. Wait! What about buckets that don't exist yet? 21
  • 22. © 2022, Amazon Web Services, Inc. or its affiliates. One rule for dynamic buckets 22 EventBridge AWS Lambda function Amazon S3 mySales-Jan mySales-Feb mySales-Mar Events Rule EventRule: Type: AWS::Events::Rule Properties: Description: "EventRule" State: "ENABLED" EventPattern: source: - "aws.s3" detail: eventName: - "PutObject" requestParameters: bucketName: - "prefix": "mySales-" mySales-Apr
  • 23. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 11. Use custom event buses as a security boundary 23
  • 24. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 12. Use rules as a central logging point for microservices 24
  • 25. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 13. Use events to synchronize your applications 25
  • 26. © 2022, Amazon Web Services, Inc. or its affiliates. Use events to synchronize applications EventBridge rules Events Step Functions Order processing workflow AWS Account EventBridge Event bus Ordering app API Gateway Order Manager service QR validator service Barista app Display app Front ends Events Publisher service Events Events Events API Gateway IoT Core Lambda function Lambda function Step Functions DynamoDB table DynamoDB table WebSocket API REST API REST API Download and deploy this code at: https://s12d.com/espresso
  • 27. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 14. Add regional failover to your application with global endpoints 27
  • 28. © 2022, Amazon Web Services, Inc. or its affiliates. How global endpoints work 28 Read more at: https://aws.amazon.com/blogs/compute/introducing-global-endpoints-for-amazon-eventbridge/
  • 29. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 15. Improve your test/dev process using event archives 29
  • 30. © 2022, Amazon Web Services, Inc. or its affiliates. Setting up an event archive in EventBridge 30 Read more at: https://aws.amazon.com/blogs/compute/archiving-and-replaying-events-with-amazon-eventbridge/
  • 31. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 16. Use EventBridge to scale up Lambda really quickly 31
  • 32. © 2022, Amazon Web Services, Inc. or its affiliates. Setting up an event archive in EventBridge 32 Read more at: https://github.com/aws-samples/serverless-gif-generator/
  • 33. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 17. Use Schema Registry to keep track your events 33
  • 34. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 18. Use Atlas to visualize events 34
  • 35. © 2022, Amazon Web Services, Inc. or its affiliates. Visualize event flows with Atlas 35 More at: https://eventbridge-atlas.netlify.app/
  • 36. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 19. Use rules to reduce Lambda invocations – and cost! 36
  • 37. © 2022, Amazon Web Services, Inc. or its affiliates. © 2022, Amazon Web Services, Inc. or its affiliates. 20. Use input transformation to replace (some) Lambda functions 37
  • 38. © 2022, Amazon Web Services, Inc. or its affiliates. https://serverlessland.com © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 39. © 2022, Amazon Web Services, Inc. or its affiliates. Thank you! © 2022, Amazon Web Services, Inc. or its affiliates. James Beswick @jbesw

Editor's Notes

  • #12: Sing, dance and emit events like nobody is looking
  • #15: SAM templates can get to be enormous
  • #18: Do you need overlapping prefixs or suffixes to connect S3 to Lambda? You don't need to go S3 to Lambda to somewhere or S3 to SNS to somewhere. Just send events directly to EB
  • #24: Ben Kehoe
  • #28: Last year: 2 feature to route events from any commercial AWS Region, and across your AWS accounts. Wide range of use cases for global event delivery and replication scenarios. Global endpoints extends this. Simpler/more reliable way for you to improve the availability and reliability of event-driven applications. Fail over event ingestion automatically to a secondary Region during service disruptions.
  • #29: Global endpoints solve these issues by introducing two core service capabilities: A global endpoint is a managed Amazon Route 53 DNS endpoint. It routes events to the event buses in either Region, depending on the health of the service in the primary Region. New metric called IngestionToInvocationStartLatency. This exposes the time to process events from the point at which they are ingested by EventBridge to the point the first invocation of a target in your rules is made. Any extended periods of high latency over 30 seconds may indicate a service disruption. The failover is triggered via a Route 53 health check that monitors a CloudWatch alarm that observes the IngestionToInvocationStartLatency in the primary Region. Diagram shows how global endpoints reroutes events being delivered from the event bus in the primary Region to the event bus in the secondary Region when CloudWatch alarms trigger the failover of the Route 53 health check.
  • #38: You can customize the text from an event before EventBridge passes the event to the target of a rule. Using the input transformer in the console or the API, you define variables that use JSON path to reference values in the original event source. You can define up to 100 variables, assigning each a value from the input. Then you can use those variables in the Input Template as <variable-name>.