I have an EC2 instance that uses @reboot
to run a python script every time the instance starts up. The python script uses conn.stop_instances(instance_ids=[my_id])
to stop the instance after the script has finished (more details here). Unfortunately, I can no longer ssh into my instance because the python script stops the instance immediately. Is there anything I can do to reset the instance or change the settings manually?
If not, is there any way to grab files from an instance without having to ssh in?