~/.aws/credentials
to be something like below.access key
IAM user needs to have the permissions to create all the aws resources.instanceType
to the aws instance you want to run the code on.spotml.yaml
notice that we've used a docker image directly. Dockerfile
. See example setup here.spotml
. spotml.yaml
file to the command you wantspotStrategy
to on-demand
instance
, and the run
with the below command.RUNNING
from the status
command you can ssh into the actual run session by typingtmux
session where spotML ran the train
command.spotml sh
as before for an interactive session.