CmdID

CmdID / Commands

aws-batch

Run batch computing workloads through the AWS Batch service. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List running batch jobs

aws batch list-jobs --job-queue queue_nameIdentify
--job-queueThe name or full Amazon Resource Name (ARN) of the job queue used to list jobs. AWS CLI reference

Create compute environment

aws batch create-compute-environment --compute-environment-name compute_environment_name --type typeIdentify
--compute-environment-nameThe name for your compute environment. AWS CLI reference
--typeThe type of the compute environment: MANAGED or UNMANAGED. AWS CLI reference

Create batch job queue

aws batch create-job-queue --job-queue-name queue_name --priority priority --compute-environment-order compute_environmentIdentify
--job-queue-nameThe name of the job queue. AWS CLI reference
--priorityThe priority of the job queue. AWS CLI reference
--compute-environment-orderThe set of compute environments mapped to a job queue and their order relative to each other. AWS CLI reference

Submit job

aws batch submit-job --job-name job_name --job-queue job_queue --job-definition job_definitionIdentify
--job-nameThe name of the job. AWS CLI reference
--job-queueThe job queue where the job is submitted. AWS CLI reference
--job-definitionThe job definition used by this job. AWS CLI reference

Describe the list of batch jobs

aws batch describe-jobs --jobs jobsIdentify
--jobsA list of up to 100 job IDs. AWS CLI reference

Cancel job

aws batch cancel-job --job-id job_id --reason reasonIdentify
--job-idThe Batch job ID of the job to cancel. AWS CLI reference
--reasonA message to attach to the job that explains the reason for cancelling it. AWS CLI reference