user-data on restarting the cloudinit service


While trying to debug my configuration I discovered that the user-data is always available from Amazon if you ask for the latest: instead of

This seems to work when you reboot the instance via the EC2 console as well.


bwight4157 wrote Dec 15, 2012 at 2:14 PM

You can easily change the endpoint where it downloads the user-data. Both urls should work fine however if you want to change it just edit the install-service.ps1 script and change the url.

If you've already installed the service you can edit the registry value HKLM\SYSTEM\CurrentControlSet\services\CloudInit\Settings\UserDataFile

or powershell

import-module CloudInitAdministration
Set-CISetting -Name UserDataFile -Value ""

wrote Feb 13, 2013 at 9:37 PM