ladderlore
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

Service · Compute · CLF-C02 အပေါ် ဆက်လေ့လာရန်

AWS Batch

Job queues, compute environments, array jobs and dependencies, and when Batch beats Lambda, Glue or EMR.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

Cloud Practitioner မှ သင်သိပြီးသားများ

  • Runs many finite jobs as containers.
  • Compute comes from EC2, Spot or Fargate and scales back when the work is done.
  • No extra charge: you pay for the compute.
Cloud Practitioner သင်ခန်းစာကို ဖတ်ရန်
Submitted jobs
Job queue
Compute environment
EC2
  1. 1You submit jobs.
  2. 2The queue holds them by priority and hands them to a compute environment.
  3. 3The environment launches EC2, Spot or Fargate capacity, and scales it back when the queue is empty.
Jobs wait in a queue until a compute environment runs them.
  • Lambda

    Best for
    Short, event-driven tasks
    Watch for
    Time limit per run
  • Batch

    Best for
    Queues of container jobs
    Watch for
    Not for always-on apps
  • Glue

    Best for
    Serverless ETL and catalog
    Watch for
    Data work, not general jobs
  • EMR

    Best for
    Hadoop and Spark clusters
    Watch for
    Cluster for big data analysis
Four services that run work, and when each fits.

1 / 2

  • Lambda

    Best for
    Short, event-driven tasks
    Watch for
    Time limit per run
  • Batch

    Best for
    Queues of container jobs
    Watch for
    Not for always-on apps
  • Glue

    Best for
    Serverless ETL and catalog
    Watch for
    Data work, not general jobs

2 / 2

  • EMR

    Best for
    Hadoop and Spark clusters
    Watch for
    Cluster for big data analysis
Four services that run work, and when each fits.

ဘာလဲ

Batch has three parts. A job definition says which container image, how much vCPU and memory, and which command. A job queue holds submitted jobs with a priority. A compute environment is the EC2 or Fargate capacity behind a queue. A managed one scales by itself, on On-Demand or Spot. A queue can use several compute environments in order.

An array job runs one definition up to 10,000 times, each copy with its own index, for work such as one input file per job. A job dependency makes a job wait for others. Multi-node parallel jobs span several instances.

ဘာလဲ

Choose by the shape of the work. Lambda: short, event-driven tasks. Batch: container jobs that run longer, need more CPU or memory, or queue up in thousands, ideally on Spot. AWS Glue: serverless ETL and a data catalog. Amazon EMR: Hadoop and Spark clusters for big data analysis.

မှတ်ထားရန်

  • Job definition, job queue and compute environment.
  • Spot compute environments cut cost for fault-tolerant jobs.
  • Array jobs: up to 10,000 child jobs from one submission.
  • Dependencies: run job B only after job A.
  • Fargate compute: no instances to manage. EC2: GPUs and special types.

မှတ်ထားရန်

  • Not for always-on services or event handlers. Use ECS or Lambda.

စာမေးပွဲမှာ

  • “Thousands of containerized jobs, minimize cost” points to AWS Batch on Spot.
  • “Run the same job 5,000 times with different inputs” points to an array job.
  • “Serverless ETL with a data catalog” points to AWS Glue.
  • “Spark or Hadoop cluster” points to Amazon EMR.