Quick post on how to setup HTTP Basic Authentication and whitelist IP Based Sources to not get prompted for Authentication. This could be useful for systems interacting with Nginx, so that they don't have to provide authentication. #carbonads { font-family: -apple-system,
Ruan Bekker
A collection of 244 posts
Setup Payara Java Application Server on Ubuntu 16.04
Today we will setup Payara 5 on Ubuntu 16.04 About: Payara is an Open Source Java Application Server. Pre-Requirements: Update and Install Java 8: $ apt update && apt upgrade -y $ apt-get install wget curl unzip software-properties-common python-software-properties -y
Create a Logical Storage Volume using LVM on Ubuntu
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
Subscribe to Sysadmins
Subscribe today and get access to a private newsletter and new content every week!