I want to make sure that i dont accidentally do something which makes the bill sky rocket, is there a way to put a limit on how much resource or money a project can spend before it shuts down? or something similar to that.
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!
Accepted Answer
Heya,
DigitalOcean does not currently offer an automated way to cap your usage and shut down your services once you reach a specific billing level.
What I personally do is to set up billing alerts to notify me when my spending reaches a certain threshold. You can set those thresholds pretty low so that you would get notified early.
You can also write a shell script to shutdown your Droplets so that you could do that quickly in case that you get an alert. You can use the doctl
CLI to do that:
https://docs.digitalocean.com/reference/doctl/reference/compute/droplet-action/shutdown/
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.
Heya, @hampternt
You can set up billing alerts and we will email you if the monthly spending exceeds an amount you specify.
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
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
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.