Unable to connect to instance from a newly created ami: Failed to start Service for snap ap…amazon-ssm-agent.amazon-ssm-agent

0

Hello, I created an ami on from an ubuntu 18.04 instance. AMI was generated without any errors. However, when I launch a new instance from the ami, instance reachability check fails and I unable to ssh into the instance. After looking at the logs, I got the following error message:

...
[FAILED] Failed to start Service for snap ap…amazon-ssm-agent.amazon-ssm-agent.
See 'systemctl status snap.amazon-ssm-a….amazon-ssm-agent.service' for details.
Failed to start Service for snap ap…amazon-ssm-agent.amazon-ssm-agent.

I cannot the command as the instance is not accessible by ssh. Can anyone please help? Thank you.

  • Did you ever find out the solution to this? I am receiving the same error.

질문됨 2년 전693회 조회
1개 답변
0

Can you use the AWS Serial Console to access the instances? Then you'll be able to look at the log file or run the command above to determine where the issue is.

profile pictureAWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠