Sha256: a83b0827892239ba8700befd6f61ebf7079739bf474d4c8ae31e9a1fcd28f9d2
Contents?: true
Size: 943 Bytes
Versions: 1
Compression:
Stored size: 943 Bytes
Contents
# Static IP Address ## External (global) To configure a pre-allocated static ip address: gcloud compute addresses create demo-dev --global gcloud compute addresses create demo-https-dev --global # if using https .glb/config.rb ```ruby Glb.configure do |config| config.firewall_rule.network = "dev" config.firewall_rule.target_tags = "demo-web-dev" config.firewall_rule.rules = "tcp:8080" config.network_endpoint_group = "demo-web-dev-80-neg" config.health_check.port = 8080 config.forwarding_rule.address = "demo-dev" # config.forwarding_rule_https.address = "demo-https-dev" # if using https end ``` IMPORTANT: The [gcloud compute forwarding-rules update](https://cloud.google.com/sdk/gcloud/reference/compute/forwarding-rules/update) command does not support updating the static IP address. You have to delete the forwarding rule and recreate it. gcloud compute forwarding-rules delete demo-dev --global
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
glb-0.1.1 | docs/static-ip-address.md |