Question

How to set a traffic limit to avoid unwanted charges?

I read that If the outbound transfer exceeds the amount included with my Droplets at end of the cycle, I will be charged $0.01 per excess gigabyte.

I am concerned about this potential automatic charge.

Is there a way to automatically disable droplet in case the limit is reached?

Alternatively, are there any ways through a firewall to set this limit and block excess traffic or turn off the droplet?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
August 5, 2020
Accepted Answer

Hey @iljkr,

I don’t believe that this is currently possible but it sounds like an interesting idea.

The best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.

https://ideas.digitalocean.com/

In the meantime what you could do is to setup Billing alerts so that you get early notifications when you reach a certain usage amount. You can do that via your Control Panel -> then go to Billing -> then under Billing Alerts hit the ‘Add Alert’ button.

Hope that helps! - Bobby.

While it isn’t possible to do this exactly you can reduce the traffic a few ways.

First you can use software like this.

https://vitux.com/how-to-limit-network-bandwidth-in-ubuntu/

To monitor and cut off traffic, also you could just close the ports being accessed via your firewall. These don’t stop traffic but they reduce it by a lot!

Also you could use compression and caching and sites like cloudflare to serve the site to reduce bandwidth and improve performance.

It’s not possible.

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.