Google Cloud Storage
IAM roles and permission
To use Google Cloud Storage as backup storage in the Xopero ONE service, it is recommended to assign the Storage Admin IAM role (roles/storage.admin
– full control of buckets and objects) to the GCS user, or create a service account with the minimal permission set:
storage.objects.list
storage.objects.get
storage.objects.create
storage.objects.delete
Support for immutable storage
Remember that immutable storage configuration is available only when creating a new bucket— there is no option to enable it for an existing bucket.
Enabling retention and/or versioning for the bucket may result in additional data being stored. It is recommended that the retention period in Xopero ONE be longer than the one set for the storage. Otherwise, this may lead to storage overload.
If you want to use immutable storage, the following permissions are required:
s3:GetBucketObjectLockConfiguration
configuration.s3:GetBucketVersioning
Buckets with retention enabled cannot be used as storage for Xopero ONE.
It must be added to the Action section, and after the changes, the section should look as shown below:
"Action": [
"s3:ListBucket",
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject",
"s3:GetBucketVersioning",
"s3:GetBucketObjectLockConfiguration"
],
Useful links and items
Last updated