Use instances metadata¶

When booting, an information file (like key/values, yamls, scripts…) may be transferred to the instances:

% nova boot --user-data $FILE [...]

This file may then be accessed from thhe instance by using the Nova metadata service:

% curl http://169.254.169.254/2009-04-04/user-data

Warning

metadata are not encrypted during transfer or when stored and their access is not secured. It is thus not recommended to use it to store sensible information.