Compute - AWS Batch Flashcards
1
Q
What is AWS Batch?
A
- AWS Batch is a service for managing and running batch computing workloads in AWS.
- It simplifies the management and provisioning of compute resources for batch processing.
- Batch computing involves executing a series of jobs or tasks that require a large amount of compute power.
2
Q
What is batch computing?
A
- Batch computing involves processing a series of jobs or tasks that require significant compute power.
- It is used in specialist use cases that require a cluster of compute resources to complete batch processing.
- Managing and maintaining a batch computing system outside of the cloud can be challenging and costly.
3
Q
What are the components of AWS Batch?
A
- Jobs: Units of work to be run by AWS Batch, such as executable files or shell scripts.
- Job definitions: Define parameters and configurations for the jobs, like CPU usage and IAM roles.
- Job queues: Hold scheduled jobs until they run, with support for multiple queues and priorities.
- Job scheduling: Determines when and from which Compute Environment jobs should run.
- Compute Environments: Environments containing compute resources for executing jobs, managed or unmanaged.
4
Q
What is the role of the Job Scheduler in AWS Batch?
A
- The Job Scheduler determines when a job should run and from which Compute Environment.
- It typically follows a first-in-first-out basis and considers job queue priorities and dependencies.
5
Q
What are the benefits of using managed Compute Environments in AWS Batch?
A
- Managed Compute Environments handle provisioning, scaling, and termination of compute instances.
- They are created as Amazon ECS Clusters, simplifying management and maintenance.
- Configuration parameters include instance type and purchase method (on-demand or spot).
6
Q
How does AWS Batch optimize cost?
A
- AWS Batch supports both on-demand and spot instances for running jobs.
- Job queues can be configured with different priorities, allowing optimization based on instance type.
- AWS Batch can bid on your behalf for spot instances, further reducing costs.
7
Q
What types of use cases are suitable for AWS Batch?
A
- Analyzing financial risk models
- Performing media transcoding
- Conducting engineering simulations
- Any use case that requires running multiple jobs in parallel using batch computing