...
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/{project id}/global/networks/dev1
with the name of the VPC in which you want to deploy Blue Hexagon.regions/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/{project id}/global/networks/dev1{vpc network name}, subnet:regions/us-west2/subnetworks/{private subnet name}, region:us-west2, bluehexagonLicenseKey:{API-KEY}, vmImage:projects/bh-assets-289216/global/images/bh-gcp-3-0-0-bhap-1241
...