EC2 instance connectivity error

0

receiving the below error whenever I try connecting to instance:

"Failed to connect to your instance Error establishing SSH connection to your instance. Try again later."

I have also attached the screenshots of error received.Enter image description here

Enter image description here

I have some questions to enquire:

[1]. I want to directly connect ec2 instance from AWS Dashboard.

[2]. how to find my SSH user name login as for connecting with putty.

[3]. Can I connect and using aws SES SMTP and brevo SMTP both at the same time?

Please answer all my above questions!

asked 9 months ago264 views
1 Answer
2
Accepted Answer

Hello.

I want to directly connect ec2 instance from AWS Dashboard.

Perhaps you are trying to connect to EC2 using Instance Connect.
The following documents list the prerequisites for use, so please make sure you have met all of them.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-set-up.html

how to find my SSH user name login as for connecting with putty.

EC2 uses the public key authentication method for SSH connections by default.
So it is possible to SSH from putty, etc. using the private key corresponding to the key pair set at EC2 startup.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
Note that the user name will change depending on the operating system you are using.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-to-linux-instance.html#connection-prereqs-get-info-about-instance
To use password authentication for SSH users, the EC2 sshd settings must be changed.

Can I connect and using aws SES SMTP and brevo SMTP both at the same time?

Depends on the application hosted on EC2.
For example, Application A could use Amazon SES to send email and Application B could use Brevo to send email.

profile picture
EXPERT
answered 9 months ago
profile picture
EXPERT
reviewed 9 months ago

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