A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Scalable compute services.
Simple object storage.
Tools & Integrations
Automate your infrastructure.
Connect, share and learn
DevOps and development guides
Questions & Answers
Development and systems Q&A
by Hazel Virdó
Is it possible to enable user-data after droplet creation?
More importantly, I really want to store the discovery URL that I generated. Is the "user-data" stored somewhere so I can have easy access while trying to add a new machine to my cluster?
@shivab You can access it using curl http://169.254.169.254/metadata/v1/user-data Check out the docs on the metadata service.
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
You can't add cloud-config to an existing droplet. Just destroy it and create a new droplet with your user-data.
ok. destroy and create a new one. Couldn't we have a more flexible solution? Or destroy and create a new droplet is lightweight for DO. : )