Categories
DevOps

Install Netbox on Ubuntu 18.04

You can try using the doc’s on installation on netbox read the docs, however I think it is better to use the link below: Install Netbox on Ubuntu 18.04

Categories
DevOps Kong

Kong: Failure to get a peer from the ring-balancer

Ever seen this error when calling a kong endpoing or making an http request served by kong: HTTP/1.1 503 Service Temporarily Unavailable Connection: keep-alive Content-Length: 59 Content-Type: application/json; charset=utf-8 Date: Wed, 28 Aug 2019 08:08:01 GMT Server: kong/0.14.1 { “message”: “failure to get a peer from the ring-balancer” } What does it mean? It means […]

Categories
auto-remediation DevOps stackstorm

Stackstorm using Configuration variables in python runner actions

What do you do when you don’t want a caller of the api to know the connection credentials to a service on stackstorm? But also don’t want to have to set these variables in the environment when calling the action from a rule? You should use pack configuration Setup your Pack Config Schema You need […]

Categories
DevOps secrets

Storing Secrets for Teams

tl;dr: Use Hashicorp Vault Storing secrets among teams is important. There is a great blog on managing secrets and the things you shouldn’t do which I will highlight here: Using the same password for all the things! Using a shared excel file of secrets Emailing passwords around Using Chat to store secrets Using Git repos […]

Categories
IaaS Terraform

Managing LXC/LXD Linux Containers with Terraform

Disclaimer: This post will not speak about creating and maintaining LXC clusters and networking. This post will introduce LXC/LXD and Terraform seperately, as they are independent things. Once you have enough information about what these things are, I will show you how to use them together. LXC The lightervisor LXC is linux containers. A System […]