Workshop Structure


title: “研讨会结构” weight: 300


我们的环境已经准备就绪。以下是为我们准备的内容:

  • 一个 Amazon EKS cluster(Auto Mode)
  • 在 AWS Inferentia accelerators 上提供 Qwen2.5-3B 服务的 vLLM
  • 用于可观测性的 Langfuse
  • Amazon Bedrock AgentCore 内存、浏览器和代码解释器,已为 Integrated GenAI 策略预先配置
  • 浏览器中的 VS Code IDE(我们的指挥中心)

访问 EKS Cluster

在我们的 IDE 终端中:

kubectl get nodes

节点应处于 Ready 状态。同时检查 vLLM 是否已启动:

kubectl get pods -n vllm -l app=qwen2-5-3b-neuron

研讨会代码布局

每个模块在 ~/environment/modules/ 下都提供了其完整的最终状态。我们无需将代码输入到 heredocs 中,每个模块都以 cd 进入其项目目录开始,然后直接在 IDE 中打开文件。

ls ~/environment/modules

我们应该看到两个 track 目录:

modules/
├── 20-self-managed/
│   ├── 200-strands-agents/customer-agent/
│   ├── 300-observability-langfuse/customer-agent/
│   ├── 400-rag-milvus/customer-agent/
│   ├── 500-memory-milvus/customer-agent/
│   ├── 600-agent-tools-mcp/{customer-agent,mcp-server}/
│   ├── 700-multi-agent-a2a/a2a-agents/
│   └── 800-knowledge-graph/customer-agent/
└── 30-integrated/
    ├── 100-strands-bedrock/customer-agent/
    ├── 200-observability-langfuse/customer-agent/
    ├── 300-memory-agentcore/customer-agent/
    ├── 400-managed-tools/customer-agent/
    └── 500-multi-agent-a2a/a2a-integrated/

编辑了错误的文件并想重新开始?下面的命令会用发布版本覆盖我们在 ~/environment/modules/ 下的本地更改。除非我们确实想这样做,否则请不要运行它。

unzip -o /tmp/modules.zip -d ~/environment/modules/

Terraform 状态

EKS cluster、operational addons 以及其他 AWS 服务(vLLM、Langfuse、Milvus、ECR、AgentCore)都已经启动。如果我们想深入了解,源代码位于 ~/environment/terraform/