Hi JitteryCoyote63 ,
You can do this by modifying the startup_bash_script
and launch_specification
used in AwsAutoScaler.spin_up_worker()
- for that, you'll probably need to define your own class AwsAutoScalerExt(AwsAutoScaler)
and make sure it's used in the example code.
Answered
Hey There
Hey there 🙂 Still my journey to deploy the aws-autoscaler with spot instances, I have another question:
I would like to limit the amount of time spent setting up the experiments in the spot instances, in particular, I would like to make the data used for training already available and not have to download it from s3 each time a new spot instance is started. I want to create an EBS disk with the data used for training, create a snapshot of it, and then make the autoscaler attach a copy of this EBS snapshot to every spot instance it spins up. How can I do that with the aws-autoscaler?
875 Views
2
Answers
3 years ago
one year ago
Tags
Similar posts