Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Amazon EventBridge pipes を触ってみた
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Tetsuo Nobe
November 16, 2023
Technology
0
120
Amazon EventBridge pipes を触ってみた
Serverless LT初心者向け LT大会 #39 発表資料
Tetsuo Nobe
November 16, 2023
Tweet
Share
Other Decks in Technology
See All in Technology
ソフトウェアアーキテクトのための意思決定術: Create Decision Readiness—The Real Skill Behind Architectural Decision
snoozer05
PRO
29
8.7k
三菱UFJ銀行におけるエンタープライズAI駆動開発のリアル / Enterprise AI_Driven Development at MUFG Bank: The Real Story
muit
11
20k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.8k
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4k
チームメンバー迷わないIaC設計
hayama17
5
3.7k
問い合わせ自動化の技術的挑戦
recruitengineers
PRO
2
130
Digitization部 紹介資料
sansan33
PRO
1
7k
「ヒットする」+「近い」を同時にかなえるスマートサジェストの作り方.pdf
nakasho
0
100
Agentic Codingの実践とチームで導入するための工夫
lycorptech_jp
PRO
0
400
LINEアプリ開発のための Claude Code活用基盤の構築
lycorptech_jp
PRO
2
1.3k
大規模サービスにおける レガシーコードからReactへの移行
magicpod
1
110
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
1.6k
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
170
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
99
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Building Adaptive Systems
keathley
44
2.9k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
230
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
210
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
96
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.8k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
590
What does AI have to do with Human Rights?
axbom
PRO
1
2k
GitHub's CSS Performance
jonrohan
1032
470k
WCS-LA-2024
lcolladotor
0
470
Transcript
Amazon EventBridge pipes を触ってみた のべ てつお @nobelabo
自己紹介 • 名前:野邊 哲男(のべ てつお) • 職務:テクニカル インストラクター • 主に
AWS のサーバーレスや開発関連のトレーニングを担当 • 経歴:金融機関:アプリケーション開発担当 外資系ITベンダー:お客様への提案/技術支援/教育 • 出身: 大阪(現在は、京都在住です。) @nobelabo この発表内容はすべて個人のものであり、 所属する組織の意見や代表するものでもありません。
こんなとき、どうしますか • Amazon DynamoDB のテーブルで会員情報を管理 • 新規に会員登録されたら、そのうち名前と住所情報とメールアドレスだけを クーポン配信アプリに渡して、地域で使えるクーポンを配信する。 Lambda 関数
DynamoDB 会員テーブル クーポン配信 アプリ API 会員情報 登録 会員情報 フィルタリング や変換 DynamoDB Streams
Amazon EventBrige pipes も検討できます • Amazon EventBrige pipes とは:イベントのプロデューサーとコンシューマー間 ポイントツーポイント統合を容易に実現
• キューやストリームのメッセージを設定によりフィルタリング、編集、変換して ターゲットサービスへ送信 DynamoDB 会員テーブル クーポン配信 アプリ API 会員情報 登録 会員情報 フィルタリング や変換 DynamoDB Streams Amazon EventBridge pipes https://aws.amazon.com/jp/eventbridge/pipes/
Amazon EventBridge pipes のデモ • DynamoDB Streams をソースに新規に作成された項目だけをフィルタリング • その項目のデータフォーマットを変換
• 変換後のデータを含めて API にリクエスト発行 フィルタ リング 変換 クーポン配信 アプリ API 更新 作成 削除 { "id": { "S": "1" }, "address": { "S": "Kyoto1" }, "birth_date": { "S": "19990101" }, "email": { "S": "
[email protected]
" }, "name": { "S": "Nobe" }, "phone": { "S": "090-1111-1111" }, "zip": { "S": "000-0000" } } { "shimei": "<$.dynamodb.NewImage.name.S>", "jyusho": "<$.dynamodb.NewImage.address.S>", "mail": "<$.dynamodb.NewImage.email.S>" } Amazon EventBridge pipes 変換前 変換後 DynamoDB Streams DynamoDB 会員テーブル
最後に: Amazon EventBridge pipes を触ってみて いいなと思ったところ • 設定ベースで、フィルタリングや変換が可能 • ストリームやキューと連動する
Lambda 関数の実装を不要にできるケースもある • フィルタリングで対象になったメッセージ数だけに課金 注意したいところ • エンリッチメント(メッセージの内容編集)を行う場合は、Lambda 関数や AWS Step Functions のステートマシンなど、やはり何かしらのコードが必要
ご清聴ありがとうございました!