gcp-networking
8
总安装量
2
周安装量
#34670
全站排名
安装命令
npx skills add https://github.com/bagelhole/devops-security-agent-skills --skill gcp-networking
Agent 安装分布
opencode
2
codex
2
amp
1
github-copilot
1
claude-code
1
Skill 文档
GCP Networking
Design and implement GCP network infrastructure.
Create VPC
gcloud compute networks create my-vpc --subnet-mode=custom
gcloud compute networks subnets create my-subnet \
--network=my-vpc \
--region=us-central1 \
--range=10.0.0.0/24
Firewall Rules
gcloud compute firewall-rules create allow-http \
--network=my-vpc \
--allow=tcp:80,tcp:443 \
--source-ranges=0.0.0.0/0 \
--target-tags=http-server
gcloud compute firewall-rules create allow-internal \
--network=my-vpc \
--allow=tcp,udp,icmp \
--source-ranges=10.0.0.0/8
Cloud NAT
gcloud compute routers create my-router \
--network=my-vpc \
--region=us-central1
gcloud compute routers nats create my-nat \
--router=my-router \
--region=us-central1 \
--nat-all-subnet-ip-ranges \
--auto-allocate-nat-external-ips
Best Practices
- Use Shared VPC for multi-project
- Implement Cloud Armor for DDoS
- Use Private Google Access
- Enable VPC Flow Logs