Is Putty Compatible with AWS' New Feature, Secure Endpoint Connection?

0

I have successfully connected to the private instance using AWS' new feature called Secure Endpoint Connection, using Windows cmd, PowerShell, WSL, and the Linux terminal. Now, I'm wondering if I can use Putty to connect to the same private instance.?

KARTHIK
asked 7 months ago232 views
1 Answer
1
Accepted Answer

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.
putty

After entering, set the SSH key pair that was set when EC2 was started as follows.
p

Click on "open" once you have made the settings.
d

After clicking, enter "ec2-user" when the following screen appears.
s

After entering, press enter to connect.
e

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-using-eice.html#eic-connect-using-ssh

profile picture
EXPERT
answered 7 months 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....!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions