Your CNDI project should be created in a Google Cloud Platform (GCP) project. We recommend that you creating a new Create a new Google Cloud Platform Project to keep things organized.
CNDI will use a service account to interact with GCP and create cloud resources
on your behalf. You are always free to call cndi destroy
to clean up any
resources you no longer want.
-
Go to Navigation menu >
IAM & Admin
, selectService accounts
and click on+ Create Service Account
. -
Fill necessary details
- Now click
Create and Continue
and then add the following roles: Role:Compute Admin
,Compute Network Admin
,Compute Load Balancer Admin
,Service Management Administrator
,Quota Admin
, and if your using an GKE cluster add theKubernetes Engine Service Agent
role as well
- Click Continue and then click Done.
- At the top, click
Key
>Add Key
>Create new key
.
-
Make sure the key type is set to
JSON
and clickCreate
. -
You'll get a message that the service account's private key JSON file was downloaded to your computer. Make a note of the file name and where your browser saves it. You'll need it later.
-
Click Close.