This article explains how to set up a service account in Google Cloud Platform. Ensure you have the necessary permissions in Google Cloud.
Create Service Account
1. In the Google console, select the Google project. Go to IAM & admin → Service accounts.
2. Click +CREATE SERVICE ACCOUNT*.
*If you already have a service account dedicated to Cloudaware, proceed to step 4.
3. Provide a meaningful name for the service account, in this guide cloudaware-service-account. Click CREATE AND CONTINUE.
4. Assign the role Project Viewer to the service account.
Click DONE.
Create Service Account Key
The service account key is required for setup in Cloudaware.
1. Select the service account that will be added to Cloudaware. Go to the tab 'Keys'. Click +Create key.
2. Select 'JSON' → Create.
A .json file will be automatically downloaded and saved.
Enable Google APIs for Google Project
1. Go back to the Organization → APIs & Services.
2. Select the Google Project where the service account for Cloudaware was created and assigned the Project Viewer role.
3. Click +ENABLE APIS AND SERVICES.
4. Using the search bar, locate and enable:
Compute Engine API (see the example below)
Identity and Access Management (IAM) API
Cloud Resource Manager API
Kubernetes Engine API (learn more)
Cloud Billing API (learn more)
! Next step - setup in Cloudaware