Openstreat map Docker och docker compose

Split up in separate containers ! Running openstreetmap map in docker was hard. And the docs all wanted to run it bounded with postgress and not in separate containers.I setup so we can run osm I different containers for you to scale https://github.com/mattiashem/osm Clone this GitHub repo and then start it with docker compose build […]

Read

K8s Logs to Elastic with Dynamic ILM from annotations

#fluentd #fluent-bit #kubernetes #elasticsearch #ILM #logpain The time a spent fixing logs problems … From cleaning out logs that eats disk setting up log-rotate and now Elasticsearch ….. I want a easy log system that setups a Elasticsearch ILM with different life time on the logs depending on a annotation that I set on the […]

Read

Gitlab runners in K8s Helm (Working DockerInDocker)

So… I spent alot of time trying to get gitlab runners working in kubernetes. using the helm from gitlab.This is the setup i use now that works for me aand that you dont need to put to mutch inte the build job. Replace so you have your domain and key name the file runners1-values.yaml Apply […]

Read

Vault EKS / AWS to pod The complete guide

I have bean working some time with vault and to deploy it to our EKS cluster and then to get the secrets into our pods.After many hours of searching i have found out that using kube-vault and vault-env. This gude uses tarraform to setup the resources you need in AWS. Then deploy the kubevault with […]

Read

Modsecurity 3 dos / scaraping protection Working !

Yess this is a brute force that work for modsecurity 3 and its not that many. Spent days searching the net and trying to find out how to get them working. First setup a devoloper box Start by cloning this repo i have https://github.com/Ollebo/modsecurity3 it using the OWASP Modsecurity docker that i run is boxWARNING: […]

Read

Filebeat => logstash => Elasticsearch and working modules

Setting up filbeat modules to work when you are uisng logstash to send logs over to elastic. So i started setting up filbeat to ship my mysql-slow.log and planned to use the filbeat module. The logs started flowing and after some time i got the logs into the correct index. But to my surprise the […]

Read