Creating a Service Account Key in the Google Cloud Platform project

This topic provides information about how to create a service account key in the Google Cloud Platform project. 

  1. Log on to the Google Cloud Platform console https://console.cloud.google.com.
  2. Select the project that you want to monitor. Note down the project ID. 
    For example, the project ID is gcp-mon-dev.
  3. From the left navigation pane, select IAM  and  admin > Service Accounts.
  4. On the Service Accounts page, select CREATE SERVICE ACCOUNT.
    The Create service account dialog box is displayed.
  5. Enter the account name.
  6. In Role, select the Project >Viewer role.
  7. Select the Furnish a new private key check box.
  8. Select the JSON Key type. Click CREATE.
    The Service account file is created and downloaded on the computer.
  9. Copy this JSON file and place it in the <PATROL_HOME>/gcp/key directory on the PATROL Agent server.
  10. After the JSON is downloaded on the computer, ensure that the following APIs are be enabled on the Google Cloud Platform.

    APIRequired for
    Stackdriver monitoring APIPerformance metrics collection
    Google Compute Engine APICompute engine instances discovery
    Google Cloud Functions APICloud functions discovery
    Google App Engine Admin APIApp engine discovery
    Cloud Resource Manager APIDisplaying project name along with project ID


Was this page helpful? Yes No Submitting... Thank you

Comments