Categories
auto-remediation stackstorm

Configure Kafka and Stackstorm config

So you have installed stackstorm and the kafka pack, but now we need to configure the pack to consume and produce messages on kafka. The first thing that you should check out is the stackstorm documentation on how packs are configured. After you have read that you will know that in the pack’s repo there […]

Categories
ansible DevOps

Deploying Stackstorm to a server with Ansible

The information about deploying stackstorm to a server with ansible is in the stackstorm docs. Importantly the galaxy role can’t really be used like a normal ansible-galaxy role. You have to clone the repo: git clone https://github.com/StackStorm/ansible-st2 cd ansible-st2 Then update the inventory, for example in inventory: st2 ansible_host=10.200.1.76 ansible_user=cent ansible_sudo_pass=pass Run the playbook: ansible-playbook […]

Categories
DevOps GNU/Linux

Cheapest VPS Linux Server VM in South Africa

TLDR; As at October 2022 – Hostking.co.za has the cheapest Linux VPS – it is a smooth experience provisioning What company provides the cheapest Linux KVM based VPS (Virtual private server) in South Africa. What is a VPS? It is a virtual computer – running on a hypervisor (a bigger computer). It has its own […]

Categories
DevOps GNU/Linux Kong Security Server

Generate a letencrypt ssl certificate for kong api gateway

So you have installed kong and you are ready for it to go into production. Whoops, nossl certificate yet? It is important that you add it as credentials will be moving between your gateway and credentials could be acquired by any party in between the client and your server. But the standalone nginx plugin for […]

Categories
django python

Adding Time taken to respond to a request in the header of a Django Rest Framework Response

Ever wanted to add the time taken for a response to your API, so the client knows how long the server took to send a response? I first noticed this cool feature on AWX, a management platform for ansible playbooks. Their response headers looked like this: So I checked out their source code and copied […]