Login to AWS and go to the EC2 Instance overview
https://eu-central-1.console.aws.amazon.com/ec2/v2/home?region=eu-central-1#Instances:v=3
Here you can see if the instance is running:
![](https://keys.support/wp-content/uploads/2022/01/Snag_39c7bf-1024x502.png)
It’s possible to take a screenshot of the instance. Check the Keys.Express Live > Action > Monitor and Troubleshoot > Get instance screenshot
![](https://keys.support/wp-content/uploads/2022/01/Snag_3b1ed3-1024x344.png)
if the website is down it may be a memory problem. You can right click on the instance and select Stop Instance. Wait for the status to be stopped. Then right click again > Start instance.
If the instance won’t stop you can force stop the instance.
![](https://keys.support/wp-content/uploads/2022/01/Snag_3c80c5.png)
Setup SSH to EC2 Server
Select the instance > Connect
You will see the connection parameters > SSH Client
![](https://keys.support/wp-content/uploads/2022/01/Snag_3ea5c7.png)
you need to find the keys-express.pem file and configure your SSH Client
![](https://keys.support/wp-content/uploads/2022/01/Snag_40f2e4.png)
![](https://keys.support/wp-content/uploads/2022/01/Snag_4126a6.png)
Useful commands to troubleshoot
sudo -i
free -h / show free memory
df -h / see disk space
top / shows CPU occupation
CPU 97% us – user space > applications are using most CPU
0.6% sy > kernel space
search the logs
cat syslog | grep -i “Out of memory”
cat syslog | grep -i “java”
cat syslog | grep -i “php7.4”
cat syslog | grep -i “error”
cat syslog | grep -i “fail”