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

# Resources

> アカウント全体のクラウドアセットを検出し、タグでスキャン範囲を絞り込み、コスト・セキュリティ・パフォーマンスの調査結果を一元的なインベントリから対応します。

Resourcesはライブのクロスクラウドインベントリを提供します：ターゲットを絞った検出の実行、サービスとタグによるフィルタリング、リソースごとの最適化アクションのトリガーが可能です。スクリーンショットはAWSを示していますが、ワークフローはサポートされているすべてのクラウドに適用できます。

<iframe width="100%" height="400" src="https://www.youtube.com/embed/mHFUL4_1XaQ" title="CloudThinker Infrastructure Resources Tutorial" style={{ borderRadius: '12px', border: 'none' }} allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

## 前提条件

* 少なくとも1つのクラウドアカウントが接続済み（AWS・GCP・Azure）。
* オプション：検出スコープの設定に使用するタグ（例：`ENV=dev`・`Environment=production`）。

## リソースの検出

<Steps>
  <Step title="検出の開始">
    **Infrastructure → Resources** に移動し、クラウド（ここではAWS）の **Connect** をクリックして **Resource Discovery** を開始します。バナーにフロー（接続・初回スキャンの実行（約30秒）・自動化）が表示されます。

    <Frame>
      <img src="https://mintcdn.com/cloudthinker/9iwDeaqZV0tEjZUF/images/infrastructure/resources/1-resource-discovery-landing.jpg?fit=max&auto=format&n=9iwDeaqZV0tEjZUF&q=85&s=8df802a8126a6994e16a70e9934553d6" alt="AWS接続CTAと仕組みのタイムラインを持つResourcesランディングページ" width="3588" height="2004" data-path="images/infrastructure/resources/1-resource-discovery-landing.jpg" />
    </Frame>
  </Step>

  <Step title="スキャンするサービスの選択">
    含めるサービスを選択します（名前はクラウドによって異なります。スクリーンショットはAWS）。**Select All** を使用するか検索で絞り込み、選択内容が検出スコープに合ったら保存します。

    <Frame>
      <img src="https://mintcdn.com/cloudthinker/9iwDeaqZV0tEjZUF/images/infrastructure/resources/2-resource-discovery-services.jpg?fit=max&auto=format&n=9iwDeaqZV0tEjZUF&q=85&s=7d741c3e4aba56fea6eab79e3ac681d7" alt="AWSサービスタイルを持つサービス選択モーダル" width="3588" height="2004" data-path="images/infrastructure/resources/2-resource-discovery-services.jpg" />
    </Frame>
  </Step>

  <Step title="タグによるスコープ設定">
    `ENV=dev` や `Environment=production` などの環境タグを追加するか、**Add Custom Tag** でチーム・プロジェクト・コストセンター用のタグを追加します。

    * **タグ未選択** → すべてのリソースがスキャンされます。
    * **タグ選択済み** → 選択したタグに一致するリソースのみスキャンされます。

    <Frame>
      <img src="https://mintcdn.com/cloudthinker/9iwDeaqZV0tEjZUF/images/infrastructure/resources/3-resource-discovery-tags.jpg?fit=max&auto=format&n=9iwDeaqZV0tEjZUF&q=85&s=db1655feb89cd4d3c258560a034c9d2e" alt="リソース検出用の環境タグフィルター" width="3588" height="2004" data-path="images/infrastructure/resources/3-resource-discovery-tags.jpg" />
    </Frame>
  </Step>

  <Step title="インベントリの確認とアクション">
    インベントリには合計・節約可能額・リソースごとのエントリが表示されます。リソース名・サービス・カテゴリ（例：Compute）でフィルタリングします。行の **Actions** にホバーして **Optimize Cost**・**Scan Security**・**Check Performance** を実行します。

    <Frame>
      <img src="https://mintcdn.com/cloudthinker/9iwDeaqZV0tEjZUF/images/infrastructure/resources/4-resource-inventory-table.jpg?fit=max&auto=format&n=9iwDeaqZV0tEjZUF&q=85&s=f8e8d58a0ee2664274f827e49bd38945" alt="節約額とインラインアクションを持つリソースインベントリ" width="3588" height="2004" data-path="images/infrastructure/resources/4-resource-inventory-table.jpg" />
    </Frame>
  </Step>
</Steps>

## 検出スコープが他の機能に与える影響

| 機能                                                    | 検出との関係                                                                                |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------- |
| エージェント                                                | クラウドのパーミッションで許可されたすべてのリソースで動作します。検出済みのものだけではありません。検出によりCloudThinker内でのリソース管理が容易になります。 |
| [CloudKeepers](/ja/guide/infrastructure/cloudkeepers) | Keepersはクラウドで許可されたすべてのリソースに対して実行されます。検出スコープによる制限はありません。                               |
| [Assessment](/ja/guide/infrastructure/assessment)     | 検出済みのリソースのみ評価します—先に検出を実行してください。                                                       |

## ヒント

* まず広いスコープで開始し、重要なリソースを見逃さないようにタグで絞り込みます。
* 検出設定が再現可能なように、各スキャンがカバーするサービスとタグを記録しておきます。
* 各スキャン後は、価値の高いコストとセキュリティの調査結果から対応します。

## 次のステップ

<CardGroup cols={2}>
  <Card title="Keepers" icon="radar" href="/ja/guide/infrastructure/cloudkeepers">
    新しいリソースが自動的に評価されるよう継続的な監視をセットアップする
  </Card>

  <Card title="Assessment" icon="clipboard-check" href="/ja/guide/infrastructure/assessment">
    検出済みリソースのWell-Architectedアセスメントを実行する
  </Card>

  <Card title="Plan" icon="list-check" href="/ja/guide/infrastructure/plan">
    リソース最適化アクションからの推奨事項を管理・追跡する
  </Card>

  <Card title="Topology" icon="diagram-project" href="/ja/guide/infrastructure/topology">
    検出済みリソースとその依存関係を可視化する
  </Card>
</CardGroup>
