Configuring your GCP cloud account

Configure cloudkit with your Google Cloud Platform (GCP) credentials to perform cloud provisioning operations.

Prerequisites

The following prerequisites must be met before you run the cloudkit configure command:
  • A service account with sufficient privileges and quota to provision all required resources along with the credentials to access the GCP API. To create a service account from the GCP console, refer to GCP documentation, Create a service account.
  • Service account credentials JSON file. To generate and download the JSON file, refer to GCP documentation, Create credentials for a service account.

Configuration of cloudkit

To configure cloudkit, issue the following command:
./cloudkit configure
GCP example:
./cloudkit configure
I: Logging at /root/scale-cloudkit/logs/cloudkit-10-9-2023_8-24-23.log
? Cloud platform name:  GCP
? GCP Project ID:  projectname-xxxxxx
? GCP Service user credential json path:  /home/metadata/projectname-xxxxxx-xxxxxxxxxxxx.json
I: Local machine has been configured to use your 'GCP' account.