GCP

  1. Log on to GCP console (https://console.cloud.google.com).

  2. Create a service account under a GCP project.

  3. Make sure it is having Compute Engine Viewer role.

  4. Create a new key under Keys tab and make sure key type is JSON.

  5. Save the json file created in previous step to a location of your choice.

  6. Log on to MechCloud and navigate to Infrastructure -> Cloud Account.

  7. Select a team.

  8. Select AWS under Select a cloud provider dropdown. This will display all the cloud accounts added for the AWS cloud provider.

  9. Click on New Cloud Account button.

  10. Enter a name for your account.

  11. Vpc API Credentials

    • Project Id - Enter the value of project_id attribute from the json file downloaded in step # 5 above.

    • Client Email - Enter the value of client_email attribute from the json file downloaded in step # 5 above.

    • Private Key Id - Enter the value of private_key_id attribute from the json file downloaded in step # 5 above.

    • Private Key - Enter the value of private_key attribute from the json file downloaded in step # 5 above.

  12. Click on Save button to add the cloud account.

Last updated