Using Instance User Data

In addition to the name, group, and number of instances, you have the ability to enter in your own custom user data.

Vmwizard Userdata

User data can be a script or answer file that will allow you to perform additional configuration steps upon your instance after it is instantiated.  This is optional.

The basic rules for how user data works are as follows:

  • If the instance user data script starts with the characters #!, then the instance runs the script as the root user, on the first boot.
  • If the instance user data does not start with those characters, the image ignores it.  That will allow your software to access the information contained in it.

The user data script is run late in the start up process.  You can assume that networking and other system services are functional.

Related Pages: Using Instance Tags