...
You will receive a welcome email from Blue Hexagon with the following information:
Blue Hexagon for GCP license key
Password to decrypt the Blue Hexagon for GCP Deployment Manager solution package
Download the Blue Hexagon for GCP Deployment Manager package here. Your welcome email should have the password to decrypt the package; if not, ask your Blue Hexagon representative for the same.
Unzip the downloaded package - enter the password when prompted.
Code Block $ unzip bluehexagon_gcp.zip Archive: bluehexagon_gcp.zip [bluehexagon_gcp.zip] password: inflating: bluehexagon/bluehexagon-instance-template.jinja inflating: bluehexagon/README.md inflating: bluehexagon/bluehexagon-instance-template.jinja.schema inflating: bluehexagon/bluehexagon.jinja inflating: bluehexagon/bluehexagon.jinja.schema
Deploy using the
gcloud
command line tool. Replace the following in thegcloud
command line to suit your needs:bhdemo
with the desired name of your GCP Deployment Manager stackprojects/foo-bar/global/networks/dev1
with the name of the VPC in which you want to deploy Blue Hexagonregions/us-west2/subnetworks/private
with the name of the subnet in which you want to deploy Blue Hexagonus-west2
with the region in which you want to deploy Blue HexagonYOUR_LICENSE_KEY
with the Blue Hexagon for GCP license key in your welcome emailCode Block language bash $ cd bluehexagon $ gcloud deployment-manager deployments create bhdemo \ --template bluehexagon.jinja \ --properties network:projects/foo-bar/global/networks/dev1,\ subnet:regions/us-west2/subnetworks/private,\ region:us-west2,\ bluehexagonLicenseKey:YOUR_LICENSE_KEY vmImage:projects/bh-assets-289216/global/images/bh-gcp-3-0-0-bhap-1110,
Tip |
---|
On success, you can check to see that the internal load balancer has been created along with a healthy backend managed instance group, as shown in the screenshots below. |
...