outline-server icon indicating copy to clipboard operation
outline-server copied to clipboard

500GB or 1TB of transfer?

Open psaw opened this issue 8 years ago • 9 comments

DO pricing statement is clear about 1GB of transfer for "$5/mo droplets" where

Only public outgoing transfers are considered for bandwidth billing.

In Outline Manager you've explain DO deployment as "500 GB Transfer , $5 US/Mo".

https://github.com/Jigsaw-Code/outline-server/blob/cd86d505c12669e675f48772e7fa3c1163a1f673/src/server_manager/electron_app/digital_ocean_modifications.ts#L274

I'm not really good in digging down a code, so sorry for my questions if it's a bit lame:

  1. Is 500GB a mistake or am I getting it wrong?
  2. Do you actually enforce 500GB limit? Or is it just info?

Thank you for your hard work!

psaw avatar May 04 '18 20:05 psaw

1TB refers to download + upload on the server side.

In order to work as a proxy, the Outline Server needs to fetch the data from the destination, and send it to the client. Effectively moving two times the amount of data (once in, once out). From the point of view of the client, you are really seeing half of the total transfers. That's why we show 1TB / 2 = 500GB.

fortuna avatar May 04 '18 20:05 fortuna

Only public outgoing transfers are considered for bandwidth billing.

Doesn't that mean fetching data from the destination up to the Server is free? And that seems OK, because usually cloud providers don't charge for ingress traffic.

psaw avatar May 04 '18 20:05 psaw

Effectively moving two times the amount of data (once in, once out) @fortuna

https://www.digitalocean.com/community/tutorials/digitalocean-bandwidth-billing-faq

manizand avatar May 16 '18 07:05 manizand

It seems DO's policy has changed since we wrote the code:

Only public outgoing transfers are considered for bandwidth billing. Transfer limits are calculated by pooling the transfer from all droplets on the account. Overages above pooled transfer will be charged at a rate of $0.01/GB.

Thanks all for letting us know!

If they are only charging the outgoing transfers, then we shouldn't double-count anymore. @sandrigo could you confirm? In that case, we have a bug and need to update the code to say 1TB.

fortuna avatar May 16 '18 17:05 fortuna

Correct. This needs to be updated on:

  • Outline Server Manager application startup screen
  • Total bandwidth number in the Outline Manager user management screen
  • The "How much does Outline cost?" question on the Outline Help Center

ghost avatar May 16 '18 17:05 ghost

Website is now fixed and live. The manager is fixed, and the change will go live in the next release.

fortuna avatar May 17 '18 21:05 fortuna

Assuming an average usage of 5 GB of data transfer per user, a plan of $5 USD per month would allow for 200 concurrent users, making the cost per user just 5 cents per month

2.5 cents is correct 😄

manizand avatar May 18 '18 07:05 manizand

Aargh! This is fixed now. Thanks for pointing that out.

fortuna avatar May 18 '18 20:05 fortuna

This has been released a while ago.

fortuna avatar Jul 10 '18 15:07 fortuna