copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

add `--spot-count` for `task run` on FARGATE_SPOT capacity provider

Open fortran01 opened this issue 3 years ago • 0 comments

This idea was already mentioned in https://github.com/aws/copilot-cli/issues/702#issuecomment-647702212. I think a spot instance is the best choice for running one-off tasks. I like the parameter suggestions.

copilot task run --count 5 runs 5 regular fargate tasks. copilot task run --spot-count 5 tries to run up to 5 fargate spot tasks. copilot task run --count 5 --spot-count 5 runs 5 regular fargate tasks and up to 5 fargate spot tasks.

fortran01 avatar Dec 20 '22 22:12 fortran01