Install EC2 Instance Connect on your EC2 instances - Amazon Elastic Compute Cloud
Configure your Amazon EC2 instance to support EC2 Instance Connect.