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.

demandé il y a 2 ans693 vues
1 réponse
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
EXPERT
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions