AWS Systems Manager Run Command - AWS Systems Manager

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

AWS Systems Manager Run Command

使用 Run Command (AWS Systems Manager 的功能),您可以從遠端安全地管理受管節點的組態。受管節點混合多雲端環境中針對 Systems Manager 設定的任何 Amazon Elastic Compute Cloud (Amazon EC2) 執行個體或非 EC2 機器。Run Command 可讓您自動執行常見的管理任務,並進行大規模的單次組態變更。您可以從 AWS Management Console、AWS Command Line Interface (AWS CLI)、AWS Tools for Windows PowerShell 或 AWS 開發套件使用 Run Command。提供 Run Command 而不收取其他費用。若要開始使用 Run Command,請開啟 Systems Manager 主控台。在導覽窗格中,選擇 Run Command

管理員使用 Run Command 來安裝或引導應用程式、建置部署管道、在執行個體從 Auto Scaling 群組移除時擷取日誌檔案,將執行個體加入 Windows 網域等。

入門

下表提供的資訊,可協助您開始使用 Run Command。

主題 詳細資訊

設定 AWS Systems Manager

確認您已完成混合多雲端環境中 Amazon Elastic Compute Cloud (Amazon EC2) 執行個體和非 EC2 機器的設定要求。

針對混合多雲端環境設定 Systems Manager

(選用) 透過 AWS 註冊內部部署伺服器和虛擬機器,讓您能夠使用 Run Command 進行管理。

設定適用於邊緣裝置的 AWS Systems Manager

(選用) 設定邊緣裝置,以便您可以使用 Run Command 管理這些裝置。

在受管節點上執行命令

了解如何執行透過使用 AWS Management Console 以一或多個受管節點為目標的命令。

Run Command演練

了解如何使用 Tools for Windows PowerShell 或 AWS CLI 執行命令。

EventBridge 支援

此 Systems Manager 功能作為 Amazon EventBridge 規則中的事件類型和目標類型受到支援。如需詳細資訊,請參閱 使用 Amazon EventBridge 監控 Systems Manager參考:Systems Manager 的 Amazon EventBridge 事件模式和類型