L4 (Cloud NAT, VPC firewall rules, Cloud Armor for NLB)
IP / Port / Protocol で制御
低オーバーヘッド
Cloud Armor Advanced Network DDoS で NLB 保護
L7 (Cloud Armor for App LB, Cloud NGFW Enterprise, SWP)
URL / Host / Method / Header / Body で制御
WAF, IPS, TLS 検査
Cloud NGFW Enterprise が L7 inspection の決定打
Cloud NGFW 3 ティア比較表
機能
Essentials
Standard
Enterprise
IP/Port/Protocol
✅
✅
✅
Tag / Service account
✅
✅
✅
Hierarchical policy
✅
✅
✅
FQDN object
✗
✅
✅
GeoIP
✗
✅
✅
Threat Intelligence
✗
✅
✅
L7 TLS inspection
✗
✗
✅
IPS (Palo Alto signature)
✗
✗
✅
VPC-SC は別の概念
注意: VPC Service Controls はネットワーク (L3/L4/L7) ではなく API レベル境界。
BigQuery / Cloud Storage 等の API に対する access boundary を作る。
パケットを drop するわけではなく、API service principal レベルで deny します。
「VPC-SC = API ファイアウォール」のメンタルモデルで覚える。
確認問題
Q. egress で *.github.com のみ allow したい (L7)。
C。 SWP は L7 URL/Host allow list の正解。NGFW Standard の FQDN object も近いが、URL レベルは SWP。