> For the complete documentation index, see [llms.txt](https://docs.scepman.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scepman.com/ja/scepman-nodepuroi/deployment-guides/community-guide.md).

# 標準ガイド

ベスト プラクティスに基づいて、PoC または本番環境に SCEPman をセットアップするために必要なすべての手順を案内します。

## Azure デプロイ

要件とリソース概要から始めましょう。\
実用的な Azure リソース設計を計画する必要があることに留意してください。

### 前提条件

#### 必須

* [ ] Azure サブスクリプション（そのサブスクリプションに対して少なくとも Contributor 権限）。
* [ ] Azure の所有者権限（少なくともリソース グループ レベル）。
* [ ] Microsoft Entra ID（Azure AD）の「グローバル管理者」（Graph API へのアクセスに同意）。
* [ ] Azure ポリシーを必ず定義してください [SCEPman の要件に従って](/ja/sono/security-faq.md#azure-cis) （例: TLS を強制しない）。

#### 任意

* [ ] カスタム ドメインを使用する場合は、パブリック ドメイン CNAME（scepman.yourdomain.com）。
* [ ] SSL（ワイルドカード）証明書（または [App Service Managed Certificate](https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate#create-a-free-certificate-preview)）、カスタム ドメインを使用する場合。

### Azure リソースの概要

これらのリソースはすべて、本番環境に推奨されます。

| 種類                      | 説明                                                                                                                                                                                               |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| App Service (x2)        | SCEPman Core と Cert Master アプリケーションを実行するための仮想 Azure 環境であり、CNAME、SSL 証明書、App Settings などのアプリケーション固有の設定を構成するための UI を提供します。                                                                         |
| App Service プラン         | <p>「App Service(s)」用の仮想的なコンピューティング リソースと構成のセットです。</p><p>ここでは、価格レベルとリソースのスケーリングを構成できます。</p>                                                                                                       |
| Key Vault               | シークレットと証明書を安全に保存するためのツールです。SCEPman アプリケーションは、ルート証明書を Key Vault に生成して保存します。                                                                                                                       |
| Application Insights    | SCEPman アプリケーションと要求の洞察を得るための Application Performance Management (APM) ツールです。パフォーマンスの測定に必要で、サービス最適化に適しています。                                                                                       |
| Storage Account         | <p>SCEPman の Certificate Master コンポーネントが失効目的で証明書属性を保存するために使用する Storage Account です。<br><br><em>オプション:</em></p><p>手動更新が構成されている場合、"App Service" は blob ストレージ URI から成果物を読み込みます。</p>                  |
| Log Analytics Workspace | <p>中央集約型のクラウドベースのログ保存領域です。"App Service" はすべてを保存します</p><p>プラットフォームのログとメトリックをこのワークスペースに保存します。<br><br>v3.0 以降、SCEPman は Microsoft の Log Ingestion API を使用して Log Analytics Workspace にログを書き込みます。</p> |

さらに、Private Endpoints を使用している場合は、 [Azure リソースが7つ追加で必要になります。](/ja/azure-gou-cheng/private-endpoints.md#azure-resources-used-for-private-endpoints)

<table><thead><tr><th width="374">種類</th><th>説明</th></tr></thead><tbody><tr><td>仮想ネットワーク</td><td>SCEPman App Services、Key Vault、および Storage Account は、この VNET を介して接続します。</td></tr><tr><td>プライベート エンドポイント (×2)</td><td>Key Vault 用が 1 つ、Storage Account 用が 1 つです。これにより、VNET 経由でアクセスできるようになります。</td></tr><tr><td>プライベート DNS ゾーン (×2)</td><td>Key Vault 用が 1 つ、Storage Account 用が 1 つです。どちらも VNET 内に内部 IP アドレスを持ち、それぞれのプライベート DNS ゾーンに名前があります。</td></tr><tr><td>ネットワーク インターフェイス (×2)</td><td>Key Vault 用が 1 つ、Storage Account 用が 1 つです。プライベート エンドポイントを VNET に接続します。</td></tr></tbody></table>

## 構成手順

{% stepper %}
{% step %}

### SCEPman 基本サービスをデプロイ

{% hint style="warning" %}
これは **必須の** 手順です。
{% endhint %}

デプロイを開始するには、以下のデプロイ手順に従ってください:

{% content-ref url="/pages/80bb82ff9f9faa9dd9b2be4638bb61fd12ddca02" %}
[Marketplace デプロイ](/ja/scepman-nodepuroi/deployment-options/marketplace-deployment.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

### デプロイ後の手順を実施する（権限の割り当て）

{% hint style="warning" %}
これは **必須の** 手順です。
{% endhint %}

SCEPman のすべてのコンポーネントを適切に連携するには、いくつかの権限を割り当てる必要があります。関連する接続を確立するため、以下の手順に従ってください:

{% content-ref url="/pages/c9baa8d4cb5c43880feb830c2ec1c10083883fa7" %}
[マネージド ID](/ja/scepman-nodepuroi/permissions/post-installation-config.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

### Certificate Master の権限を追加

{% hint style="success" %}
これは **必須の** の手順は **Enterprise** **Edition** のお客様向けです。 **Community Edition** ユーザーはこの手順をスキップできます。
{% endhint %}

Certificate Master は **Enterprise Edition** 管理者が証明書を手動で生成および失効できる機能です。Certificate Master へのアクセスを提供するには、以下の手順に従ってください。

{% content-ref url="/pages/89fcf39f72fa6a350a1fcf569e8e1487783f9f0e" %}
[Certificate Master RBAC](/ja/scepman-gou-cheng/rbac.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

### ルート証明書を作成

{% hint style="warning" %}
これは **必須の** 手順です。
{% endhint %}

デプロイと権限の割り当てが完了したら、SCEPman 用のルート証明書を作成する必要があります:

{% content-ref url="/pages/0ebdf2507a832e59c0cf5125ffda7b54f6043866" %}
[ルート CA](/ja/scepman-nodepuroi/first-run-root-cert.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

### カスタム ドメインと SSL 証明書を構成

{% hint style="info" %}
これは **任意の** 手順です。
{% endhint %}

SCEPman を特定のドメインで利用できるようにするには、 **Custom Domain** を **App Service に作成する必要があります。**

{% content-ref url="/pages/8eb47ea387d89933dddb8698281a8acb2f7a1af7" %}
[カスタム ドメイン](/ja/azure-gou-cheng/custom-domain.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

### 手動更新

{% hint style="info" %}
これは **任意の** 手順です。
{% endhint %}

既定では、SCEPman は [常に最新を維持するアプローチ](/ja/azure-gou-cheng/update-strategy.md#evergreen-approach) を更新に採用しています。SCEPman の更新を完全に制御する必要がある場合は、以下のガイドのセクションで説明されているようにデプロイ スロットを構成してください。 **デプロイ スロットの構成**.

{% content-ref url="/pages/d11979f767e4900580bf70531c13b3211e25501f" %}
[更新戦略](/ja/azure-gou-cheng/update-strategy.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

### Application Insights をデプロイ

{% hint style="success" %}
これは **推奨されます** 手順です。
{% endhint %}

Application Insights を使用すると、App Service のパフォーマンスの概要を把握し、SCEPman の要求処理をより深く把握できます。App Service の監視、保守、最適化のために、Application Insights を常に構成することをお勧めします。

{% content-ref url="/pages/0bc9d2f9072f644c25e282f528206c8d1606d40c" %}
[Application Insights](/ja/azure-gou-cheng/application-insights.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

### ヘルス チェックを構成

{% hint style="success" %}
これは **推奨されます** 手順です。
{% endhint %}

SCEPman が動作しなくなった場合に直接通知を受け取れるように、App Service のヘルス チェックを構成できます。

{% content-ref url="/pages/32ff1ed3cf0a5e6f9fe077cdd74cacb7a2488410" %}
[ヘルス チェック](/ja/azure-gou-cheng/health-check.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

### SCEPman に十分なリソースがあることを確認

{% hint style="warning" %}
これは **必須の** 手順です。
{% endhint %}

SCEPman を本番環境に移行したら、十分な計算リソースが備わっていることを確認してください。そのため、Azure サイジング ガイドを確認し、必要であれば App Service プランの階層をアップグレードしてください。この作業は PoC または試用期間の後まで延期しても構いません。

{% content-ref url="/pages/7653b5876336dbccf48b2ad0699905af5aad267b" %}
[App Service のサイズ設定](/ja/azure-gou-cheng/azure-sizing.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

### MDM デプロイ プロファイルを構成

{% hint style="success" %}
これは **推奨されます** 手順です。
{% endhint %}

上記の手順が完了すると、SCEPman は正常に動作する実装となり、デバイスに証明書をデプロイできるようになります。

お使いの MDM ソリューションで証明書をデプロイするには、以下の記事を 1 つ以上ご利用ください:

{% content-ref url="/pages/d707fc5c0d1b5e571123c01e0b8435ced93eec79" %}
[Microsoft Intune](/ja/zheng-ming-shu-guan-li/microsoft-intune.md)
{% endcontent-ref %}

{% content-ref url="/pages/2776ebdbcac8bdd11e7e51f36b87d22571d17925" %}
[Jamf Pro](/ja/zheng-ming-shu-guan-li/jamf.md)
{% endcontent-ref %}

{% content-ref url="/pages/11b60abb2a67558c45dc098171dd45154598686c" %}
[その他の MDM ソリューション](/ja/zheng-ming-shu-guan-li/static-certificates.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

### Certificate Master を使用して証明書を手動発行する、または CSR に署名する

{% hint style="info" %}
これは **任意の** 手順です。
{% endhint %}

以下のリンクに従って、TLS サーバー証明書やその他の証明書の発行方法、または Certificate Master コンポーネントを使用して任意の CSR に署名する方法を確認してください。

{% content-ref url="/pages/13fdf762be2175fdd2546ac4ec8454a1421e7523" %}
[Certificate Master](/ja/zheng-ming-shu-guan-li/certificate-master.md)
{% endcontent-ref %}
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.scepman.com/ja/scepman-nodepuroi/deployment-guides/community-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
