DEV Community

How to create your own image CDN with Thumbor and AWS

Junior Garcia on December 06, 2020

Image CDNs like Cloudinary or Imgix make it easy to dynamically optimize the aesthetics and performance of your images. Thumbor can help us to d...
Collapse
 
enthusistic42 profile image
enthusistic42 • Edited

Is thumbor installed here restricted only to files on aws s3 or will it accept any url over the internet? If yes then wont it be vulnerable to mindless or foreign requests?

Collapse
 
jrgarciadev profile image
Junior Garcia • Edited

The final result just work with AWS s3, it won’t work with another internet url, to avoid foreign request users must disable β€œUNSAFE” mode in the thumbor configuration file, hope it helps you πŸ™‹πŸ»β€β™‚οΈ

Collapse
 
briancollins082 profile image
brian

Thanks I was looking for the service creation part in linux

Collapse
 
ashishkpal profile image
ashishkpal

can you please update on the part 2 which is integrating the Thumbor with the nginx and cloudfront

Collapse
 
stoneisland profile image
StoneIsland

Here is a ready to use Thumbor S3 Docker Image which allows you to do everything what is mentioned in this article
github.com/beeyev/thumbor-s3-docker/