Connect S3 storage to CDN. Create a CDN resource and request content from CDN

Create CDN resource
Request content from CDN

CDN Resource settings

Go to the CDN tab and press Create CDN resource.


Specify values in the fields:


Request content from CDN

An addressing scheme where you specify the bucket at the beginning (<bucket-name>.<location> allows you to increase the security of your CDN usage because you hide the Hostname of your repository.

Use the following schema to request uploaded files:

http(s)://<Custom domain>/<folder*>/<file>

*If the folder was created in the bucket. If files were added to the root of the bucket - specify file names.  

For example, you've: 

  • used a bucket mybucket, S3 storage in the Luxembourg location
  • created a CDN resource for the storage with the Custom domain with

To request file picture.png, which was uploaded into the bucket, from CDN use the following URL:

Note! By default, created buckets and all the stored files in buckets are private. To make a file public, read an article on ACL and policy or official documentation.


Was this article helpful?
Recently viewed articles