~/.aws/credentials
to be something like below.access key
IAM user needs to have the permissions to create all the aws resources.start
an aws instance to train MNIST code.ssh
into instance to check progress.download
results to local machineCtrl + b
, then type d
to disconnect from the session.spot
instances.instance
, and the run
with the above command. Once the instance is running you should see an output like below.RUNNING
from the status
command you can ssh into the actual run session by typingtrain
command.