Using cloudfront

Archived from the Transloadit support forum. Originally posted on March 7, 2011; details may be outdated, see our docs for current behavior. Original thread

Can we specify a cloudfront URL in the s3/store robot?
For the moment I am getting the path to my pictures which start with <bucket-name>.s3.amazonaws.com and I would like them to start with <cloudfront-id>.couldfront.net
My temporary solution is a string replacement, but is there anyway the assembly can return the correct URL?

How would you expect this feature to work? Would passing a custom “domain name” to our s3 robot work well for you?

exactly

Ok, I think I’ll implement it as ‘url_prefix’ instead. This will also allow you to include the http:// part to specify different protocols (like https, rtmp).

Sounds great, would you notify me when this is ready, so I can wipe out my temp solution?

Hey,

Felix is on vacation right now, but yes, we’ll definitely give you the headsup when this is done. I’ll leave this ticket open for now so we cannot forget you : )

Have a nice weekend!

any news on this?

Hey,

unfortunately not yet. I will most likely work on this on the weekend though.
I will let you know how it goes.

Kind regards,
Tim

We have implemented this feature:

http://transloadit.com/blog/2011/05/new-s3-store-parameter-url-prefix

Hope it works for you!
--fg