Bandwidth transfer

January 25, 2013 21.7k views
Hi there! I saw that you have limited the bandwidth transfer.I was thinking buy a vps but now..when I saw that...i don`t now. For example,if a vps can produce 1,2 TB,why did you limit to 1 TB? Is like..i have a car and he can run whit 100 km/h and is limited to 90 km/h.
26 Answers
Yes, install vnstat. I've wrote a script to shut a droplet automatically down once it hits 999 GiB

Here in Europe it's actually unlawful to charge overages for a service which doesn't provide native metering. DO can't ask us to install something to guesstimate their definition of transfer, the burden is on them.

That is to say, the DigitalOcean control panel needs to provide transfer statistics outside of the droplet, to give us their measure of transfer. They can't rely on us installing tools which could provide a different measurement.

I understood it so that some of the plan include 1tb transfer and the GBs goin over it are 2 cents per gig... But let's wait for the official reply...
That is correct, marko.korhonen! Depending on the plan, a certain number of tb are included for free. Should the user go over the limit, they will be charged an additional $0.02 per GB.
I have seen that we can pay for additional transfer and are included a certain number of TB.
But,my question is....If the vps or a dedicated can produce me 1,5TB;why you limit to 1TB?
A vps or a dedicated is not a shared,is my machine and I can use the maximum that he can support.I seed the same things at other sellers and thats why I wanted to buy here.
I hope you understand me,sorry for my english.
Its bandwidth. These limitations are common. For this price, it is an amazing deal. A server of each corresponding size is unlikely to exceed the limit anyway, unless you plan to host very large files that lots of people are downloading.
Take a look at the market and try some alternatives, I challenge you to find something cheaper, with the same control panel (beautiful the one used from DigitalOcean), same specs and same performances of DigitalOcean. Same Opinion of btsbits. Its bandwidth and these limitations are common (and everywhere).
1TB is not a bandwidth cap, you can push as much traffic as you like, if you exceed the amount of bandwidth that is included with your virtual server you will just be charged $0.02 cents per GB after your allotment.

Traffic isn't limited.
Is the bandwidth, say, 1TB, granted and reset monthly? Namely, 1TB per month. If exceed 1TB, $0.02 cents per GB after that. Or, 1TB is accumulated thru time; after the accumulated bandwidth usage exceeds 1TB, $0.02 per GB will be charged afterwards. I couldn't find document to clearly state this. so, I ask it over here. Thanks!
You are allotted 1TB for the 512MB server per month and if you go over that amount in a month the extra bandwidth is charged at $0.02 cents per GB.

So its 1TB per month thats included with the 512MB virtual server.
Awesome! Thanks for the clarifications!
Is the 1TB per month included with the 512MB server, incoming bandwidth? Outgoing bandwidth? or a combined total of both?
Is there a way to check how much bandwidth/transfer I have used up?
You need vnstat and bc installed and setup.
  • what does bc do?

  • @arafatx bc is a command that executes math expressions. @fs uses it in his script to check if the used amount of bandwidth is over 999 GiB.

    echo "$(echo "$ax" | sed 's/ GiB//g') > 999"|bc
What are the accounting period start and end dates? How this free limit is calculated?
From the 1st of current month to the 1st of the next one? Or does it follow billing period of the droplet? Please, clarify this moment...
@korobkov: We're currently not billing for bandwidth. Once we start doing that, we'll put up a blog post explaining how it works.
If I put up a load balancer in fron of a number of app servers, will I pay the bandwidth for the load balancer of from the app servers or both? I mean, I'd like to have badass app servers, and then a really thin LB, acting just as reverse proxy and SSL termination point, but if all the bandwidth counts towards the load balancer, it will end up being much more expensive...
@saverio.trioni: You will be charged for extra traffic on the public interface (eth0). You can utilize the private networking feature in NYC2 in order to eliminate the bandwidth fees.
by Etel Sverdlov
Here's documentation on how to set up and use DigitalOcean private networking.
Is there a way to ask with the API of the current used traffic/month? Or set shut down server after a limit that i set? If one server get an DDOS attack i will be ruined.
Clarify; Or set shut down server after a limit that i set in control panel. Not by some strange scripts.
We currently do not offer bandwidth usage data/graphs and are not billing for bandwidth.
But you are indeed billing 2c/Gig for bandwidth when it exceeds the transfer limit?

"Q: Do you charge for bandwidth?
A: Yes. Plans start with 1TB per month and increase incrementally. Once the monthly transfer limit has been exceeded it is $0.02 per GB thereafter. Only outbound transfer is counted. "

I mean is it possible to set an option to shut down server automatically when the included bandwidth are reached or at least set a limit at 10 TB or something.
@patrick, I also contacted support and they replied that they are not billing for excess bandwidth. This is only for time being, they may charge in the future and will inform about this through a blog post as mentioned in this thread.

But to be on safe side, I am using this code ( ) posted by another user to make sure I do not cross the bandwidth. I modified it a little, so that instead of giving the monthly cap in the script,I gave the daily cap ( that is monthly quota/30) , so my site will go down when daily limit is crossed for any particular day. Also, I changed the script, so that instead of shutting down the server, I would just rename the public_html folder and make the site unavailable. Next day when the daily bandiwidth is reset , the folder is renamed back to public_html, so my site will be auto up. I also made the script to write to a log, so I can know whenever this happens and I can decide on taking a larger plan.
  • All very cool. But the one thing that's not cool is you didn't share your mods back with the pastebin OP.

If my business ask me to create and destroy droplet many times per month, with multiple simultaneous droplet running, how is the bandwidth calculated? what is the limit, says we always use the 1TB for every droplet.
"Is there a way to ask with the API of the current used traffic/month? Or set shut down server after a limit that i set? If one server get an DDOS attack i will be ruined. "

Yeah, it would be really nice to have some control over traffic in our settings when we log in. Like shut down server if the trafic is bigger than 1/2/5/10 TB/month or 50/100/200/500 GB/day. Besides I am interested in monitoring traffic and I do not want to run some scripts or anything like that.

I do not mind it as long as we are not billed for extra traffic, but once we are billed I want to have some control over it, I do not want to be ruined because of DDoS or something like that.
Have another answer? Share your knowledge.