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

Service · Application Integration · SAA-C03 အပေါ် ဆက်လေ့လာရန်

AWS Step Functions

Run SageMaker AI and Bedrock jobs from a workflow, with waits, branches and retries.

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

Solutions Architect Associate မှ သင်သိပြီးသားများ

  • Step Functions orchestrates services as a state machine, with branching, retries and waits.
  • Standard workflows run long. Express workflows run short and fast.
Solutions Architect Associate သင်ခန်းစာကို ဖတ်ရန်
Processing job .sync
Training job .sync
Metric good enough?
Register model
Notify and stop
yesno
  1. 1A processing job runs and the state waits for it.
  2. 2A training job runs and the state waits for it.
A small ML workflow: two jobs, then a choice.

အဆင့်ဆင့်

  1. 1A processing job runs and the state waits for it.
  2. 2A training job runs and the state waits for it.

A small ML workflow: two jobs, then a choice.

  • Service integrations

    It does
    Call SageMaker AI and Bedrock directly
    Note
    No Lambda glue needed
  • Run a job and callback

    It does
    .sync waits. .waitForTaskToken pauses
    Note
    Standard workflows only
  • Map and Parallel

    It does
    Per item, or different branches
    Note
    Limit concurrency
  • Retry and Catch

    It does
    Back-off, then fallback state
    Note
    Set per state
  • Standard or Express

    It does
    Long and exact, or short and fast
    Note
    ML training uses Standard
The Step Functions features that matter for ML.

1 / 2

  • Service integrations

    It does
    Call SageMaker AI and Bedrock directly
    Note
    No Lambda glue needed
  • Run a job and callback

    It does
    .sync waits. .waitForTaskToken pauses
    Note
    Standard workflows only
  • Map and Parallel

    It does
    Per item, or different branches
    Note
    Limit concurrency

2 / 2

  • Retry and Catch

    It does
    Back-off, then fallback state
    Note
    Set per state
  • Standard or Express

    It does
    Long and exact, or short and fast
    Note
    ML training uses Standard
The Step Functions features that matter for ML.

ဘာလဲ

Step Functions calls SageMaker AI and Bedrock directly, without Lambda glue. It has integrations for SageMaker AI jobs (processing, training, tuning, transform) and for creating models and endpoints, and for Bedrock model invocation and customization jobs. Choose the pattern in the resource name. A plain call returns at once. Adding .sync waits until the job finishes. Adding .waitForTaskToken pauses until something sends back the token, for example a person approving. Both waiting patterns need a Standard workflow.

ဘာလဲ

A Map state runs the same steps for each item in a list, such as one batch transform per file, with a limit on concurrency. A Parallel state runs different branches together, such as training two algorithms. A Choice state branches on a value, such as a metric from the evaluation. Retry and Catch handle errors in the state: retry transient failures with back-off, and send other errors to a clean-up or alert state.

ဘာလဲ

Standard workflows run up to a year and show their history, and are billed per state transition. Express workflows run up to five minutes and suit high-rate, short tasks. For ML training pipelines, use Standard. Compared with SageMaker Pipelines, Step Functions is the better fit when the workflow mixes in other services.

မှတ်ထားရန်

  • Direct integrations for SageMaker AI jobs and Bedrock calls.
  • .sync waits for a job. .waitForTaskToken waits for a callback. Both need Standard.
  • Map: same steps per item. Parallel: different branches together. Choice: branch on a value.
  • Retry with back-off, and Catch to a fallback state.

မှတ်ထားရန်

  • Standard: up to a year. Express: up to five minutes, no job-run or callback.

စာမေးပွဲမှာ

  • “Wait for a SageMaker AI training job to finish, then continue” points to the .sync pattern in a Standard workflow.
  • “Pause until a manager approves the model” points to .waitForTaskToken.
  • “Run batch transform on every file in a list” points to a Map state.
  • “Retry a throttled call, then alert on other errors” points to Retry and Catch.