Unable to connect to instance from a newly created ami: Failed to start Service for snap ap…amazon-ssm-agent.amazon-ssm-agent
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.
AMI created by Server Migration ServiceAccepted Answerasked 4 months ago
Unable to connect to instance from a newly created ami: Failed to start Service for snap ap…amazon-ssm-agent.amazon-ssm-agentasked 6 months ago
EC2 instance fails to start after changing instance type from t2 to t3asked 6 months ago
Password is not available for custom AMIasked a year ago
Error on Dashboard "An error occurred" and unable to create instance due to "Error loading AMI data".asked a month ago
Upgrade Ubuntu AMI version from 16.04 to 22.04asked a month ago
Newly Created Lightsail Instances - refused to connect errorasked 6 months ago
Unable to create instance from newly created AMIasked 3 years ago
CloudFormation template publishing without creating and publish an AMIasked 3 years ago
Unable to SSH to new instances unless its an AWS AmiAccepted Answerasked 3 years ago