I have a program that I run on amazon EC2 and I would like to set it up in a way so that when I boot a new EC2 instance it starts the program and sets itself up without any input from me.
How could i do this?
The program is a java .jar file.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you are booting the machine from an AMI with java installed and the program in a particular directory, you can have the command to start the program (jar -jar … ) in somefile like /etc/rc.local.