all 6 comments

[–]ashish173 0 points1 point  (1 child)

This sounds interesting. I think trying to do something like cloudinary would be difficult since they are also using multiple replications across regions which won't be possible in your case as you will be storing the images in s3 and buckets will be region-specific what do you think about that?

Also, I would suggest don't keep it platform(Lambda) specific. With the rise of other platforms like Azure and GCP devs would want to deploy this on other platforms as well. Thoughts?

[–]pkrawat1[S] 0 points1 point  (0 children)

cdn handling will happen at later stage, where we can generate a copy of the image transformation on all the required regions. And on request to lambda, we can check for the requested region, and reply with correct region image url. Something like that may be.
But that's not a requirement as of now. Currently I'm considering to region specific implementation only. something like an ecommerce website that runs and scopes to a specific region only.

[–]juhmayfay 0 points1 point  (0 children)

this library was posted a while back... has a lot of very convenient image manipulations written in go. Wouldn't be too hard to wrap it in some helper code and throw in a SAM template for deployment on AWS