python/example_code/s3/scenarios/batch/README.md
This example demonstrates how to use the AWS SDK for Python (boto3) to work with Amazon Simple Storage Service (Amazon S3) Batch Scenario. The scenario covers various operations such as creating an AWS Batch compute environment, creating a job queue, creating a job defination, and submitting a job, and so on.
Here are the top six service operations this scenario covers.
Create an AWS Batch computer environment: Creates an AWS Batch computer environment.
Sets up a job queue: Creates a job queue that will manage the submission of jobs.
Creates a job definition: Creates a job definition that specifies how the jobs should be executed.
Registers a Job Definition: Registers a job definition making it available for job submissions.
Submits a Batch Job: Submits a job.
Checks the status of the job: Checks the status of the job.
To run these examples, you need:
python pip install -r requirements.txtTo run this workflow, pull AWS tokens and run the command below:
python s3_batch_scenario.py
© Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0