strava-wind-analysis icon indicating copy to clipboard operation
strava-wind-analysis copied to clipboard

Configure Amazon CloudWatch Agent for monitoring EBS free space

Open MathBunny opened this issue 5 years ago • 0 comments

Context: On several occasions, the site became unusable due to the lack of disk space on the EBS storage. More specifically, the main Node.js server crashes frequently resulting in restarts from PM2 and therefore loss of user session data (related: #81).

There are several culprits to this, namely Redis persisting weather data on disk, along with Amazon Linux packages being automatically updated.

Related issues:

  • #98
  • #83

To prevent this monitoring could exist leveraging CloudWatch metrics to automatically create alarms to be proactive before outages hit.

MathBunny avatar Feb 15 '20 07:02 MathBunny