My application uses all 3 service layers. Recent feature request to lower the outgoing traffic gives us some uncertainties.
Say, we have a requirement to distribute the
image.jpg file with CloudFront. It's all good while there's no dynamic image resizing. Now that we don't need the original size of the image all the time we pass desired variable dimension along with the query string (
If we would have routed CF to EC2 directly, then there would not be any problems at all. But, we should have the S3 in between, since EC2 is too small to store media materials.
So the question is - how do you push inexistent file to S3 during the request?