How to set up Cloudimage using Amazon S3 as a storage?

You can configure Storage alias for your Amazon S3 storage in the Cloudimage Admin panel.

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

Screenshot_2021-10-15_at_14.41.57.png

Then choose Amazon S3:

Screenshot_2021-10-15_at_14.43.29.png

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

Example:

If your Amazon S3 bucket is located on address //s3.eu-central-1.amazonaws.com/mysamplebucket then:

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

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

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

Screenshot_2021-10-15_at_15.04.17.png

After completion of this step, press Save. The configuration takes 1-2 minutes to be deployed to our servers.


Now, if the original image is located on
https://s3.eu-central-1.amazonaws.com/mysamplebucket/my_image.jpg,
you can use the following Cloudimage URL:

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

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.39.59.png

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 Amazon S3 Storage 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.