EC2 connect through AWS SSM
What is AWS EC2 Connect
Amazon EC2 Instance Connect is a simple and secure way to connect to your instances using Secure Shell (SSH). With EC2 Instance Connect, you can control SSH access to your instances using AWS Identity and Access Management (IAM) policies as well as audit connection requests with AWS CloudTrail events.
How To configure AWS EC2 Connect in Leapp
Warning
If your Leapp Desktop App is warning you that you're missing the AWS Session Manager Plugin, please install it following this official guide.
You can directly connect to an AWS EC2 instance from Leapp through AWS System Manager (AWS SSM).
Info
To setup SSM follow this SSM guide on AWS guide.
To correctly connect follow these steps:
- Right-click on a suitable AWS session to open the contextual menu.
- Click on View SSM sessions.
- Select the AWS region in which your instance is located.
- Wait for Leapp to load your instances.
- Select the instance and click connect.
- Wait for the terminal to open.
- Focus the terminal window and write
/bin/bash
; press Enter and you'll be inside the terminal of your instance.
Video tutorial
Warning
If the user is not granted the right permissions, the operation will fail and Leapp will throw an error message.