Ravi Sir's Cards › AWS
logrotate safely
What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.
Read card text
What this card says
Why do we need it?
Stop logs filling the disk.
What is it?
daily, rotate 7, compress.
How to do it
Dry-run before trusting.
Example
Test a config.
sudo logrotate -d /etc/logrotate.d/nginx