Monday, June 19, 2023

data transfer numbers

One of our moodle websites wanted their data transfer numbers for the last two years. I tried analog, but that gave only 14 days of data, since probably the old logs were being deleted by logrotate. Then, got 30 days of data from cloudflare, which they show for free plans, for all their sites put together - 


This shows 60 GB per month across all their websites. Analog's data of the uncached calls to one of their servers showed "Average data transferred per day: 1.98 gigabytes, over the last 14 days." Which again works out to around 60 GB per month. 

Another interesting data point is that (another of our sites) currently pays around $35 a month for their approx 1 TB data stored on AWS S3, so their data transfer is only that much. Via calculator.aws, that means that their usage is probably around 100 GB per month from S3. Or less, since they are likely to have more than the 1M GET requests in the estimate below.

Tiered price for: 1000 GB
1000 GB x 0.0250000000 USD = 25.00 USD
Total tier cost = 25.0000 USD (S3 Standard storage cost)
3,000 PUT requests for S3 Standard Storage x 0.000005 USD per request = 0.015 USD (S3 Standard PUT requests cost)
1,000,000 GET requests in a month x 0.0000004 USD per request = 0.40 USD (S3 Standard GET requests cost)
25 USD + 0.40 USD + 0.015 USD = 25.41 USD (Total S3 Standard Storage, data requests, S3 select cost)
S3 Standard cost (monthly): 25.41 USD
Inbound:
Internet: 10 GB x 0 USD per GB = 0.00 USD
Outbound:
Internet: 100 GB x 0.1093 USD per GB = 10.93 USD
Data Transfer cost (monthly): 10.93 USD
Total Monthly cost: 36.34 USD




No comments:

Post a Comment