On the point about AWS, there are settings in your account to prevent that happening - whoever is managing it may have set the log out time a bit low.
12 hours is typically enough but, for the days it isn't (i.e. something breaks and I'm working over time), it becomes tiresome.