本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
instance_report
重要
所以此 AWS OpsWorks Stacks 服務於 2024 年 5 月 26 日終止使用壽命,並已針對新客戶和現有客戶停用。我們強烈建議客戶盡快將其工作負載移轉至其他解決方案。如果您對移轉有任何疑問,請聯絡 AWS Support 團隊上 AWS Re: 郵寄
傳回延伸的執行個體報告。
sudo opsworks-agent-cli instance_report
下列輸出範例來自執行個體。
$ sudo opsworks-agent-cli instance_report AWS OpsWorks Instance Agent State Report: Last activity was a "configure" on 2015-12-01 18:19:23 UTC Agent Status: The AWS OpsWorks agent is running as PID 30998 Agent Version: 4004-20151201152533, up to date OpsWorks Stack: MyCookbooksDemoStack OpsWorks Layers: MyCookbooksDemoLayer OpsWorks Instance: cookbooks-demo1 EC2 Instance ID: i-a480e9EX EC2 Instance Type: c3.large Architecture: x86_64 Total Memory: 3.84 Gb CPU: 2x Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz Location: EC2 Region: us-west-2 EC2 Availability Zone: us-west-2a Networking: Public IP: 192.0.2.0 Private IP: 198.51.100.0