Infrastructure needs to be monitored and there exist several tools for this task, not at least because the term “monitoring” is rather fuzzy.However, two great tools for this task are graphite and Prometheus.Both have their pros and cons, like with graphite it is much simpler to keep data for long term analysis, while Prometheus shines …
Author Archives: nikster
Glossary on Linux container technology, runtimes and orchestrators
Microservices Lots of „slim“ and “autonomous” Processes, scalable seperately and, in the best case, replicable. Pro: scalability and resilienceCon: complexity and traceability/transparency (Zipkin → Tracetool) Container / Vms Container technologies (here: Docker, rkt, etc.) use Linux Namespaces to enable runtime isolation for processes on the underlying OS (read: underlying Kernel, LXC, runc, etc.).Example Namespaces are:– …
Continue reading “Glossary on Linux container technology, runtimes and orchestrators”
Notes on Openstack
What is OpenStack and why should I need it? In short terms: OpenStack is a collection of software, made to control resources (e.g. CPU, Harddisks, RAM, etc.) on many hosts efficiently. In other words: it’s a cloud management/orchestration system.I use it to provision VMs. Do you need it? That depends.If you are planning to go …
How To set up a DevOps Pipeline with gitlab and kubernetes
What’s a pipeline? In short: A Pipeline helps you to get your code (or in general: service) from Development (stage) to production (stage) in a short time, while providing the ability for automatic tests in a consistent environment. What’s this about? I”ll build a pipeline that builds a web server in a docker container, tests …
Continue reading “How To set up a DevOps Pipeline with gitlab and kubernetes”
How to set up a kubernetes Cluster
What is kubernetes and why should I need it? Simply put, kubernetes is a tool for managing computing resources. It does this very efficently by abstracting your hardware into one (or more, if you like) big computing resource and therefore highly efficient use of your hardware with very little overhead unlike Virtual Machines for example …
How to set up a puppet infrastructure
What is puppet and why would I need it? Puppet is an open source configuration management tool, that can help you to manage lots of servers without writing customized scripts for setup and maintenance for each one or each group of them.It’s very powerful and comes with lots of modules already, for nearly every task …
How to install and connect a gitlab runner
What’s a gitlab runner and what do I need it for? gitlab runners are worker nodes that can be connected to gitlab to run jobs on.I use the docker executor a lot to build images, but you can run any sort of jobs on them like shell/$language scripts for testing, building, etc., whatever you configure …
Continue reading “How to install and connect a gitlab runner”
How to install gitlab and work with it
What is git? Git is a modern distributed revision control system, in a way pretty much like svn (or cvs, rcs), which is centralized. but git is much more powerful, especially when it comes to working with branches.It’s a full blown devops-tool nowadays and besides keeping track of your code, you can configure build- and …
How to SSL Certificates for your services
What is SSL, what’s a CA and what do I need it for? SSL or nowadays TLS is used to encrypt communication and validate the identity of a service provider.The CA is what establishes the trust in a certificate. In short: if the certificate presented (e.g. by the server) and the CA certificate (you trust …
Continue reading “How to SSL Certificates for your services”
How to build a webservice with docker
To start building a new Service, you’ll need an image first.Our Service will be an apache Server which delivers an application. So get an image from dockerhub or build your own (as described in my last post). We’ll start by creating a working directory for our files: Let’s add a simple Perlscript, that prints “Hello …