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でAWSとShopifyの統合
Search
Haruna Oka
December 17, 2020
Technology
6.4k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
EventBridgeでAWSとShopifyの統合
2020/12/17開催のイベント「AWSとReactで始めるShopifyアプリ開発」で話したセッション資料です。
Haruna Oka
December 17, 2020
More Decks by Haruna Oka
See All by Haruna Oka
AWS AppSyncと仲良くするためのTips
okaharuna
1
230
Next.js × AWS App Runner × AWS AppSyncで進めるクライアントファーストのWEB開発
okaharuna
7
6.4k
re:Growth 2020 Serverless
okaharuna
2
1.5k
Serverless SPA development starting with Angular
okaharuna
0
3.5k
serverlessdaysfukuoka_oka.pdf
okaharuna
1
2.3k
SPA×Auth0
okaharuna
5
2.2k
Fargate_Super_Introduction.pdf
okaharuna
2
3.4k
Other Decks in Technology
See All in Technology
顧客の成果創出とプロダクトの成長を 両立するためのFDE
sansantech
PRO
0
650
Swap and Memory Reclaim - Squeezing Out More RAM
ennael
PRO
1
1.6k
Amazon Bedrock Agents ClassicからAmazon Bedrock AgentCoreへ移行した際、ガードレール設定が2箇所に割れた話
matsunobu
0
170
Claude Designがめちゃくちゃ便利なので使ってほしい
diggymo
0
280
生成AIと進める探索的データ分析(2026.10.03 第122回Tokyo.R勉強会)
tatamiya
2
1.3k
Datadog の学び方 - あるいは、オブザーバビリティを学ぶとは何か
mananyuki
0
130
AIに攻撃される前に、AIに攻撃させる
tsuchikazu
0
130
行動するAIのためのオントロジー | DevRev — Encraft #26.pdf
dvrv_tknrszk
2
690
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
240
AI時代だからこそ推したい!Gitコマンド再入門
munakata
0
110
全社共通データ基盤をつくる。ソニーのDatabricks活用とデータガバナンス設計の裏側
sony
0
340
2026-09-26 Platform Engineering Kaigi 2026 インフラとアプリの境界線と委譲の設計 / Drawing the Infra and App Line
masasuzu
0
620
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Crafting Experiences
bethany
1
370
Mobile First: as difficult as doing things right
swwweet
225
10k
From π to Pie charts
rasagy
1
390
The Curse of the Amulet
leimatthew05
3
15k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
840
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
390
So, you think you're a good person
axbom
PRO
2
2.2k
Bash Introduction
62gerente
615
220k
WCS-LA-2024
lcolladotor
0
840
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Transcript
2020/12/17 EventBridgeで AWSとShopifyの統合 Classmethod, Inc. Oka Haruna
プロフィール 岡 春奈 岡 春奈 サーバーレスエンジニア CX事業本部 MADチーム AWSサーバーレスの開発/コンサル 猫の下僕
アジェンダ 統合のための前提知識 統合の前提知識として必要なShopify とEventBridgeの基本的な話をしま す。 ユースケース 統合の頻出するパターンを解説しま す。 Shopifyとの統合手順 具体的な統合ステップを解説します。
まとめ
想定する対象者 AWSは使ったことがあるけど Shopifyを使ったことがない方
EventBridgeのイベントバス Push型で非同期で一度に単一のメッセージを処理する
EventBridgeのイベントバス イベントバスの種類 デフォルト AWSサービス カスタムバス 独自のアプリケーション パートナーバス SaaS
EventBridgeのイベントバス イベントバスの種類 カスタムバス 独自のアプリケーション パートナーバス SaaS デフォルト AWSサービス
マーチャント パートナー →ショップの運営者/販売者 →アプリの開発者 Shopifyのアクター
パブリックアプリ カスタムアプリ プライベートアプリ Shopifyアプリの種類
パブリックアプリ カスタムアプリ プライベートアプリ Shopifyアプリの種類 →販売する時 →1つの店舗で利用 →EventBridgeの統合はできない
ShopifyとEventBridge統合イメージ
構築手順① Shopify パートナー Shopifyアプリを用意する(カスタムアプリ) 一番手軽なのはShopify App CLI
構築手順② Shopify マーチャント ストアにShopifyアプリをインストールする
構築手順③ Shopify パートナー ShopifyアプリからEventBridgeにパートナー イベントソースを作成する Shopifyアプリ設定画面からワンクリックで実 行可能
構築手順④ AWS(EventBridge) 作成されたEventBridgeのイベントソースをイ ベントバスに関連付ける EventBridgeのルールを作成する
構築手順⑤ Shopify パートナー ShopifyのAdmin APIでショップ側の webhookを登録する
EventBridgeのコンソール
Shopifyアプリの設定画面
手順詳細は で
ユースケース 新規注文: 商品の在庫数がN個を切ったら通知する 新規注文: AWS上のポイントシステムに連携する 新規注文: AWS上の配送システムに連携して自動出荷する 商品登録: 商品の画像解析してタグを自動追加する(AWS 公式チュートリアル)
商品の在庫数がN個を切ったら通知
注文が入ったらポイントを付与
登録された商品を画像解析してタグを自動追加(AWS公式) 引⽤元:https://aws.amazon.com/jp/quickstart/eventbridge/shopify-image-processing/
注意点 EventBridgeでは稀にイベントが重複する可能性 があるので、アプリケーション側で重複排除の 処理を実装する必要がある 多少タイムラグが発生するので遅延を許容でき るケースのみ利用する
まとめ ShopifyのイベントをEventBridgeで受け取って コスパ良くAWS上のシステムと連携しよう EventBridgeとの統合のためにはShopifyのカス タムアプリor公開アプリを準備しよう