Ec2 disconnected

I launched ec2 yesterday and it disappeared today when I found I could not connect to Ubuntu using the terminal. I checked the currently running instance and it showed 0 is running. But apparently, I did not terminate it. This happened twice recently. Does anyone know the reason for this?

This might be helpful.