environment
variables to reflect your cloud environment.
properties:
region: us-east1
zones:
-us-east1-b
# Do not modify the lb-type field.
lb-type: nlb
cloud-nat: yes
forwarding-rule-port: 80
# Only one app is allowed
urlPath-namedPort-maps:
- appName: app1
# ssh key PUBLIC:
- optional
The autoscaling firewall template requires you to enter the value in single quotes and prepend
the key with
admin: followed by a space. This is
the same convention used for the Google Marketplace template, as
detailed in
SSH Key Pair. For example:
bootstrap-bucket: bootstrap-autoscale
image: vmseries-byol-814
machine-type: n1-standard-4
For the service-account, supply the email address for the
host project service
account you created
previously.
service-account: sa-pan@gcp-autoscale-kk.iam.gserviceaccount.com
The
fw-instance-tag value will be the managed instance group name in
the deployment.
fw-instance-tag: vm-series-fw
Choose
one metric for auto scaling. Possible values are: panSessionActive,
panSessionUtilization, DataPlaneCPUUtilizationPct, DataPlanePacketBufferUtilization,
or panSessionUtilization.
metric: custom.googleapis.com/VMSeries/panSessionActive
max-size: 2
min-size: 1
target-type: GAUGE
util-target: 100
# Greenfield deployment
mgmt-network-cidr: 172.22.2.0/24
untrust-network-cidr: 172.22.1.0/24
trust-network-cidr: 172.22.3.0/24
mgmt-network-access-source-range:
- 199.167.54.229/32
- 199.167.52.5/32
mgmt-network-access-ports:
- 22
- 443