Logical Volume Manager (LVM) - adds an extra layer between the physical disks and the file system, which allows you to resize your storage on the fly, use multiple disks, instead of one, etc. Concepts: Physical Volume: Physical Volume represents
Populate Environment Variables from Docker Secrets with a Flask Demo App
In this post we will create a basic Python Flask WebApp on Docker Swarm, but we will read our Flask Host, and Flask Port from Environment Variables, which will be populated from Docker Secrets, which we will read in from
Forwarding The Docker Socket via a SSH Tunnel to Execute Docker Commands Locally
With automation in mind, when you want to execute docker commands remotely, you want to do it in a secure manner, as you don't want to expose your Docker port to the whole world. One way in doing that, is
Experimenting with Python and Flata the Lightweight Document Orientated Database
Flata is a lightweight document orientated database, which was inspired by TinyDB and LowDB. Why Flata? Most of the times my mind gets in its curious states and I think about alternative ways on doing things, especially testing lightweight apps
Using AWS SSM Parameter Store to Retrieve Secrets Encrypted by KMS using Python
Today we will use Amazon Web Services SSM Service to store secrets in their Parameter Store which we will encyrpt using KMS. Then we will read the data from SSM and decrypt using our KMS key. We will then end
Expanding the Size of your EBS Volume on AWS EC2 for Linux
Resizing your EBS Volume on the fly, that is attached to your EC2 Linux instance, on Amazon Web Services. We want to resize our EBS Volume from 100GB to 1000GB and at the moment my EBS Volume is 100GB, as
Docker Environment Substitution with Dockerfile
The 12 Factor way, is a general guideline that provides best practices when building applications. One of them is using environment variables to store application configuration. What will we be doing: In this post we will build a simple docker
Basic RESTFul API Server with Python Flask
A Basic RESTFul API Service with Python Flask. We will be using the Flask, jsonify and request classes to build our API service. Description of this demonstration: Our API will be able to do the following: Create, Read, Update, Delete
Subscribe to Sysadmins
Subscribe today and get access to a private newsletter and new content every week!