CnspecCloudAws
cnspec lets you remotely scan EC2 instances using EC2 Instance Connect:
- Open a terminal.
- Set the
AWS_REGIONenvironment variable where the instance is running. - Run:
cnspec scan aws ec2 instance-connect USER@HOST
| For... | Substitute... |
|---|---|
| USER | Your user name for the AWS account |
| HOST | The instance's public IP |
To learn about configuring EC2 instances with EC2 Instance Connect, read Connect to your Linux instance using EC2 Instance Connect in the AWS documentation.