update request_spot.sh

pull/39/head
Richard Liu 6 years ago
parent b59ace814a
commit 5c83f9b20c
  1. 6
      aws-experiment-launch/spot-instance/request-spot.sh
  2. 5
      aws-experiment-launch/spot-instance/request-spot2.sh

@ -11,8 +11,8 @@ aws ec2 request-spot-instances \
\"IamInstanceProfile\": { \ \"IamInstanceProfile\": { \
\"Name\": \"BenchMarkCodeDeployInstanceProfile\" \ \"Name\": \"BenchMarkCodeDeployInstanceProfile\" \
}, \ }, \
\"UserData\": \"`base64 userdata.sh`\" \ \"UserData\": \"`base64 ../configs/userdata-commander.sh`\" \
}" \ }" \
--dry-run # uncomment this line to send a real request. #--dry-run # uncomment this line to send a real request.
# Note: on windows, UserData should be "`base64 -w 0 userdata.sh`" # Note: on windows, you need to add `-w 0` to the base64 command"

@ -1,5 +0,0 @@
aws ec2 request-spot-instances \
--instance-count 1 \
--block-duration-minutes 60 \
--launch-specification file://launch_specs/latest/ohio.json
# --dry-run # uncomment this line to send a real request.
Loading…
Cancel
Save