CnspecCloudAws

cnspec lets you remotely scan EC2 instances using EC2 Instance Connect:

  1. Open a terminal.
  2. Set the AWS_REGION environment variable where the instance is running.
  3. Run: cnspec scan aws ec2 instance-connect USER@HOST
For...Substitute...
USERYour user name for the AWS account
HOSTThe 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.