API Gateway Authority API Service X API Service Y Google Cloud Load Balancer Service A Service B Google Kubernetes Engine Service C Web Service Z Cloud Spanner Project A Cloud Spanner Cloud Pub/Sub Project B Project GKE 共通 GKEクラスタ 3 1 2 個別 Project レイヤーアーキテクチャ 4 Cloud Spanner アーキテクチャ
マイクロサービス on Google Kubernetes Engine すべて マイクロサービスが同じClusterに乗っている - Cluster自体 Platform Teamが構築・運用 - Namespace内を各チームが開発・運用 Google Kubernetes Engine Namespace: service-a Container A Container A Container A Namespace: service-b Container A Container A Container B
マイクロサービス 階層構 Client アプリ、加盟店等 パートナー様 API Gateway 全て リクエストがAPI Gatewayを通る 共通処理とルーティング API サービス クライアントから リクエストとレスポンス 責任を持つ 裏側にある複数 マイクロサービス アグリゲーション Backend サービス 機能 ロジックを実現する Backend Service API Gateway API Service Client