本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
在 Application Manager 中使用 Runbook
您可以使用 Automation Runbook 修正來自 Application Manager (AWS Systems Manager 的功能) 的 AWS 資源的問題。Automation Runbook 會定義自動化執行時 Systems Manager 在受管執行個體和其他 AWS 資源上執行的動作。自動化是 AWS Systems Manager 的功能。Runbook 包含循序執行的一或多個步驟。每個步驟都是圍繞單一動作而建立的。來自一個步驟的輸出可以做為後續步驟中的輸入。
當您從 Application Manager 應用程式或叢集中選擇 Start Runbook (啟動 Runbook) 時,系統會根據應用程式或叢集中的資源類型,顯示篩選的可用 Runbook 清單。當您選擇您想要啟動的 Runbook 時,Systems Manager 會開啟 Execute automation document (執行自動化文件) 頁面。
Application Manager 包含下列增強功能,可搭配使用 Runbook。
-
如果您在 Application Manager 中選擇資源的名稱,然後選擇 Execute Runbook (執行 Runbook) 時,系統會顯示該資源類型的 Runbook 篩選清單。
-
您可以在清單中選擇 Runbook,然後選擇 Run for resources of same type (執行相同類型的資源),從而針對所有相同類型的資源執啟動自動化。
開始之前
在您開始從 Application Manager 啟動 Runbook 之前,請執行下列動作:
若要從 Application Manager 啟動 Runbook
開啟位於 https://console.aws.amazon.com/systems-manager/
的 AWS Systems Manager 主控台。 -
在導覽窗格中,選擇 Application Manager。
-
在 Applications (應用程式) 區段中,選擇類別。如果您想要在 Application Manager 中開啟您手動建立的應用程式,選擇 Custom applications (自訂應用程式)。
-
在清單中選擇應用程式。Application Manager 會開啟 Overview (概觀) 標籤。
-
選擇開始執行手冊。Application Manager 會開啟 Automation 小工具彈出視窗。如需有關 Automation 小工具中的選項的資訊,請參閱 執行自動化。