I have restarted my Amazon AWS EC2 server and after that i couldn’t reach it anymore. I figured out that the ip address changed.
How to assign a static ip address?
Amazon calls static ips „elastic ips“.
Under Network & Security you can Allocate a new ip address and with a click on actions -> associate address you are able to assign the static ip to your server.