The above scripts can be used for automating AWS workflow (spot instance creation, data persistence) for Machine Learning.
You need to have the AWS CLI installed and configured.
From inside the cloned repo, in your terminal, run:
./create-env.sh
-
./request-spot-instance.sh m3.medium 0.02
(you can substitute the bid amount and instance type) $HOME/aws_scripts/authorize-current-ip
$HOME/aws_scripts/spot-instance-connect
For convenience, you can add $HOME/aws_scripts
to your path.
Please follow the instructions in this article