Disable cloud-init in Ubuntu Servers
To disable cloud-init in Ubuntu server, create the following file
touch /etc/cloud/cloud-init.disabled
To completely remove cloud-init, uninstall the package and delete the folders
sudo dpkg-reconfigure cloud-init (uncheck everything except "None")
sudo apt-get purge cloud-init
sudo rm -rf /etc/cloud/ && sudo rm -rf /var/lib/cloud/
sudo reboot