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!

已提問 9 個月前檢視次數 276 次
1 個回答
2
已接受的答案

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
專家
已回答 9 個月前
profile picture
專家
已審閱 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南