> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# W&B Sweeps をクラウド インフラストラクチャーで使用するにはどうすればよいですか?

AWS Batch や ECS などのクラウド インフラストラクチャーで W\&B Sweep を実行するには、どの W\&B Sweep エージェントからでも `sweep_id` にアクセスできるように公開し、それらのエージェントが `sweep_id` を読み取って実行できる仕組みを実装します。

たとえば、Amazon EC2 インスタンスを起動し、そこで `wandb agent` を実行します。SQS キューを使用して `sweep_id` を複数の EC2 インスタンスに配信します。各インスタンスはキューから `sweep_id` を読み取り、プロセスを開始します。

***

<Badge stroke shape="pill" color="orange" size="md">[Sweeps](/ja/support/models/tags/sweeps)</Badge><Badge stroke shape="pill" color="orange" size="md">[AWS](/ja/support/models/tags/aws)</Badge>
