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
Microservices on Cloud Run @ KAUCHE
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yuki Ito
November 17, 2022
Technology
310
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Microservices on Cloud Run @ KAUCHE
Yuki Ito
November 17, 2022
More Decks by Yuki Ito
See All by Yuki Ito
newmo の創業を支える Software Architecture と Platform Engineering
110y
5
3.6k
Modular Monolith Go Server with GraphQL Federation + gRPC
110y
1
1.1k
Modular Monolith + Go @ newmo
110y
1
1.3k
Go + GraphQL @ newmo
110y
3
980
Architect / Platform Team at KAUCHE
110y
1
700
Cloud Run + Observability / Reliability @ KAUCHE
110y
0
670
Cloud Run CI/CD + QA @ KAUCHE
110y
1
670
KAUCHE Loves Go
110y
0
540
Evolution of Architecture @ Kauche
110y
3
640
Other Decks in Technology
See All in Technology
Foxgloveについて 実際にExtensionを開発して公開するまでの話 / About Foxglove: The Story of Developing and Releasing an Extension
ry0_ka
0
180
完全自律ロボットを作りたくて、先に開発を自律させた話(ROS Japan UG #63 LT)
rryz09
0
410
攻撃者がいなくてもAIエージェントはインシデントを起こす
nomizone
0
200
デジタル・デザイン構想 by Sayaka Ishizuka
y150saya
0
200
Road to SRE NEXTの今までとこれから
hiroyaonoe
0
220
認証認可だけじゃない! ID管理の構成要素と ライフサイクルを意識しよう
ritou
1
520
Terraform共通モジュールをチーム横断で“変えられる”運用へ ― リリースと適用の分離
kekke_n
0
1.8k
しぶいSRE: サーバから見えない障害にどう向き合うか。ラストワンマイルのデバッグ実践 / Shibui SRE
kanny
12
5k
AI Agent SaaS を支える自社仮想化基盤への挑戦と実運用 / ai-agent-saas-virtualization
flatt_security
2
3k
金融の未来を考える / Thinking About the Future of Finance
ks91
PRO
0
180
ゼロをイチにする仕事が終わったあと
smasato
0
310
依頼文化をやめる日 EM視点で語るPlatform EngineeringとInclusive SRE / Discussing Platform Engineering and Inclusive SRE from an EM's Perspective
shin1988
4
4.2k
Featured
See All Featured
Optimizing for Happiness
mojombo
378
71k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
270
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Typedesign – Prime Four
hannesfritz
42
3.1k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.3k
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
2
310
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
330
A designer walks into a library…
pauljervisheath
211
24k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Transcript
Microservices on Cloud Run @ KAUCHE Yuki Ito (@mrno110) GCPUG
Modern Architecture Talk
Kauche Architect Yuki Ito @mrno110
None
Architecture Run Tasks Pub/Sub Mobile App External Service Mobile API
Web Hook API Job API Scheduler
What is Cloud Run Cloud Run is a managed compute
platform that enables you to run containers that are invocable via requests or events. Cloud Run is serverless: it abstracts away all infrastructure management... https://cloud.google.com/run/docs
Architecture - Key Concepts - ɾEverything runs on Cloud Run
ɾEverything runs as an API (gRPC)
Architecture Run Tasks Pub/Sub Mobile App External Service Mobile API
Web Hook API Job API Scheduler
Architecture Run Tasks Pub/Sub Mobile App External Service Mobile API
Web Hook API Job API Scheduler
Architecture - Key Concepts - e.g.) VS. Cloud Functions Trigger
Run Pub/Sub Functions Run Firestore Functions
Architecture Run Tasks Pub/Sub Mobile App External Service Mobile API
Web Hook API Job API Scheduler
Architecture ✅ Everything is Managed as API De fi nitions
✅ Reuse same implementation logic as APIs ✅ Use same Monitoring environments
Architecture: 2020 ~ Run Customer App Customer gRPC
Architecture: 2022 ~ Customer App Customer gRPC Partner App Partner
gRPC Envoy (API Gateway)
O ffl oading Cross-Cutting Concerns to the API Gateway ✓
Authentication / Authorization ✓ Transcoding ✓ Being Internet facing (TLS / Domain / CDN / IP ...) ✓ ...
API Gateway Pattern Customer App Customer gRPC Partner App Partner
gRPC Envoy (API Gateway)
proxy-wasm https://github.com/proxy-wasm/spec/blob/c8 ff 5a8ac7b18a65360fe8ab843a6291b8947682/docs/WebAssembly-in-Envoy.md
e.g. Fetching access tokens from Google Cloud Metadata Server API
Gateway Upstream Microservice Metadata Server Access Token Access Token Get Access Token Request
Architecture: 2022 ~ Customer App Customer gRPC Partner App Partner
gRPC Envoy (API Gateway)
Network: Single Service
Network: Microservices
Network: Access Control
Access Control - Cloud Run - • Access Control with
IAM • Restricting Ingress
Network: Shared VPC + Service Controls Perimeter
Architecture: 2022 ~ Customer App Customer gRPC Partner App Partner
gRPC Envoy (API Gateway)