Freeing up space used by docker containers.

When building or working with docker containers, you may get error messages like the one below relating to a lack of space: The error occurs because Docker objects accumulate over time and can eventually exhaust available storage. To resolve do the following: This will tell you how much space Docker objects are taking up in … 

 

Encryption using Python and AWS

In this post I’ll show you how to encrypt and decrypt strings using the AWS Encryption SDK and AWS KMS. Step 1: Install the AWS SDK for Python and the Encryption SDK You’ll need boto3 to create a Master Key programmatically and the aws-encryption-sdk for encrypting and decrypting data. Step 2: Add AWS credentials to … 

 

Tmux

A part of my job involves connecting to a couple of Amazon EC2 instances(Linux servers) regularly to run commands, build, debug and deploy code. All along I’ve been using tabs terminal tabs to keep track of each server connection and the processes running in it. Using the terminal emulator’s tabs feature works okay for simple …