How to set up Cloudimage using Google Cloud as a storage?

You can configure Storage alias for your Google Cloud storage in the Cloudimage Admin panel.

In the menu Settings -> Storage, you need to click on Connect External Storage:

mceclip0.png

Then choose Google Cloud:

Screenshot_2021-10-15_at_14.43.29.png

In the Pop up screen you need to fill in the corresponding values - bucket name and Cloudimage Alias.

Example:

If your Google Cloud bucket is located on address //www.googleapis.com/upload/storage/v1/b/mysamplebucket then:

      • bucket name = mysamplebucket
      • Cloudimage alias - you may choose whatever name you want, but do not forget to prefix and suffix it with double underscores = __somealias__

mceclip1.png

In case that your Google Cloud bucket requires authentication, you can add it too.

  • You will be provided with JSON file to be saved on your computer
  • Copy the contents of this file and paste it in the field that appears after pressing "AUTH KEY" in the storage settings

Screenshot_2021-10-15_at_17.36.07.png

The container path can contain a sub-folder chain. That can make the URL even shorter when you would like to share only files within a specific folder in your container. 
For example - you can create dedicated storage aliases for different environments:
- production
- staging
- testing

Screenshot_2022-04-27_at_12.36.00.png

You may create additional Storage aliases using the "+" button.

After completion of all required steps, press Save. The configuration takes 1-2 minutes to be deployed to our servers.


Now, if the original image is located on
gs://mysamplebucket/file.jpg ,
you can use the following Cloudimage URL:

https://token.cloudimg.io/v7/__somealias__/file.jpg 

 

In case that the Cloudimage Domain Whitelisting is enabled, please do not forget that the new Storage alias needs to be whitelisted too:

Screenshot_2021-10-15_at_14.59.09.png

Please note that all aliases have to be unique for your account - aliases set in the Storage sections cannot be used in the alias section.

If you have any questions or issues with the Google Cloud alias, please contact us via the Cloudimage admin or, if you still don’t have an account with us, please use this contact form.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.