Skip to content

How to store backups in Google Cloud Storage

Cloudpepper uses Service Account credentials to connect to Google Cloud services. Setting up backups with Cloudpepper will require you to specify Service Account credentials by providing the JSON keyfile content.

Provide a name and ID for your service account. Those are unique to your Google Cloud account.

You can then assign the “Storage Admin” role account-wide to the service account, or you can grant it only for the single bucket.
In that case, copy the unique “Email” of the service account after it has been created.

For detailed instructions on how to create a service account, see the Authentication guide.

Step 2: Create access keys for your service account
Section titled “Step 2: Create access keys for your service account”

Click the dropdown menu on the right of the service account you just created, and click “Manage keys”. Click the “ADD KEY” dropdown, then “Add new key”. Choose the JSON format and confirm. Keep the JSON file for later.

|| Storage classes other than “Standard” are cheaper per month, but only when you commit to keep your backups for a longer time.

||| Make sure to enable the “Enforce public access prevention on this bucket” option.

||| Select the Fine-grained Access control. Cloudpepper is not compatible with Uniform Access control at the moment.

If you haven’t assigned the “Cloud Storage Admin” role to the service account, open the Permissions tab, and click “GRANT ACCESS”. Paste the full email of the service account and select it from the dropdown. Select the “Storage Admin” role.

Go to the Settings page and click Add next to Backup Providers.

Paste the contents of the JSON file in the text box. In the next input, type the name of the bucket. Submit the form.

You can now enable Google Cloud as your active backup storage.