I can't access to my instance via SSH after rebooting.
Also if Instance Status is running.
How can I fix it?
I can't access to my instance via SSH after rebooting.
Also if Instance Status is running.
How can I fix it?
The public ip address of the EC2 instance will change after the reboot if the instance do not have an elastic ip address assigned. You can check the new public ip address on the EC2 console. If you attach an Elastic ip address, it will not change after reboot.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html