Ruan Bekker

@ruanbekker

630 Points 4 Followers

23 Posts

0 Answers

Joined February 15th, 2021

I love cloudy stuff, containers, automation, linux and sharing my knowledge with the world.

Setup a Self-Hosted Git Service with Gitea

Gitea is a self-hosted git service written in Go, it's super lightweight to run and supports ARM architectures as well, so you can run it on a Raspberry Pi as well. What are we doing today I...

Ruan Bekker

1 month ago

5
Select One:

Redirect Systemd Unit Logs to Syslog

By default when we create a systemd unit file and start the service using systemd, we can access the logs using journalctl as: $ sudo journalctl -fu <unit-name> If we wanted to redire...

Ruan Bekker

1 month ago

3
Select One:

Install Nodejs on Linux using NVM

In this post we will install Nodejs using Node Version Manager (nvm), which allows you to install and use different versions of node via the command line. For more information on NVM, checko...

Ruan Bekker

1 month ago

3
Select One:

Setup Glitchtip Exception Monitoring on Docker

Glitchtip is a open-source exception monitoring system, it's similar to Sentry, which collects errors reported from your applications and helps you discover errors in real time and also help...

Ruan Bekker

1 month ago

1
Select One:

A Tour with Vagrant and VirtualBox on Mac

Vagrant, yet another amazing product from Hashicorp. Vagrant makes it really easy to provision virtual servers for local development (not limited to), which they refer as "boxes",...

Ruan Bekker

3 months ago

4
Select One:

Running Traefik Proxy on Docker

In this tutorial we will be setting up Traefik v2 as our reverse proxy with port 80 and 443 enabled, and then hook up a example application behind the application load balancer, and route i...

Ruan Bekker

4 months ago

6
Select One:

Performance Monitoring with Elastic APM

In this post we will setup a Python Flask Application which includes the APM Agent which will collect metrics, that gets pushed to the APM Server. If you have not setup the Elastic Stack wi...

Ruan Bekker

6 months ago

2
Select One:

Weather Monitoring with Grafana and the DHT22 Sensor

In this tutorial, we will connect the DHT22 sensor to the Raspberry Pi Zero via the GPIO pins to measure temperature and humidity and visualize it with Grafana. Then we will write a Python e...

Ruan Bekker

8 months ago

4
Select One:

Getting Started with Prometheus and Node Exporter

Prometheus is one of those awesome open source monitoring services that I simply cannot live without. Prometheus is a Time Series Database that collects metrics from services using it's expo...

Ruan Bekker

8 months ago

7
Select One:

AWS S3 KMS and Python for Secrets Management

So your application need to store secrets and you are looking for a home for them. In this tutorial we will see how we can use Python, S3 and KMS to build our own solution for managing secre...

Ruan Bekker

8 months ago

3
Select One:

Setup a Serverless URL Shortener on AWS

Today we will setup a Serverless URL Shortener using API Gateway, Lambda with Python and DynamoDB. Overview The service that we will be creating, will shorten URLs via our API which will cre...

Ruan Bekker

8 months ago

3
Select One:

Using Python RQ for Task Queues in Python

This is a getting started on python-rq tutorial and I will demonstrate how to work with asynchronous tasks using python redis queue (python-rq). What will we be doing We want a client to sub...

Ruan Bekker

8 months ago

5
Select One:

Gitlab CICD Pipeline to Deploy your Python Flask API with Postgres on Heroku

Today we will build a Restful API using Python Flask, SQLAlchemy using Postgres as our Database, testing using Python Unittest, a CI/CD Pipeline on Gitlab, and Deployment to Heroku. Should y...

Ruan Bekker

9 months ago

4
Select One:

Capturing 54 Million Passwords with a Docker SSH Honeypot

The last couple of days I observed thousands of SSH Brute Force Attacks, so I decided I will just revisit my SSH Server configuration, and change my SSH port to something else for the interi...

Ruan Bekker

9 months ago

5
Select One:

Encryption using PyCrypto in Python

While I'm learning a lot about encryption at the moment, I wanted to test out encryption with the PyCrypto module in Python using the Advanced Encryption Standard (AES) Symmetric Block Ciphe...

Ruan Bekker

9 months ago

3
Select One:

Improve MySQL Write Performance Using Batch Writes

I am no DBA, but I got curious when I noticed sluggish write performance on a mysql database, and I remembered somewhere that you should always use batch writes over sequential writes. So I...

Ruan Bekker

9 months ago

2
Select One:

Setup a Hugo Blog with the Kiera Theme

In this tutorial we will setup a Hugo Blog with the Kiera theme on Linux and will be using Ubuntu for this demonstration, but since Hugo runs on Go, you can run this on Windows, Linux or Mac...

Ruan Bekker

9 months ago

1
Select One:

Setup AWS S3 Cross Account Access

In this tutorial, I will demonstrate how to set up cross-account access for S3, from using two AWS Accounts. Scenario We will have 2 AWS Accounts: a Green AWS Account which will host the I...

Ruan Bekker

9 months ago

1
Select One:

Getting Started with Grafana Loki for Logging

Logging with Loki is AMAZING! Background In the past couple of months I've been working a lot with logging, but more specifically logging with Loki. As most of my metrics reside in Promethe...

Ruan Bekker

9 months ago

1
Select One:

Using the libvirt provisioner with Terraform for KVM

In this post we will use the libvirt provisioner with Terraform to deploy a KVM Virtual Machine on a Remote KVM Host using SSH and use Ansible to deploy Nginx on our VM. In my previous post...

Ruan Bekker

9 months ago

1
Select One:

Sending Slack Messages with Python

In this post I will demonstrate how to send messages to slack using python based on the status of an event. We will keep it basic, that when something is down or up, it should send a slack m...

Ruan Bekker

9 months ago

2
Select One:

HTTPS for Local Development with MiniCA

In this tutorial we will use minica to enable us to run our web applications over HTTPS for local development. To read more about about minica check out their website. Generate Certificates...

Ruan Bekker

9 months ago

2
Select One:

Running Grafana Loki behind Nginx Reverse Proxy

In this tutorial I will demonstrate how to run Loki v2.0.0 behind a Nginx Reverse Proxy with basic http authentication enabled on Nginx and what to do to configure Nginx for websockets, whic...

Ruan Bekker

9 months ago

2
Select One:

Loading More Content