☁️ Cloud-Init Configuration Generator
System Configuration
Hostname
Set system hostname
Timezone
System timezone (e.g., UTC, America/New_York)
Locale
System locale (e.g., en_US.UTF-8)
Upgrade all packages on first boot
Disable root SSH login
Packages
Add packages to install during boot. Each on a new line or use the input below.
Package Name
Add
Users & Groups
Add Default User
Include default system user (ubuntu, ec2-user, etc.)
Yes
New Username
Create additional user account
User Home Directory
Leave empty for default (/home/username)
User Shell
Login shell
/bin/bash
/bin/sh
/bin/zsh
/sbin/nologin
Grant sudo access (NOPASSWD)
SSH Configuration
Add SSH authorized public keys (one per line).
SSH Public Key
Add
Enable password authentication
NTP Client
Network time sync (chrony, ntpd, auto)
auto
chrony
ntpd
ntp
Boot Commands
Commands to run on boot (runcmd - runs only on first boot).
Command to Run
Add
File Management
File Path
/etc/myconfig.conf
File Content
Content for the file
File Permissions
Octal format (e.g., 0755)
Add File
Service Management
Enable Service
Start service on boot (e.g., docker, nginx)
Add
Disable Service
Disable service on boot
Add
Network & Hostname
FQDN (Fully Qualified Domain Name)
e.g., server.example.com
Preserve hostname (don't modify)
Update /etc/hosts file
Custom hosts entries
One per line: IP hostname
Security & Access
Root User Password
Hash with openssl passwd -6
Expire all user passwords on first login
Disable EC2 instance metadata (AWS only)
Advanced Scripting
Boot Commands (Early Boot)
Run very early in boot (bootcmd)
Add
Run Commands (Post-Boot)
Run during boot after services start
Add
Disk & Filesystem
Grow root partition to fill disk
Resize root filesystem
Device for GRUB Installation
e.g., /dev/sda (auto if empty)
Monitoring & Logging
Rsyslog Configuration
Configure remote syslog server
Phone Home URL
POST instance data to URL on boot
Seed system random number generator
Boot Behavior
Final Message
Message to display at end of boot
Merge Strategy
How to merge multiple cloud-init configs
None
Default (lists append, dicts merge, strings append)
Dict with list recursion
Power State After Boot
What to do after cloud-init completes
None
Reboot
Power Off
Halt
Generated Configuration
YAML
JSON
Copy
#cloud-config # Your configuration will appear here
Copy
// Your configuration will appear here
🔄 Generate Configuration
⬇️ Download YAML
🔄 Reset