Sections in this category

Creating a Google Service Account

In order to create a Google service account for use with Thanos, navigate to the Google Cloud Platform home page and select IAM & Admin -> Service Accounts.

image

From here, select the option Create Service Account.

image

Provide a service account name and description, then select Create.

image

You should now be at the Service account permissions (optional) page. Select the first Role dropdown and select Storage Object Creator. Select Add Another Role, then select Storage Object Viewer from the second dropdown. Select Continue.

image

You should now be prompted to allow specific accounts access to this service account. This should be based on specific internal needs and is not a requirement. You can leave empty and select Done.__

Create a key

Once back to the Service accounts page, select the Actions icon > Manage keys. Then, select the Add Key dropdown and select Create new key. A Create private key window opens.

Select JSON as the Key type and select Create. This will download a JSON service account key entry for use with the Thanos object-store.yaml mentioned in the initial setup step.

Edit this doc on GitHub