Slack Open in GitHub Codespaces

Welcome to the Deploying AI Agents on AWS workshop.

In this hands-on workshop, you’ll build, deploy, and connect AI agents on AWS using Pulumi and Amazon Bedrock AgentCore. You start by running an agent on your own laptop, deploy that same agent to the cloud, then have agents call each other. If you take the stretch goal, you’ll also build an agent that browses the web, runs Python, and remembers what you tell it.

What you’ll build

flowchart LR
    W["Deploying AI Agents<br/>on AWS workshop"]

    W --> M1
    W --> M2
    W --> M3
    W --> M4

    subgraph M1["Module 1 · Hello, agent! Run locally"]
        direction TB
        F1["Strands agent"]
        F2["BedrockAgentCoreApp<br/>/invocations + /ping"]
    end

    subgraph M2["Module 2 · Deploy to AgentCore"]
        direction TB
        F3["Direct-code ZIP<br/>(no Docker)"]
        F4["S3 + IAM role<br/>ARM64 runtime"]
    end

    subgraph M3["Module 3 · Multi-agent orchestration"]
        direction TB
        F5["Agent-to-agent calls"]
        F6["IAM-scoped<br/>orchestrator + specialist"]
    end

    subgraph M4["Module 4 · Weather agent (stretch)"]
        direction TB
        F7["Browser"]
        F8["Code Interpreter"]
        F9["Memory"]
        F10["Observability + S3"]
    end

    style W fill:#5a30c5,color:#fff,stroke:#492e8e,stroke-width:2px
    style M1 fill:#21c45d,color:#fff,stroke:#16a249,stroke-width:2px
    style M2 fill:#21c45d,color:#fff,stroke:#16a249,stroke-width:2px
    style M3 fill:#21c45d,color:#fff,stroke:#16a249,stroke-width:2px
    style M4 fill:#21c45d,color:#fff,stroke:#16a249,stroke-width:2px
    style F1 fill:#02d9c0,color:#0a3a36,stroke:#00a896,stroke-width:2px
    style F2 fill:#02d9c0,color:#0a3a36,stroke:#00a896,stroke-width:2px
    style F3 fill:#02d9c0,color:#0a3a36,stroke:#00a896,stroke-width:2px
    style F4 fill:#02d9c0,color:#0a3a36,stroke:#00a896,stroke-width:2px
    style F5 fill:#02d9c0,color:#0a3a36,stroke:#00a896,stroke-width:2px
    style F6 fill:#02d9c0,color:#0a3a36,stroke:#00a896,stroke-width:2px
    style F7 fill:#02d9c0,color:#0a3a36,stroke:#00a896,stroke-width:2px
    style F8 fill:#02d9c0,color:#0a3a36,stroke:#00a896,stroke-width:2px
    style F9 fill:#02d9c0,color:#0a3a36,stroke:#00a896,stroke-width:2px
    style F10 fill:#02d9c0,color:#0a3a36,stroke:#00a896,stroke-width:2px

You’ll start by running an agent locally, then deploy it to AgentCore Runtime with Pulumi. From there you’ll have agents communicate agent-to-agent using IAM (Identity and Access Management)-scoped invocations, and finish with a full-stack agent that wires in Browser, Code Interpreter, and Memory tools.

Workshop chapters

Chapter Title Duration
00 Setup, orientation and intro 20 min
01 Hello, agent! Run locally 30 min
02 Your first agent on AgentCore 30 min
03 Multi-agent orchestration 40 min
04 The full stack: weather agent with tools and memory (Stretch goal) 40 min
05 Cleanup 10 min
  Core path 130 min
  With stretch goal 170 min

New to the terminology? The Glossary lists every acronym used in the workshop.

Prerequisites

We recommend GitHub Codespaces for a zero-install experience. Click the badge at the top of this page.

Machine type Cores RAM Recommended
Standard 4-core 16 GB Yes

Core path vs. stretch goals

The workshop fits the time slot if you stick to the core path: Modules 0, 1, 2, 3, and 5. Module 4 is a stretch goal, extra material for anyone who races through the core and wants more:

The stretch module is its own Pulumi stack, so skipping it doesn’t break anything later. You can always come back to it after the workshop.

Troubleshooting

pulumi up hangs during CodeBuild: The first build takes 5-10 minutes while Docker images are built and pushed to ECR (Elastic Container Registry). This is normal.

AWS credentials expired: Run pulumi env open aws-bedrock-workshop/dev to verify your credentials are configured correctly, then retry.

Agent invocation returns 500: Check CloudWatch Logs at /aws/bedrock-agentcore/runtimes/ for your runtime. Common causes are missing IAM permissions or environment variables.

CodeBuild fails: Check the build logs in the AWS Console under CodeBuild > Build projects. The most common issue is ECR permission errors during docker push.

Weather agent test hangs: The first invocation triggers a cold start (1-2 min). The test script handles this. If it times out, run it again.

Want to know more?