AWS EC2 user data in node template

Hi!
I could not see a way to add user data on node templates for an Amazon EC2 cluster. The background is that I would need to format and mount a local disk at instance launch. Or is there another way to do it?
Thanks!