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
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
990
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
Terraform共通モジュールをチーム横断で“変えられる”運用へ ― リリースと適用の分離
kekke_n
1
3k
DMM.com 購入改善推進チーム におけるCodeRabbitを用いた レビューフロー改善の一例
ysknsid25
2
640
「最後に責任を取るのはチーム」— 人間のPRレビューを最小化してアップデートしたメンタルモデル
jnishime_dresscode
0
710
AIレビューはどこまで任せられるのか?自動化と人が背負うレビューの境界
sansantech
PRO
3
870
Alphaモジュール使っていいのかい!?いけないのかい!?どっちなんだいっ!?
watany
1
160
第67回コンピュータビジョン勉強会CVPR2026読会前編
tsukamotokenji
0
130
はじめてのWDM
miyukichi_ospf
1
140
Road to SRE NEXTの今までとこれから
hiroyaonoe
0
330
AI、CDK と協働する Full TypeScript アプリケーション開発 / Full TypeScript Application with AI and CDK
geekplus_tech
1
160
証券システムを10年Scalaで作り続けるということ - 関数型まつり2026
krrrr38
3
850
Foxgloveについて 実際にExtensionを開発して公開するまでの話 / About Foxglove: The Story of Developing and Releasing an Extension
ry0_ka
0
260
依頼文化をやめる日 EM視点で語るPlatform EngineeringとInclusive SRE / Discussing Platform Engineering and Inclusive SRE from an EM's Perspective
shin1988
4
5.5k
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
500
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
180
Abbi's Birthday
coloredviolet
3
8.6k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
260
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
63
55k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
320
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
260
Scaling GitHub
holman
464
140k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Between Models and Reality
mayunak
4
370
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)