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?

Google Cloud Load Balancing の HTTP Load Balancer

Posted at

Google Cloud Load Balancing

Google Cloud Load Balancing は、Googleのグローバルインフラを利用してトラフィックを自動分散できるマネージドサービスです。

ロードバランサーとは?

ロードバランサーは、クライアントからのリクエストを複数のサーバに分散する仕組みです。これにより:

  • 可用性の向上:1台が落ちても他のVMが応答

  • スケーラビリティ:アクセス増加に応じてインスタンスを追加

  • 保守性:個別のVMを停止してもサービスを継続

Google Cloudでは以下の種類が提供されています:

  • HTTP(S) Load Balancing:L7ロードバランサー。URLマップやSSL/TLS終端が可能。

  • TCP/UDP Network Load Balancing:L4ロードバランサー。ゲームやVoIPなどL4トラフィックに適する。

  • Internal Load Balancing:内部向け(VPC内)の負荷分散。

HTTP Load Balancerの全体構成イメージ

バックエンドVM群(Managed Instance Group, MIG)

  • Compute Engineのテンプレートから作成

  • ApacheなどのWebサーバを起動

ヘルスチェック

  • VMが正常稼働しているかを判定

バックエンドサービス

  • MIGを束ねてロードバランサーに接続

URLマップ → HTTP Proxy → フロントエンドIP

  • クライアントはここにアクセス

  • ロードバランサーが各VMへリクエストを分散

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?