Service account creation
We recommend creating a service account to handle the interaction between LucidLink and the Google Cloud Platform.
1. Login to your GCP Console.
2. Within the navigation menu at the top left, select IAM & Admin, then Service accounts. Then select Create Service Account.
3. Choose a Service account name, click Create and Continue.
4. Do not grant a project-wide role here. Press Done to continue. You will give the service account access to your Filespace bucket only, after the bucket is created (see Bucket access below). We do not recommend the Storage Admin role, because it gives these keys access to every bucket in your project.
Access Key generation
Google Cloud provides S3 Compatible Storage access-key and secret-keys via their XML APIs and Interoperability mode. To generation authentication keys for your service account, navigate to Cloud Storage, select Settings and Interoperability tab.
At the section Service Account HMAC, click on Create a key for a service account.
Select a service account and choose Create key.
The access key and secret are now generated. Please note that the dialog window is the only time you can access the secret.
Once the keys are generated, you can create your LucidLink Filespace (see section Filespace creation).
Create the bucket for your Filespace in the correct region within Google Cloud Platform by selecting Cloud Storage, then Buckets. LucidLink can create the bucket for you during Filespace creation, but that requires a project-wide role such as Storage Admin, so we recommend creating it yourself.
Click Create bucket, and specify a unique Name (please only use lowercase letters, digits, and hyphens). Choose Region and Location along with Create to submit.
Bucket access
Once the bucket is created, open it, select the Permissions tab and choose Grant access. Add your service account as a principal and assign one of the following roles. The role then applies to this bucket only.
- For the least access, create a custom role (IAM & Admin, Roles, Create role) with the permissions
storage.objects.create,storage.objects.get,storage.objects.deleteandstorage.multipartUploads.create, and assign it here. LucidLink does not need permission to list objects. - Alternatively, the predefined Storage Object User role also works, but it includes permission to list objects.
We recommend a dedicated bucket and a separate service account for each Filespace, with no other data stored in that bucket.
Filespace creation
Please login to our Web App or through the desktop application. Click on "Create Filespace":
Enter the name of your Filespace:
Select "Your own storage" and choose GCP:
Select the cloud storage region and enter the name of the bucket you created in the "Bucket name" field.
Enter the Access key and Secret key previously generated (see the Access key generation section)
Finally, once you have confirmed all the settings are correct, you can create your Filespace.
Please contact LucidLink Support if you encounter any challenges.