- Newest
- Most votes
- Most comments
Hello.
Which service is "Secure Endpoint Connection"?
Are you talking about the "EC2 Instance Connect Endpoint"?
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-with-ec2-instance-connect-endpoint.html
If it is an "EC2 Instance Connect Endpoint", it is possible to connect via SSH using Putty.
To connect, execute the following commands at the Shell, etc.
Do not close the shell after executing a command.
aws ec2-instance-connect open-tunnel \
--instance-id i-0123456789example \
--local-port 22
After executing the command, enter "localhost" in the "hostname" field, as shown in the following figure.
After entering, set the SSH key pair that was set when EC2 was started as follows.
Click on "open" once you have made the settings.
After clicking, enter "ec2-user" when the following screen appears.
After entering, press enter to connect.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-using-eice.html#eic-connect-using-ssh
Relevant content
- Accepted Answerasked 7 months ago
- Accepted Answerasked 7 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Nonetheless, the primary objective of this feature is to eliminate the requirement for a public IP and a private key file. In a scenario where I launch a private instance without a public IP and private key file, how can I establish a connection? Are there alternative methods available for connecting to the private instance using Putty?
When using Putty, the connection cannot be established without specifying the private key. So, if you do not want to use a private key, the only way to connect is through the AWS CLI using PowerShell or Bash Shell.
Thank you for providing clarification....!