Run ECS one-time task from CLI Once you have your task definition setup, (we assume this task will exit when the job completes), you can use this guide to run the task from the command line. Run Task aws