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
Event-driven orchestration with Eventarc and Wo...
Search
Mete Atamel
November 03, 2021
Programming
450
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Event-driven orchestration with Eventarc and Workflows
Mete Atamel
November 03, 2021
More Decks by Mete Atamel
See All by Mete Atamel
Agent-User Interaction Protocol (AG-UI)
meteatamel
0
130
Agent to UI Protocol (A2UI)
meteatamel
1
120
Tour of Agent Protocols: MCP, A2A, AG-UI, A2UI with ADK
meteatamel
2
470
Getting started with Google Antigravity
meteatamel
5
1k
Gemini for developers
meteatamel
0
220
Model Context Protocol
meteatamel
1
240
Agent2Agent (A2A) Protocol
meteatamel
2
290
Beyond_the_Prompt__Evaluating__Testing__and_Securing_LLM_Applications.pdf
meteatamel
1
550
Gemini_2.0_for_developers.pdf
meteatamel
0
170
Other Decks in Programming
See All in Programming
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
400
Hono + Inertia + React で LP を構築した話
oukayuka
2
110
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
190
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
350
Japan Community Day at Kubecon + CloudNativeCon Japan 2026: Learning Container Privilege Control by Building My Own Low-Level Container Runtime
ternbusty
1
170
改善しないと、タスクが回らない。 “てんこ盛りポジション” を引き継いだ情シスの、入社3ヶ月の業務改善録
krm963
0
280
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
220
AIと壁打ちしながら進めるコスト管理
fufuhu
1
1.3k
今さら聞けない .NET CLI
htkym
0
200
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
220
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
170
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
530
Featured
See All Featured
エンジニアに許された特別な時間の終わり
watany
108
250k
Building the Perfect Custom Keyboard
takai
2
840
RailsConf 2023
tenderlove
30
1.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
We Have a Design System, Now What?
morganepeng
55
8.3k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
480
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
410
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
First, design no harm
axbom
PRO
2
1.3k
Code Review Best Practice
trishagee
74
20k
Transcript
Event-driven orchestration with Eventarc and Workflows Mete Atamel Developer Advocate
at Google @meteatamel atamel.dev speakerdeck.com/meteatamel
github.com/priyankavergadia/GCPSketchnote
Event-driven orchestration Orchestrated services communicating via events Orchestrated Services Message
Broker Orchestrated Services Orchestrated Services
Google Cloud GA Your own apps GA Cloud Run GA
Cloud Functions Preview Workflows Preview Targets Sources Cloud Run for Anthos on GKE Preview Eventarc Triggers to filter events CloudEvents format
New message in a Pub/Sub topic → Cloud Run gcloud
eventarc triggers create trigger-pubsub \ --destination-run-service=$SERVICE_NAME \ --destination-run-region=$REGION \ --event-filters="type=google.cloud.pubsub.topic.v1.messagePublished" --transport-topic=projects/$PROJECT_ID/topics/$TOPIC_ID Pub/Sub Trigger
New Compute Engine VM creation → Cloud Run gcloud eventarc
triggers create trigger-auditlog \ --destination-run-service=$SERVICE_NAME \ --destination-run-region=$REGION --event-filters="type=google.cloud.audit.log.v1.written" \ --event-filters="serviceName=compute.googleapis.com" \ --event-filters="methodName=beta.compute.instances.insert" \ --service-account=$PROJECT_NO-compute@developer.gserviceaccount.com Audit Log Trigger
Create a trigger for new object creation in Cloud Storage
→ Cloud Run gcloud eventarc triggers create trigger-gcs \ --destination-run-service=$SERVICE_NAME \ --destination-run-region=$REGION --event-filters="type=google.cloud.storage.object.v1.finalized" \ --event-filters="bucket=$BUCKET_NAME" \ --service-account=$PROJECT_NO-compute@developer.gserviceaccount.com Cloud Storage Trigger
Serverless Compute External API’s Google API’s etc... Workflows - orchestrate
& integrate SaaS API’s Private API’s Other Clouds Workflows
- processPayment: call: http.post args: url: https://payment-processor.run.app/... body: input: ${paymentDetails}
result: processResult - shipItems: call: http.post args: url: https://.../cloudfunctions.net/ship body: input: ${processResult.body} result: shipResult - notifyUser: call: http.post ... Payment Processor Cloud Run Authorize & charge CC Notifier Cloud Run Notify user Shipper Cloud Functions Prepare & ship items YAML or JSON syntax
Deploy, execute, manage workflows # Deploy a workflow gcloud workflows
deploy my-workflow --source=workflow.yaml # Execute a workflow gcloud workflows execute my-workflow # See the result gcloud workflows executions describe <your-execution-id> --workflow my-workflow
None
Image processing pipeline v1 - Eventarc (AuditLog-Cloud Storage) + Cloud
Run End Users Images Input Cloud Storage Images Output Cloud Storage Filter Cloud Run Resizer Cloud Run Labeler Cloud Run Watermarker Cloud Run File uploaded Cloud Pub/Sub File resized Cloud Pub/Sub AuditLog Trigger Eventarc Pub/Sub Trigger Eventarc Pub/Sub Trigger Eventarc
Image processing pipeline v2 - Eventarc (Cloud Storage) + Cloud
Run +Workflows End Users Images Input Cloud Storage Images Output Cloud Storage Filter Cloud Run Cloud Storage Trigger Eventarc Image Processing Workflows Watermarker Cloud Functions Resizer Cloud Functions Labeler Cloud Functions
Image processing pipeline v3 - Eventarc (Cloud Storage) + Workflows
End Users Images Input Cloud Storage Images Output Cloud Storage Cloud Storage Trigger Eventarc Image Processing Workflows Watermarker Cloud Functions Resizer Cloud Functions Labeler Cloud Functions Filter Cloud Functions
@meteatamel atamel.dev speakerdeck.com/meteatamel github.com/GoogleCloudPlatform/eventarc-samples Thank you!