Recently I heard about the news of aws that due to an infinite loop a developer costs 72000 $ bill ,my question is can it happen on digital Ocean as well or when limit exceed it just stop the server.
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hi there,
The Droplet resources like CPU, RAM and Disk are fixed, autoscaling is not an option. So the price of the Droplet itself is fixed per hour/month so if you have a CPU-intensive process running on the Droplet due to an infinite loop, it will not affect the costs.
The only thing that you could get charged additionally is for bandwidth. You could use this Bandwidth calculator tool here to check the costs:
https://www.digitalocean.com/community/tools/bandwidth
What you could do is to set up 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 this helps! Regards, Bobby