spotty-cloud / spotty

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

Question: Possibility to execute code on instance startup #111

Closed hjander closed 2 years ago

hjander commented 2 years ago

I have an ami that does not comply with python >= 3.6 requirement and would like to fix that on instance startup via script.

Is that doable right now ?

Creating an own ami is not an option.

apls777 commented 2 years ago

There is no requirement for AMI to support Python 3.6. As long as it's Ubuntu with NVIDIA Docker installed, it will work. Or do you mean Python in your Docker image? Then it doesn't matter as it will run inside a container.