0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[Cloud][IaaS][FaaS][API Gateway] クラウドサービスとAPI Gatewayについて

Posted at

サービス対応表

区分 AWS Azure Google Cloud
IaaS EC2 Azure Virtual Machines Compute Engine
FaaS Lambda Azure Functions Cloud Functions
API Gateway API Gateway API Management API Gateway

用語

区分 内容
IaaS 仮想マシン(OSごと管理)
FaaS 関数ベースのサーバーレス実行環境
API Gateway APIの入口で、ルーティング・認証・制御を行うプロキシ的な役割。

image.png

使い分け

要件例 おすすめ
小規模なAPIやバッチ処理 FaaS + API Gateway
長時間実行される処理や大規模システム IaaS(EC2やVM)

アーキテクチャ

【Client】
  [ Web/Mobile/SPA Browser ]
    └─ UI/UX、入力フォーム、HTTPリクエスト送信
              ↓

【Web Server】
  [ API Gateway / Load Balancer ]
    └─ ルーティング、認証/認可、CORS、SSL終端
              ↓

【App Server】
  [ AWS Lambda / Azure Functions / GCP Cloud Functions ]
    └─ プレゼンテーション層:データ整形、レスポンス生成
    └─ ビジネスロジック層:バリデーション、ドメインロジック、API統合
    └─ データベースアクセス層:DBアクセスコード、ORM、トランザクション制御
              ↓

【DB Server】
  [ RDS / Cloud SQL / Cosmos DB / Firestore / DynamoDB ]
    └─ データの永続化、検索、整合性管理、スキーマ定義

参考リンク

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?