Launch Cloudbreak from the quickstart template on GCP
Launch Cloudbreak from an Cloud Deployment Manager template by using the following steps. This is the quickstart deployment option.
- Log in to your GitHub account.
- Run the following command to download the following Hortonworks repo onto your computer
and check out the release
git clone https://github.com/hortonworks/cbd-quickstart cd cbd-quickstart git checkout 2.8.0
- On your computer, browse to the
- Open the vm_template_config.yaml file in a text editor.
- Edit the file by updating the property values:Note
Do not edit any other parameters in the vm_template_config.yaml file.
Parameter Description Default region The GCP region in which you would like to launch Cloudbreak. You can launch Cloudbreak and provision your clusters in all regions supported by GCP. us-central-1 zone The GCP region’s zone in which you would like to launch Cloudbreak. You can launch Cloudbreak and provision your clusters in all regions supported by GCP. us-central1-a instance_type Select the VM instance type. n1-standard-4 ssh_pub_key Paste your SSH public key. … os_user Enter the name of the user that you would like to use to SSH to the VM. cloudbreak user_email Enter the email address that you would like to use to log in to Cloudbreak. email@example.com user_password Enter the password that you would like to use to log in to Cloudbreak. cloudbreak service_account_email The email for the service account created in prerequisites. …
- Save the changes on your local machine.
- Run the following command to create a new
gcloud deployment-manager deployments create cbd-deployment --config=/path/to/file/cbd-quickstart/gcp/vm_template_config.yaml
gcloud deployment-manager deployments create cbd-deployment --config=/Users/youruser/Documents/cbd-quickstart/gcp/vm_template_config.yaml
- Once your deployment has finished, you will see the
gcloud deployment-manager deployments create cbd-deployment --config=/Users/youruser/Documents/cbd-quickstart/gcp/vm_template_config.yaml Waiting for create operation-1527749967574-56d7b021f73f1-773609ee-060d4332...done. Create operation operation-1527749967574-56d7b021f73f1-773609ee-060d4332 completed successfully. NAME TYPE STATE ERRORS INTENT cbd-deployment-default-route-1 compute.v1.route COMPLETED  cbd-deployment-network compute.v1.network COMPLETED  cbd-deployment-startup-config runtimeconfig.v1beta1.config COMPLETED  cbd-deployment-startup-waiter runtimeconfig.v1beta1.waiter COMPLETED  cbd-deployment-subnet compute.v1.subnetwork COMPLETED  cbd-deployment-vm compute.v1.instance COMPLETED  firewall-cbd-deployment compute.v1.firewall COMPLETED  OUTPUTS VALUE deploymentIp 220.127.116.11
- The last output should be the the deploymentIp. Copy the IP address and paste it in the browser so that you can log in to the Cloudbreak web UI.
- Paste the link in your browser’s address bar.
- Confirm the security exception to proceed to the Cloudbreak web UI.The first time you access Cloudbreak UI, Cloudbreak will automatically generate a self-signed certificate, due to which your browser will warn you about an untrusted connection and will ask you to confirm a security exception.
Browser Steps Firefox Click Advanced > Click Add Exception… > Click Confirm Security Exception Safari Click Continue Chrome Click Advanced > Click Proceed…
- The login page is displayed:
- Log in to the Cloudbreak web UI using the credential that you configured in the CloudFormation template.
- Upon a successful login, you are redirected to the dashboard:
- Confirm the security exception to proceed to the Cloudbreak web UI.