mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
aws-batch: add page (#10591)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
09f89a0c7d
commit
d8f862b499
1 changed files with 28 additions and 0 deletions
28
pages/common/aws-batch.md
Normal file
28
pages/common/aws-batch.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# aws batch
|
||||
|
||||
> Run batch computing workloads through the AWS Batch service.
|
||||
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/batch/index.html>.
|
||||
|
||||
- List running batch jobs:
|
||||
|
||||
`aws batch list-jobs --job-queue {{queue_name}}`
|
||||
|
||||
- Create compute environment:
|
||||
|
||||
`aws batch create-compute-environment --compute-environment-name {{compute_environment_name}} --type {{type}}`
|
||||
|
||||
- Create batch job queue:
|
||||
|
||||
`aws batch create-job-queue --job-queue-name {{queue_name}} --priority {{priority}} --compute-environment-order {{compute_environment}}`
|
||||
|
||||
- Submit job:
|
||||
|
||||
`aws batch submit-job --job-name {{job_name}} --job-queue {{job_queue}} --job-definition {{job_definition}}`
|
||||
|
||||
- Describe the list of batch jobs:
|
||||
|
||||
`aws batch describe-jobs --jobs {{jobs}}`
|
||||
|
||||
- Cancel job:
|
||||
|
||||
`aws batch cancel-job --job-id {{job_id}} --reason {{reason}}`
|
Loading…
Add table
Reference in a new issue