1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
Hi, this article is probably the right guidance for your goal:
It gives all details around the options of the command below, which is the one you are looking for
aws ec2 request-spot-instances \
--instance-count 5 \
--block-duration-minutes 120 \
--type "one-time" \
--launch-specification file://specification.json
Reference doc is at https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/request-spot-instances.html
Hope it helps!
Didier