For the option to launch a new EC2 instance like this one, how similar is the instance? Does it include all cron jobs, or what exactly is contained in the new instance?
Share
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.
It will create a new instance using the same AMI, Availability Zone, and Security groups. (Note that if the AMI no longer exists, this will not be possible.)
If you’re worried about 2 instances running the same cron jobs, I would suggest disabling the cron process in the AMI, then edit them to run after the instance is created. If it’s too late and the cron jobs are already in the original AMI, you’ll probably want to spawn the new one at a time between when the jobs run so you have enough time to log into the 2nd machine and turn them off before they run again.