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!

gefragt vor 9 Monaten275 Aufrufe
1 Antwort
2
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 9 Monaten
profile picture
EXPERTE
überprüft vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen