New droplet in users account based on custom image
I’d like users on my website to be able to click a link and be taken to the Digital Ocean site (where they register or login), pay for and confirm a new droplet based on a custom image I’ve created, then return back to my site the IP address.
During the flow above they should set their own SSH pw as it’s their new droplet from my image in their account.
I’d like the droplet to be the LAMP stack plus run some extra shell commands to top up the setup. Would also like to have this as infrastructure as code, ie via YAML or similar so is transparent and easily updatable.
What would be the best way of achieving this?
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.×