Cost-Limited Droplet Creation w/ auto-destroy
Is there a means to create a droplet with a cost limit?
Suppose I am building a service on top of Digital Ocean droplets, and I want to purchase some free trial time for users. Lets say I want to create droplets on their behalf to run a service in a sandboxed manner.
Is there a way to set a limit on a droplet’s cost use. EG, I want to create a droplet but not have it spend more than 10 cents. If it reaches 10 cents, it auto-destroys.
I want to have a guarantee that a malicious user or mistake will not accidentally burn a bunch of cash.
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.×