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.

asked 2 years ago676 views
1 Answer
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions