instance_report
Important
The AWS OpsWorks Stacks service reached end of life on May 26, 2024 and has been disabled for both new and existing customers.
We strongly recommend customers migrate their workloads to other solutions as soon as possible. If you have questions about migration, reach out to the AWS Support Team on AWS re:Post
Returns an extended instance report.
sudo opsworks-agent-cli instance_report
The following output example is from an instance.
$ 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