Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
EventBridgeでEventが発生しないことがある?
Search
Chiharu-Tsuboi
February 15, 2023
Technology
270
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
EventBridgeでEventが発生しないことがある?
Serverless LT初心者向け LT大会 #30の資料です。
Chiharu-Tsuboi
February 15, 2023
More Decks by Chiharu-Tsuboi
See All by Chiharu-Tsuboi
AWS公式MCP、全部入れたら便利?精度下がる?
chiharutsuboi
1
620
AWSアカウント74件をバックアップした方法と課題
chiharutsuboi
0
450
新機能!Amazon Aurora Limitless Database とは
chiharutsuboi
0
870
S3の情報漏洩からデータを守るには?CloudFormationで作るS3標準テンプレートのご紹介
chiharutsuboi
0
250
Amazon Aurora徹底比較 Provisioned vs Serverless
chiharutsuboi
0
5.3k
EventBridgeでEventが発生しないことがある?v2
chiharutsuboi
0
1.7k
500万円のサービスを申し込んでしまった
chiharutsuboi
1
1.4k
Other Decks in Technology
See All in Technology
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
Getting Started with Google Antigravity
glaforge
0
320
トークン化預金DCJPYの取り組みと活用ユースケース
finengine
0
110
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
290
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
340
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
930
FinOps Agentが生んだ技術負債:コスト自動調査の落とし穴と解消までの道のり
oasis1994liveforever
1
120
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
180
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
1
280
How to Design Configuration for Rails Applications
willnet
1
830
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
4k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
630
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
540
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
59k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
460
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
The Pragmatic Product Professional
lauravandoore
37
7.5k
Transcript
EventBridgeでEventが発 生しないことがある? 2023/2/15 Serverless LT初心者向け LT大会 #30 セゾン情報システムズ 坪井 千春
1
自己紹介 名前: 坪井 千春 所属: 株式会社セゾン情報システムズ 経歴: ・SIerとしてJAVAメインのアプリ担当を19年 ・直近5年程度AWSを利用 ・2022年4月からアプリを離れてAWSエンジニアとして活動
・AWS Top Engineers受賞にチャレンジ
EventBridgeとは? • イベントを使ってアプリケーション同士を接続するサービス • Amazon CloudWatch Eventsの拡張であり、同じAPIやエンドポイン トを使用している • cronのように時刻指定でのスケジューラも可能
ユースケース WAFの検知イベントをトリガーにlambdaでメール通知 3 Amazon EventBridge Event AWS Lambda AWS WAF
注意点 4 AWS公式ドキュメント:https://docs.aws.amazon.com/ja_jp/eventbridge/latest/userguide/eb-troubleshooting.html#eb-delayed-event-delivery • 配信は最大24時間まで • イベント生成はベストエフォート • まれに複数回起動する
注意点1:配信は最大24時間まで • EventBridgeのSLAは99.99%の月間稼働率(月間4分程度の停止) • サービス中断によりイベントを配信できない場合、復旧後にイベ ントは最大24時間再試行さる • 24時間を超えるとイベントは発生せず「FailedInvocations」メ トリクスが記録される 5
AWS公式ドキュメント:https://docs.aws.amazon.com/ja_jp/eventbridge/latest/userguide/eb-troubleshooting.html#eb-delayed-event-delivery
注意点2:イベント生成はベストエフォート • イベントを生成するサービスによって稀にイベントが配信され ない可能性がある • 基本的には「ベストエフォート」 • 一部のみ「保証付き配信」 6 •
AWS Batch • Amazon Braket • AWS CloudFormation • Amazon CloudWatch • AWS CodeArtifact • Amazon Elastic Container Service • AWS Elemental MediaConvert • AWS Elemental MediaStore • Amazon EventBridge のスケジュール されたルール • AWS IoT Analytics • AWS Key Management Service CMK の削除 • Amazon Location Service • AWS OpsWorks • Amazon QLDB • Amazon Redshift • AWS Security Hub • AWS Signer • Amazon Simple Storage Service (Amazon S3) • AWS Storage Gateway • Amazon Translate イベント配信が保証されるサービス AWS公式ドキュメント:https://docs.aws.amazon.com/ja_jp/eventbridge/latest/userguide/eb-service-event.html
注意点3:まれに複数回起動する • 「保証付き配信」で保証されるのは「1回以上」の配信 • まれに、下記のような事象が発生する • 単一のイベントに対して同じルールを複数回トリガーされてしまう • 特定のトリガーされたルールに対して同じターゲットを複数回起動し てしまう
対策 • 複数回起動しても問題無いものに適用 • ターゲット側で複数回起動チェックを実装 7 AWS公式ドキュメント:https://docs.aws.amazon.com/ja_jp/eventbridge/latest/userguide/eb-troubleshooting.html#eb-rule-triggered-more-than-once
まとめ • EventBridgeは簡単にアプリ同士を接続できるサービス • まれに「起動しない」「起動が遅い」「複数回起動する」 • 100%が求められるアプリケーションでの採用は注意が必要 8