Skip to content

Instantly share code, notes, and snippets.

@khairulcs
Last active October 25, 2019 07:51
Show Gist options
  • Save khairulcs/27e0ba29fca02dd7a1ba0f71e61a4abb to your computer and use it in GitHub Desktop.
Save khairulcs/27e0ba29fca02dd7a1ba0f71e61a4abb to your computer and use it in GitHub Desktop.
How to Cloud Servering

1. Get a DB graph for last 30 minutes (AWS)

Go to RDS -> Databases -> Select the database -> Monitoring -> Filter CloudWatch -> Click CPU Utilization -> Filter based on req

2. Get websocket server errors logs for last 30 minutes (forever)

  1. SSH into websocket server
  2. run forever list
  3. Refer to the script column for the log file that is related
  4. go into the logfile path
  5. run view filename.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment