spotty-cloud / spotty

Training deep learning models on AWS and GCP instances
https://spotty.cloud
MIT License
493 stars 43 forks source link

Automatically download cfn-init logs to the local machine in case of an error #52

Closed apls777 closed 4 years ago

apls777 commented 5 years ago

Following issues #44 and #48, it would be convenient to automatically download cfn-init logs to the local machine if an error occurred.

Probably, the most appropriate place for these logs is in the temporary directory: for example, on Unix systems, it could be the /tmp/spotty/logs/projects/<PROJECT_NAME>/instances/<INSTANCE_NAME>/cfn-init/ directory.

apls777 commented 4 years ago

Now cfn-init logs automatically downloaded to the local machine if the instance failed to start.