You can now schedule and manage EC2 snapshots from the AWS console. No longer is it necessary to script this out. How's this done? At a high level, You can create a policy to snapshot every 12 or 24 hours based on a tag, setting the number of snapshots to retain. Enable policy, tag instances … Continue reading AWS Snapshot Lifecycle Policies- Finally!
Grepping & RegEx Patterns for Log Filtering in Linux
RegEx, or Regular Expressions, are critical in being able to parse through logs at the CLI. Here are a few examples for different scenarios: Line starts with.... The ^ denotes the beginning of a line. Many logs begin with a timestamp, so if you want to filter lines for a specific date, this works. grep … Continue reading Grepping & RegEx Patterns for Log Filtering in Linux