Imagine I have two EC2 instances A and B, in the same region/vpc, but in different AZs.
I want to transfer 1TB from A to B.
Now let's imagine two scenarios:
- I send the data from A to B directly.
- I upload the data from A to S3, then download the data from S3 to B, and finally delete the data from S3.
Pricing-wise:
- I get charged at $.01/GB twice (once when data gets out of A, once getting into B), so 1TB * $.01/GB * 2 = $20
- Traffic between EC2 and S3 within a region is free, so I get charged, say for storing 1TB for a day. 1TB/day = 33GB/Month. Taking $0.023 as our per-GB-Mo price, that gives us, 33 * $0.023 = $.759.
Is it actually the case that going through S3 is (much, much) cheaper than going direct (even when storing the data for a whole day rather than an hour) or is my analysis flawed?