Sunday, November 27, 2022

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...

Create S3 Bucket using Terraform

Updated on 17th June 2022. Tested build with Terraform version 1.2.3 and the latest AWS Provider v4.19.0. The latest provider has some changes related...

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...

Lambda Function To Remove Old EC2 Instances

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...

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...

Block a user agent using Cloudflare rule

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

Linux Commands a to z

I went for a technical interview yesterday, 1st Oct 2019 and I was asked a question, to name a Linux command for each of...

Must read

Start a script on boot using systemd

In this post I am going to show how...

AWS Lambda Layer example in python

Lambda Layers was one of the most exciting news...

mongodb replica set using docker compose

In this post I am going to show how...

Set ulimits for a script started using systemd

In my previous post I demonstrated how easy it...