title: Aws Ec2 run script program at startup
body: <p>There is a method to setup an EC2 machine to execute Kafka starting script on startup? 
  I use also java Aws SDK, so I accept both solution for a program java that run command on EC2 instance and solutions for a bash script mode that run kafka script at startup.</p>