views:

350

answers:

1

This may be a silly question, but seeing as transfers between EC2 and S3 are free as long as within the same region, why isn't it possible to stream all transfers to and from S3 through EC2 and make the transfers completely free?

Specifically, I'm looking at Heroku, which is a Ruby on Rails hosting service run on EC2, where bandwidth is free. They already address uploads, and specifically note these are free to S3 if streamed through Heroku. However, I was wondering why the same trick wouldn't work in reverse, such that any files requested are streamed through the EC2?

If it is possible, would it be difficult to setup? I can't seem to find any discussion of this concept on Google.

+3  A: 

The transfer is free, but it still costs money to store data on S3... Or am I missing something?

Bear
You're right, I missed the fact that storage costs money. I've updated my original question. So is this a way to get the transfers completely free?
WIlliam Jones
Yes, transfers are always free as long as the transfer is between amazon instances in the same region.
Bear
You will also need to pay to get the data from EC2 to clients on the internet, if that is your goal. See the 'Data Transfer' section of pricing: http://aws.amazon.com/ec2/#pricing
dar