CodePudding user response:
There are two possible ways1. AWS problem, what the underlying physical machine has a problem
2. The system itself is unusual, by observing the performance curve, such as CPU mem to observe
In addition, after the restart, may have a look/var/log/message screen, see if there are any suspicious of log,