• 2026 年 4 月 30 日之後, AWS Systems Manager CloudWatch Dashboard 將不再可用。客戶可以繼續使用 Amazon CloudWatch 主控台來檢視、建立和管理其 Amazon CloudWatch 儀表板,就像現在一樣。如需詳細資訊,請參閱 Amazon CloudWatch Dashboard 文件。
本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
使用自動化執行手冊修復應用程式問題
您可以使用 AWS Systems Manager Automation Runbook 修復 中Application Manager工具 AWS 資源的問題。Automation Runbook 定義 Systems Manager 在自動化執行時,對受管執行個體和其他 AWS 資源執行的動作。Automation 是 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 之前,請執行下列動作:
-
請確認您有啟動 Runbook 的正確許可。如需詳細資訊,請參閱設定自動化。
-
檢閱有關啟動 Runbook 的自動化程序文件。如需詳細資訊,請參閱執行由 Systems Manager Automation 提供支援的自動化操作。
若要從 Application Manager 啟動 Runbook
在 https://https://console.aws.amazon.com/systems-manager/
開啟 AWS Systems Manager 主控台。 -
在導覽窗格中,選擇 Application Manager。
-
在 Applications (應用程式) 區段中,選擇類別。如果您想要在 Application Manager 中開啟您手動建立的應用程式,選擇 Custom applications (自訂應用程式)。
-
在清單中選擇應用程式。Application Manager 會開啟 Overview (概觀) 標籤。
-
選擇開始執行手冊。Application Manager 會開啟 Automation 小工具彈出視窗。如需有關 Automation 小工具中的選項的資訊,請參閱 執行由 Systems Manager Automation 提供支援的自動化操作。