aws ec2 request-spot-instances
Creates a Spot Instance request. AWS CLI reference
13 options Its page in the AWS CLI reference
Options
--availability-zone-groupThe user-specified name for a logical grouping of requests.--block-duration-minutesDeprecated.--client-tokenUnique, case-sensitive identifier that you provide to ensure the idempotency of the request.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--instance-countThe maximum number of Spot Instances to launch.--instance-interruption-behaviorThe behavior when a Spot Instance is interrupted.--launch-groupThe instance launch group.--launch-specificationThe launch specification.--spot-priceThe maximum price per unit hour that you are willing to pay for a Spot Instance.--tag-specificationsThe key-value pair for tagging the Spot Instance request on creation.--typeThe Spot Instance request type.--valid-fromThe start date of the request.--valid-untilThe end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).