Google Cloud Platform (GCP)

  • Updated

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.

1 - service accounts .png

3. Choose a Service account name, click Create and Continue.

2 - create service account 1.png

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.

3 - grant rights - storage admin.png

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.

1 - cloud storage gcp.png

Select a service account and choose Create key.

5 - select service acct.png

The access key and secret are now generated. Please note that the dialog window is the only time you can access the secret.

6 - copy keys.png

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.

3 - bucket page.png

 

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.

4 - create bucket wizard.png

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.delete and storage.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":

1 - Create Filespace.png

Enter the name of your Filespace:

2 - Select your FS name.png

Select "Your own storage" and choose GCP:

3 - select storage type.png

Select the cloud storage region and enter the name of the bucket you created in the "Bucket name" field.

4 - region and bucket.png

Enter the Access key and Secret key previously generated (see the Access key generation section)

5 -access keys.png

Finally, once you have confirmed all the settings are correct, you can create your Filespace.

6 - confirmation.png

Please contact LucidLink Support if you encounter any challenges.

Was this article helpful?

0 out of 0 found this helpful