Was this page helpful?
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.
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.
Procedure
Collect list of service accounts used by each of the Scylla nodes.
Make sure that each of service account has read/write access scope to Cloud Storage.
For each service account from the list, add Storage Object Admin role in bucket permissions settings.
Note that this procedure needs to be repeated for each Scylla node.
Prerequisites
Use this instruction to get the service account file.
Procedure
Upload service account file to /etc/scylla-manager-agent/gcs-service-account.json
.
If you want to use different path change service_account_file parameter in gcs
section in Scylla Manager Agent Config file.
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>
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?