What does the Enable User Data option provide? I don’t understand the meaning.
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!
The Enable User Data setting allows you to pass arbitrary data into the user-data key of the DigitalOcean Metadata service. You can then retrieve that data on your droplet by running:
curl -w "\n" http://169.254.169.254/metadata/v1/user-data
On it’s own, that’s not very exciting but it allows for some interesting things when you combine it with a program called CloudInit that is installed by default on Ubuntu 14.04 and up as well as CentOS 7. It processes the user data and runs it on the droplet. For instance, you could put a bash script in there and it will be run on first boot. People use this to do a lot of initial set up on their droplets like installing packages. For more info, see this tutorial:
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.