GCPのGoogle Cloud Load Balancer(GCLB)で特定のIPアドレスのみアクセスを許可したい場合がありますよね。あるとします。 GCPでIPアドレス制限したい場合は、ファイアウォール ルール を思い浮かべると思いますが、これはGCEに対しての設定であるため、GCLBには適用できません。 GCLBでIPアドレス制限をしたい場合は Cloud Armor を利用します。 本記事は Cloud Armor でGCLBのIPアドレス制限をする方法を紹介します。 Cloud Armorとは Cloud Armorの設定 1. ポリシーの設定 2. ルールの追加 3. ターゲットへのポリシー適用 参考 Cloud Armorとは cloud.google.com 主な機能としては以下が提供されています。AWS WAF と AWS Shield を合わせたものに近いですね。 DD