Many library professionals have been asking me that Koha log outs frequently after installing it on cloud/VPS. And they are not able to do tasks on koha. So in order to fix the problem, please do the below steps. Go to your staff client interface
Koha administration --> Global system preference --> Administration --> Login options
Here you need to modify SessionRestrictionByIP into NO from YES and save the preference.