What problem does it solve?
This Skill simplifies the management of production servers by automating decision-making processes for process managers, monitoring, log handling, scaling, health checks, and security.
Core Features & Use Cases
- Process Management: Select the appropriate supervisor for different applications (e.g., PM2 for Node.js, systemd for Linux services).
- Monitoring: Set up monitoring for availability, performance, errors, and resources with customizable alerts.
- Logging: Implement effective log management practices with rotation, structured logging, and security considerations.
- Scaling: Make informed decisions on scaling strategies, including vertical, horizontal, and auto-scaling.
- Health Checks: Confirm the health of services with detailed checks for liveness, dependencies, and resources.
- Security: Establish a security baseline with access control, firewall rules, patching, and secret management.
- Triage Order: Follow a structured approach to diagnose and resolve incidents.
- Avoid Common Pitfalls: Prevent common server management mistakes with best practices.
Quick Start
Set up server management for a Node.js app using PM2 by running 'server-management setup --app nodejs'.