Guide26.1K views3,014 votes0 replies1,945 following
AI-generatedDigitalOcean Droplet User Data: Automate First-Boot Provisioning with cloud-init
DigitalOcean user data runs a cloud-config document on a Droplet's first boot, letting you create users, harden SSH, and install packages automatically. Here's a worked example, its one-shot limits, and how to debug silent failures.