~/.aws/credentialsto be something like below.
access keyIAM user needs to have the permissions to create all the aws resources.
instanceTypeto the aws instance you want to run the code on.
spotml.yamlnotice that we've used a docker image directly.
spotml.yamlfile to the command you want
instance, and the
runwith the below command.
statuscommand you can ssh into the actual run session by typing
tmuxsession where spotML ran the
spotml shas before for an interactive session.