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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yuki Ito
November 17, 2022
Technology
290
0
Share
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.5k
Modular Monolith Go Server with GraphQL Federation + gRPC
110y
1
1.1k
Modular Monolith + Go @ newmo
110y
1
1.2k
Go + GraphQL @ newmo
110y
3
950
Architect / Platform Team at KAUCHE
110y
1
670
Cloud Run + Observability / Reliability @ KAUCHE
110y
0
640
Cloud Run CI/CD + QA @ KAUCHE
110y
1
660
KAUCHE Loves Go
110y
0
510
Evolution of Architecture @ Kauche
110y
3
610
Other Decks in Technology
See All in Technology
Kubernetes基盤における開発者体験 とセキュリティの両⽴ / Balancing developer experience and security in a Kubernetes-based environment
chmikata
0
240
DevOpsDays2026 Tokyo Cross-border practices to connect "safety" and "DX" in healthcare
hokkai7go
0
120
建設的な現実逃避のしかた / How to practice constructive escapism
pauli
4
310
ルールルルルル私的函館観光ガイド── 函館の街はイクラでも楽しめる!
nomuson
0
110
【PHPカンファレンス小田原2026】Webアプリケーションエンジニアにも知ってほしい オブザーバビリティ の本質
fendo181
0
560
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
2
17k
Databricksを用いたセキュアなデータ基盤構築とAIプロダクトへの応用.pdf
pkshadeck
PRO
0
290
Databricksで構築するログ検索基盤とアーキテクチャ設計
cscengineer
0
150
Eight Engineering Unit 紹介資料
sansan33
PRO
3
7.2k
Bluesky Meetup in Tokyo vol.4 - 2023to2026
shinoharata
0
150
さくらのクラウドでつくるCloudNative Daysのオブザーバビリティ基盤
b1gb4by
0
150
Data Hubグループ 紹介資料
sansan33
PRO
0
2.9k
Featured
See All Featured
Between Models and Reality
mayunak
3
260
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
120
Designing for Timeless Needs
cassininazir
0
190
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Un-Boring Meetings
codingconduct
0
260
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
89
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
670
RailsConf 2023
tenderlove
30
1.4k
WCS-LA-2024
lcolladotor
0
520
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1k
The agentic SEO stack - context over prompts
schlessera
0
740
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)