Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

33
aws-batch Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`