

• 2026 年 4 月 30 日之後將不再提供 AWS Systems Manager CloudWatch Dashboard。客戶可以繼續使用 Amazon CloudWatch 主控台來檢視、建立和管理其 Amazon CloudWatch 儀表板，就像現在一樣。如需詳細資訊，請參閱 [Amazon CloudWatch Dashboard 文件](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Dashboards.html)。

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# AWS Systems Manager Distributor
<a name="distributor"></a>

Distributor是 中的工具 AWS Systems Manager，可協助您封裝軟體並將其發佈至 AWS Systems Manager 受管節點。您可以封裝並發佈自己的軟體，或使用 Distributor 尋找和發佈 AWS提供的代理程式軟體套件，例如 **AmazonCloudWatchAgent** 或第三方套件，例如 **Trend Micro**。發佈套件會將套件文件的特定版本公告至您使用節點 IDs、 AWS 帳戶 IDs、標籤或 識別的受管節點 AWS 區域。若要開始使用 Distributor，請開啟 [Systems Manager 主控台](https://console.aws.amazon.com//systems-manager/distributor)。在導覽窗格中，選擇 **Distributor**。

在 Distributor 建立套件後，您可以用下列其中一種方法安裝套件：
+ 使用 [AWS Systems Manager Run Command](run-command.md) 安裝一次
+ 使用 [AWS Systems Manager State Manager](systems-manager-state.md) 根據排程進行

**重要**  
由第三方賣方分發的套件不受 管理 AWS ，並由套件的廠商發佈。我們建議您開展額外的盡職調查，以確保符合您的內部安全控制項。安全性是 AWS 與您之間的共同責任。這被描述為共同的責任模式。如需進一步了解，請參閱[共同的責任模型](https://aws.amazon.com/compliance/shared-responsibility-model/)。

## Distributor 如何為我的組織帶來益處？
<a name="distributor-benefits"></a>

Distributor 提供這些好處：
+  **一個套件，許多平台** 

  當您在 Distributor 中建立套件時，系統會建立 AWS Systems Manager 文件 (SSM 文件)。您可以將 .zip 檔案連接至此文件。當您執行 Distributor 時，系統會處理 SSM 文件中的指示，並在指定的目標上將軟體套件安裝在 .zip 檔案中。Distributor 支援多種作業系統，包括 Windows、Ubuntu Server、Debian Server 和 Red Hat Enterprise Linux。如需支援的平台的詳細資訊，請參閱[支援的套件平台和架構](#what-is-a-package-platforms)。
+  **跨受管執行個體群組控制套件存取權** 

  您可以使用 Run Command 或 State Manager 來控制哪些受管節點能取得套件，以及取得哪個版本的套件。Run Command 和 State Manager 是 AWS Systems Manager中的工具。受管節點可以透過執行個體或裝置 ID、 AWS 帳戶 號碼、標籤或 AWS 區域進行分組。您可以使用 State Manager 關聯，提供不同版本的不同執行個體群組。
+  **包含許多 AWS 代理程式套件，隨時可供使用** 

  Distributor 包含許多可供您部署到受管節點的 AWS 代理程式套件。尋找在 `Amazon` 發佈的 Distributor `Packages` 清單頁面上的套件。範例包括 `AmazonCloudWatchAgent` 和 `AWSPVDriver`。
+  **自動化部署** 

  為了將您的環境保持在最新狀態，請使用 State Manager 在那些機器首次啟動時，排程目標受管節點的自動化部署套件。

## 誰應該使用Distributor？
<a name="distributor-who"></a>
+ 任何想要建立或部署現有軟體套件 AWS 的客戶，包括 AWS 已發佈的套件，一次到多個 Systems Manager 受管節點。
+ 建立軟體套件的軟體開發人員。
+ 負責用最新軟體套件將 Systems Manager 受管節點保持在最新的管理員。

## Distributor 有哪些功能？
<a name="distributor-features"></a>
+  **部署到 Windows 和 Linux 執行個體**的套件 

  使用 Distributor，您可以將軟體套件部署到適用於 Linux 和 的 Amazon Elastic Compute Cloud (Amazon EC2) 執行個體和 AWS IoT Greengrass 核心裝置Windows Server。如需支援的執行個體作業系統類型清單，請參閱 [支援的套件平台和架構](#what-is-a-package-platforms)。
**注意**  
macOS 作業系統不支援 Distributor。
+  **一次部署套件，或在自動化排程** 

  您可以選擇一次、定期或是預設套件版本變更時部署套件。
+  **完全重新安裝套件或執行就地更新** 

  若要安裝新套件版本，您可以根據您提供的*更新指令碼*，完全解除安裝目前版本，並在其位置安裝新版本，或僅以新的和更新的元件更新目前版本。您的套件應用程式在重新安裝期間無法使用，但在就地更新期間仍可使用。就地更新對於安全性監視應用程式或其他需要避免應用程式停機的案例特別有用。
+  **主控台、CLI、PowerShell 和 Distributor 功能的軟體開發存取權** 

  您可以使用 Distributor Systems Manager 主控台、 AWS Command Line Interface (AWS CLI) AWS Tools for PowerShell、 或您選擇的 AWS SDK 來使用 。
+  **IAM 存取控制** 

  透過使用 AWS Identity and Access Management (IAM) 政策，您可以控制組織哪些成員可以建立、更新、部署或刪除套件或套件版本。例如，您可能想授予管理員許可以部署套件，但不會變更套件或建立新的套件版本。
+  **記錄和稽核功能支援** 

  您可以透過與其他 整合 AWS 帳戶 ，在 中稽核和記錄Distributor使用者動作 AWS 服務。如需詳細資訊，請參閱[稽核和記錄 Distributor 活動](distributor-logging-auditing.md)。

## 什麼是 Distributor 中的套件？
<a name="what-is-a-package"></a>

*套件*是可安裝型軟體或包含以下的資產。
+ 每個目標作業系統平台的軟體 .zip 檔案。每個 .zip 檔案必須包含以下。
  + **install** 和 **uninstall** 指令碼。Windows Server 型受管節點需要 PowerShell 指令碼 (名為 `install.ps1` 和 `uninstall.ps1` 的指令碼)。Linux 型受管節點需要 shell 指令碼 （名為 `install.sh`和 的指令碼`uninstall.sh`) AWS Systems Manager SSM Agent。 會讀取並執行 **install**和 **uninstall**指令碼中的指示。
  + 一個可執行檔。SSM Agent 必須找到這個可執行檔，並在目標受管節點上安裝套件。
+ 描述封裝內容的 JSON 格式的資訊清單檔案。此資訊清單不包含在 .zip 檔內，但與 .zip 檔案存放在相同的 Amazon Simple Storage Service (Amazon S3) 儲存貯體形成套件。此資訊清單識別套件版本，並將套件裡的 .zip 檔案對應至目標受管節點屬性，例如作業系統版本或架構。如需如何建立資訊清單的資訊，請參閱[步驟 2：建立 JSON 套件資訊清單](distributor-working-with-packages-create.md#packages-manifest)。

當您在 Distributor 主控台選擇建立 **Simple** (簡便) 套件，Distributor 會根據軟體可執行檔案名稱和目標平台及架構，為您產生安裝和解除安裝指令碼、檔案雜湊和 JSON 套件資訊清單。

### 支援的套件平台和架構
<a name="what-is-a-package-platforms"></a>

您可以使用 Distributor 將套件發佈至下列 Systems Manager 受管節點平台。版本數值必須符合您設為目標的作業系統 Amazon Machine Image (AMI) 確切版本。如需決定此版本的詳細資訊，請參閱[步驟 2：建立 JSON 套件資訊清單](distributor-working-with-packages-create.md#packages-manifest)的步驟 4。

**注意**  
Systems Manager 不支援 AWS IoT Greengrass 核心裝置的所有下列作業系統。如需詳細資訊，請參閱《 *AWS IoT Greengrass Version 2 開發人員指南*》中的[設定 AWS IoT Greengrass 核心裝置](https://docs.aws.amazon.com/greengrass/v2/developerguide/setting-up.html)。


| 平台 | 資訊清單檔案中的代碼值 | 支援的架構 | 
| --- | --- | --- | 
| AlmaLinux | almalinux |  x86\$164 ARM64  | 
|  Amazon Linux 2 和 Amazon Linux 2023  |   `amazon`   |  x86\$164 或 x86 ARM64 (Amazon Linux 2 和 AL2023、A1 執行個體類型)  | 
|  Debian Server  |   `debian`   |  x86\$164 或 x86  | 
|  openSUSE  |   `opensuse`   |  x86\$164  | 
|  openSUSE Leap  |   `opensuseleap`   |  x86\$164  | 
|  Oracle Linux  |   `oracle`   |  x86\$164  | 
|  Red Hat Enterprise Linux (RHEL)  |   `redhat`   |  x86\$164 ARM64 (RHEL 7.6 及更新版本、A1 執行個體類型)  | 
| Rocky Linux | rocky |  x86\$164 ARM64  | 
|  SUSE Linux Enterprise Server (SLES)  |   `suse`   |  x86\$164  | 
|  Ubuntu Server  |   `ubuntu`   |  x86\$164 或 x86 ARM64 (Ubuntu Server 16 及更新版本、A1 執行個體類型)  | 
|  Windows Server  |   `windows`   |  x86\$164  | 

**Topics**
+ [Distributor 如何為我的組織帶來益處？](#distributor-benefits)
+ [誰應該使用Distributor？](#distributor-who)
+ [Distributor 有哪些功能？](#distributor-features)
+ [什麼是 Distributor 中的套件？](#what-is-a-package)
+ [設定 Distributor](distributor-getting-started.md)
+ [使用 Distributor 套件](distributor-working-with.md)
+ [稽核和記錄 Distributor 活動](distributor-logging-auditing.md)
+ [故障診斷 AWS Systems Manager Distributor](distributor-troubleshooting.md)