Cookie the Pom

Analyze Apache Logs Using Athena

0
I usually use Linux utilities like grep and awk to analyze requests coming to my blog server. These utilities provide a good view into...

Start EC2 and set DNS in CloudFlare using Lambda

0
In my previous posts, I showed two ways to set DNS for an EC2 server that does not have an Elastic IP attached to...

Block a user agent using Cloudflare rule

2
A while ago I published a post showing how to start a script on boot using systemd. In the example I used a simple...

Lambda Function To Remove Old EC2 Instances

0
Background The firm where I am working right now has a strong emphasis on security for infrastructure in the public cloud. One of the security...

Setting DynamoDB TTL with Lambda Python

2
Background I use a lot of EC2 Spot instances and for audit/debugging purposes I like to keep track of EC2 instance state changes. I had...

ss command to monitor network connections on Linux

0
netstat was one of the first commands I used on a Linux server to monitor network connections between servers. However, on a busy server...