W&B では、W&B Multi-tenant Cloud または W&B 専用クラウド デプロイメントタイプのような、フルマネージドなデプロイメントオプションを推奨しています。W&B のフルマネージドサービスは、設定をほとんど、あるいは全く必要とせず、シンプルかつ安全に使用できます。
インフラストラクチャー ガイドライン
W&B のデプロイを開始する前に、ハードウェアのサイジングに関する推奨事項を含む、完全なインフラストラクチャー要件について リファレンスアーキテクチャー を参照してください。バージョン要件
| Software | Minimum version |
|---|---|
| Kubernetes | v1.32 or newer (Supported Kubernetes versions) |
| Helm | v3.x |
| MySQL | v8.0.x is required, v8.0.32 or newer; v8.0.44 or newer is recommended. Aurora MySQL 3.x releases, must be v3.05.2 or newer |
| Redis | v7.x |
ハードウェア要件
CPU Architecture: W&B runs on Intel (x86) CPU architecture only. ARM is not supported. Sizing: For CPU, memory, and disk sizing recommendations for Kubernetes nodes and MySQL, see the Sizing section in the reference architecture. Requirements vary based on whether you’re running Models, Weave, or both.MySQL データベース
W&B requires an external MySQL database. For production, W&B strongly recommends using managed database services: Managed database services provide automated backups, monitoring, high availability, patching, and reduce operational overhead. See the reference architecture for complete MySQL requirements, including sizing recommendations and configuration parameters. For database creation SQL, see the bare-metal guide. For questions about your deployment’s database configuration, contact support or your AISE. MySQL のバージョン要件については、上記の バージョン要件 セクションを参照してください。 セルフマネージドインスタンス向けの MySQL 設定パラメータについては、リファレンスアーキテクチャーの MySQL 設定セクション を参照してください。データベースの作成
Create a database and a user with the following SQL commands. ReplaceSOME_PASSWORD with a secure password of your choice:
SSL/TLS 証明書の要件については、以下の SSL/TLS セクション を参照してください。
Redis
W&B depends on a single-node Redis 7.x deployment used by W&B’s components for job queuing and data caching. For convenience during testing and development of proofs of concept, W&B Self-Managed includes a local Redis deployment that is not appropriate for production deployments. For production deployments, W&B can connect to a Redis instance in the following environments:- AWS Elasticache
- Google Cloud Memory Store
- Azure Cache for Redis
- Redis deployment hosted in your cloud or on-premise infrastructure
オブジェクトストレージ
W&B requires object storage with pre-signed URL and CORS support. For production deployments, W&B recommends using managed object storage services:- Amazon S3: Object storage service offering industry-leading scalability, data availability, security, and performance.
- Google Cloud Storage: Managed service for storing unstructured data at scale.
- Azure Blob Storage: Cloud-based object storage solution for storing massive amounts of unstructured data.
- CoreWeave AI Object Storage: High-performance, S3-compatible object storage service optimized for AI workloads.
MinIO Open Source is in maintenance mode with no active development or pre-compiled binaries. For production deployments, W&B recommends using managed object storage services or enterprise-grade S3-compatible solutions.
セルフホスト型オブジェクトストレージの設定
オブジェクトストアは、署名付き URL をサポートしている Amazon S3 互換のオブジェクトストアであれば、外部でホストすることが可能です。こちらのスクリプト を実行して、お使いのオブジェクトストアが署名付き URL をサポートしているか確認してください。MinIO オープンソースのステータスに関する重要な情報については、以下の MinIO のセットアップセクション を参照してください。 さらに、オブジェクトストアには以下の CORS ポリシーを適用する必要があります。AWS S3 の設定
AWS S3 バケットの場合、W&B CR に以下の設定を行います。S3 互換ストレージの設定
S3 互換ストレージ(MinIO など)の場合は、以下の設定を使用します。?tls=true を追加します。
- ストレージ容量とパフォーマンス: 磁気ディスクを使用しても問題ありませんが、ディスク容量を監視する必要があります。W&B の平均的な利用では数十から数百 GB の結果となりますが、ヘビーな利用ではペタバイト規模のストレージを消費する可能性があります。
- フォールトトレランス(耐障害性): 最低限、オブジェクトを保存する物理ディスクは RAID アレイ上に構成する必要があります。S3 互換ストレージを使用する場合は、分散構成や高可用性構成の検討をお勧めします。
- 可用性: ストレージが利用可能であることを確認するためのモニタリングを設定する必要があります。
MinIO のセットアップ
既存の MinIO デプロイメントまたは MinIO Enterprise を使用している場合は、MinIO クライアントを使用してバケットを作成できます。W&B サーバーアプリケーションの Kubernetes へのデプロイ
推奨されるインストールメソッドは、Helm 経由でデプロイされる W&B Kubernetes Operator を使用することです。 完全なインストール手順については、Run W&B Server on Kubernetes (Operator) を参照してください。以下の内容をカバーしています:- Helm CLI によるデプロイ
- Helm Terraform モジュールによるデプロイ
- W&B クラウド Terraform モジュール
OpenShift
W&B はオンプレミス環境の OpenShift Kubernetes クラスターへのデプロイをサポートしています。詳細については リファレンスアーキテクチャー を、オンプレミスの OpenShift デプロイメントに合わせて調整可能な具体的な設定手順については Operator ガイドの OpenShift セクション を参照してください。ネットワーク
ネットワーク要件、ロードバランサーのオプション、および設定例(nginx を含む)については、リファレンスアーキテクチャーのネットワーキングセクション を参照してください。インストールの確認
To verify the installation, W&B recommends using the W&B CLI. The verify command executes several tests that verify all components and configurations.This step assumes that the first admin user account is created with the browser.
- Install the W&B CLI:
- Log in to W&B:
- Verify the installation: