Created on 07-06-2018 10:34 PM
Before launching Cloudbreak on GCP, you must meet the following prerequisites.
Before launching Cloudbreak on GCP, you must meet the following prerequisites.
In order to launch Cloudbreak on GCP, you must log in to your GCP account. If you don't have an account, you can create one at https://console.cloud.google.com. Once you log in to your GCP account, you must either create a project or use an existing project.
To create a new project, provide name, choose organization or leave it as No Organization.
Now Select this newly created Project.
On the main dashboard page, you will find the Project ID. You will need this to define your credential in Cloudbbreak in a later step
Go to the Service Accounts screen by (1) clicking the menu in the top left, (2) hovering over APIs and Services, and (3) Clicking on Dashboard.
Verify that the Google Compute Engine API is listed and enabled. If it is not click on the Enable APIs button to search for and enable it.
Go to the Service Accounts screen by (1) clicking the menu in the top left, (2) hovering over IAM & Admin, and (3) Clicking on Service Accounts.
Click "Create Service Account"
Give the service account a name Check the "Furnish a new key" box. This will download a key to your computer when you finish creating the account.
If you are using Cloudbreak 2.7 or later, select JSON format key.
Click the "Select a Role" dropdown Select the required Compute Engine roles (Compute Image User, Compute Instance Admin(v1) Compute Network Admin, Compute Security Admin, Compute Storage Admin).
Select the Storage Admin role under Storage.
Click outside of the roles selection dropdown to reveal the "create" button.
All six of the roles shown are required for the service account
Access to Google Storage
If you also want to be able to use the GCP storage you need to add one more ROLE associated with the service account. The role is "Service account User" and you can find it under Service Accounts.
You should now have the following Roles.
Generate a new SSH key pair or use an existing SSH key pair. You will be required to provide it when launching the VM. On Linux or macOS workstations, you can generate a key with the ssh-keygen tool.
Open a terminal on your workstation and use the ssh-keygen command to generate a new key. This command generates a private SSH key file and a matching public SSH key with the following structure: where:
[KEY_VALUE] is the key value that you generated. [USERNAME] is the user that this key applies to.
ssh-rsa [KEY_VALUE] [USERNAME]
Add or remove project-wide public SSH keys from the GCP Console:
In the Google Cloud Platform Console, go to the metadata page for your project. GO TO THE METADATA PAGE - Click on 1. Burger Menu 2. Compute Engine 3. Metadata 4. SSH Keys tab
click Edit, Add Item and then Save.
Modify the project-wide public SSH keys:
To add a public SSH key, click Add item at the bottom of the page. This will produce a text box. Copy the contents of your public SSH key file and paste them in to the text box. Repeat this process for each public SSH key that you want to add. To remove a public SSH key, click the removal button next to it:
Decide in which region and zone you would like to launch Cloudbreak. You can launch Cloudbreak and provision your clusters in all regions supported by GCP. Clusters created via Cloudbreak can be in the same or different region as Cloudbreak; when you launch a cluster, you select the region in which to launch it.
Created on 08-13-2018 04:58 PM
This is a very tutorial post about Cloudbreak. It helps in data management for business. I have learned new thing SSH key pair which is helpful for icloud customer service