ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Server
    • ScyllaDB Open Source
    • ScyllaDB Enterprise
    • ScyllaDB Alternator
  • Cloud
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
Download
Menu

Caution

You're viewing documentation for a previous version of Scylla Manager. Switch to the latest stable version.

ScyllaDB Docs Scylla Manager Backup Setup Google Cloud Storage

Setup Google Cloud Storage¶

  • Create a bucket

  • Grant access

    • Automatic service account authorization

    • Config file

  • Troubleshoot connectivity

Create a bucket¶

Go to Google Cloud Storage and create a new bucket in a region where Scylla nodes are. If your cluster is deployed in multiple regions create a bucket per region. You may decide to backup only a single datacenter to save on costs, in that case create only one bucket in a region you want to backup.

Grant access¶

This procedure is required so that Scylla Manager can access your bucket.

Choose how you want to configure access to the bucket. If your application runs inside a Google Cloud environment we recommend using automatic Service account authentication. Otherwise you can add your credentials to the agent configuration file. The later method is less secure as you will be propagating each node with this security information and in cases where you need to change the key, you will have to replace it on each node.

Automatic service account authorization¶

Procedure

  1. Collect list of service accounts used by each of the Scylla nodes.

  2. Make sure that each of service account has read/write access scope to Cloud Storage.

  3. For each service account from the list, add Storage Object Admin role in bucket permissions settings.

Config file¶

Use this instruction to get the service account file.

Note that this procedure needs to be repeated for each Scylla node.

Procedure

Edit the /etc/scylla-manager-agent/scylla-manager-agent.yaml

  1. Uncomment the gcs: line, for parameters note the two spaces in front, it’s a yaml file.

  2. Uncomment and set service_account_file with the path to the service account credentials file.

  3. For each service account used by the nodes, add Storage Object Admin role in the bucket permissions settings.

  4. Validate that the manager has access to the backup location. If there is no response, the bucket is accessible. If not, you will see an error.

    scylla-manager-agent check-location --location gcs:<your GCS bucket name>
    

Troubleshoot connectivity¶

To troubleshoot Node to bucket connectivity issues you can run:

scylla-manager-agent check-location --debug --location gcs:<your GCS bucket name>

Was this page helpful?

PREVIOUS
Setup S3 compatible storage
NEXT
Examples
Scylla Manager
  • 2.3
    • master
    • 3.2
    • 3.1
    • 3.0
    • 2.6
    • 2.5
    • 2.4
    • 2.3
    • 2.2
  • Install Scylla Manager
  • Install Scylla Manager Agent
  • Add a Cluster
  • Backup
    • Setup AWS S3
    • Setup S3 compatible storage
    • Setup Google Cloud Storage
    • Examples
  • Restore
    • Extract schema from metadata
    • Extract schema from system_schema keyspace
  • Repair
    • Repair faster
    • Repair slower
    • Examples
  • Health Check
  • CLI sctool
    • Global flags and variables
    • Cluster
    • Backup
    • Repair
    • Status
    • Suspend & Resume
    • Task
    • Version
  • Configuration Files
    • Scylla Manager Config
    • Scylla Manager Agent Config
  • Scylla Monitoring
  • Troubleshooting
  • Older Versions
  • Slack
  • Create an issue
  • Edit this page

On this page

  • Setup Google Cloud Storage
    • Create a bucket
    • Grant access
      • Automatic service account authorization
      • Config file
    • Troubleshoot connectivity
Logo
Docs University Contact Us About Us
Mail List Icon Slack Icon Forum Icon
© 2023, ScyllaDB. All rights reserved.
Last updated on 26 September 2023.
Powered by Sphinx 4.3.2 & ScyllaDB Theme 1.5.1