Cannot SSH to instance with AMI ami-04454150d004cb7a1

0

Hi folks,

I'm trying ECS with GPU, so I started with a p2.xlarge instance, and launched it with ami-04454150d004cb7a1, namely amzn2-ami-ecs-gpu-hvm-2.0.20230509-x86_64-ebs. However, I found that I could not SSH to it. Made sure the VPC security group is allowing all traffic. Tried p2.xlarge with other "normal" GPU-less ami and then was able to SSH. Could anyone confirm whether it's a problem with the AMI?

env: p2.xlarge EC2 machine, ami-04454150d004cb7a1, sg: allow all traffic, SSH user name: ec2-user.

Thanks!

1回答
0

If you are using Amazon Linux2, I think it is possible to connect using Systems Manager Session Manager, so one way is to grant the EC2 IAM role AmazonSSMMManagedInstanceCore and try to connect.

Since you were able to connect to other EC2, there may be a possibility that the SSH process is not started properly in the EC2.
Please check the EC2 logs to see if there might be any errors or other problems.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html

profile picture
エキスパート
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ