Is there any limit for destroying a droplet? Can the droplet be destroyed by a script / API and reinstalled from an image / snapshot? This would be really great for testing purposes.
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
You might cause some red flags if it’s more than a dozen times a day, but otherwise no.
Ok, so it’s better to just take a snapshot and reset it directly. Thanks again, Woet ;)!
There only physical limit would be on API calls.
DigitalOcean does limit the number of API calls you’re able to make in specific period of time (this can be checked using the API), though beyond such limits, there shouldn’t be any issues. You have quite a large number of calls that may be made as well, so unless you’re creating, destroying, modifying, or running hundreds of other commands frequently, chances are you won’t be limited by the API.
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.