Tag: CLI
Analyze Apache Logs Using Athena
I usually use Linux utilities like grep and awk to analyze requests coming to my blog server. These utilities provide a good view into...
Build and Push Docker image to Amazon ECR
Background
In this post I am going to share a bash script that I use to build a docker container image from a Dockerfile and...
Update Image Using Packer
Background
Recently I published a post to show how to remove old EC2 instances using a Lambda function. This in itself does not do much...
Query AWS CloudTrail Logs Using CLI
Background
AWS CloudTrail is an AWS service that helps you enable governance, compliance, and operational and risk auditing of your AWS account. Actions taken by...
AWS Encryption CLI Examples
Background
In this post I am going to demonstrate how to use the AWS Encryption CLI to perform client side encryption and decryption of files...
Set Retention for CloudWatch Logs
Amazon provides us with CloudWatch logs to monitor, store and access log from various AWS services like, EC2 instances, Route 53, RDS, AWS CloudTrail,...