Add Backup Storage in Google Cloud via Service Account

Google Cloud Storage allows you to use service accounts to authenticate your application. Service account credentials include an unique email address, a client ID, and at least one public-private key pair.

This chapter covers the following topics:

Create Service Account

To create a service account, proceed as follows:

  1. Log onto the Google Cloud Platform Console.
  2. In the navigation drawer, select API & Services.

  1. Select Credentials.
  2. Click Create credentials, then select Service account.
  3. Follow the service account wizard steps, fill all required data, assign roles, grant access to required users. Click Done.

  1. The service account information appears in the Service Accounts group of the Credentials section.
  2. Select the required service account to download a key, then click Edit.
  3. Switch to the Keys tab.
  4. Click Add Keys, then select Create new key.

  1. In the Create private key for account dialog box, select the P12 option.
  2. Download the private key and write down the displayed password to a safe place.

Add Google Cloud as Backup Storage

To add a Google Cloud storage in the Management Console, proceed as follows:

  1. Open the Management Console.
  2. In the Storage menu, select Storage Accounts.
  3. Click Add Account.
  4. Select Google Cloud and fill the required fields.

  • Display name. The name of the storage is displayed on the Storage Accounts tab. Users will not see the display name
  • Service Account Email. The service account email appears on the Details tab of the service account menu
  • Binary key. The P12 key that was downloaded on the step 10 of the Create Service Account paragraph
  • Project ID. To find it, select the required project in the upper horizontal bar, then copy it from the ID column
  1. Click Next.
  2. Create backup destination: select the required region, storage class, and location.
  3. By default, a new bucket is created. To select an existing bucket, click Show advanced settings, then select the existing bucket.

  1. Click Next.
  2. Assign the destination to required companies. Click Next.

  1. Review the storage account settings, then click Save.

https://git.cloudberrylab.com/egor.m/doc-help-mbs.git