1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
6 Reboot also done
You mentioned that you restarted EC2, but has the public IP of EC2 changed?
If ElasticIP is not set on EC2, the public IP will change.
https://repost.aws/knowledge-center/ec2-recover-ip-address
Also, is it possible to connect using SSM Session Manager instead of SSH?
If you are using Amazon Linux 2023, etc., the SSM agent is preinstalled, so you will be able to connect by setting the necessary IAM role.
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html
Relevant content
- asked a year ago
- asked a year ago

already elastic ip has set
If so, can you connect with Session Manager and check if sshd is running?
should i install SSM agent to connect with Session Manager? This is the error message what i am getting. "SSM Agent is not online The SSM Agent was unable to connect to a Systems Manager endpoint to register itself with the service." Even after i installed ssm (placed installation commands through user data) it doesn't work.