GCP
Log on to GCP console (https://console.cloud.google.com).
Create a service account under a GCP project.
Make sure it is having Compute Engine Viewer role.
Create a new key under Keys tab and make sure key type is JSON.
Save the json file created in previous step to a location of your choice.
Log on to MechCloud and navigate to Infrastructure -> Cloud Account.
Select a team.
Select AWS under Select a cloud provider dropdown. This will display all the cloud accounts added for the AWS cloud provider.
Click on New Cloud Account button.
Enter a name for your account.
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.
Click on Save button to add the cloud account.
Last updated