Blogs

Ansible Create Local User

Ansible Create Local User

Ansible is a powerful automation tool that can help you manage and automate your infrastructure. One of the many things that Ansible can do is create and manage users, including the ability to add SSH keys for secure access. In this blog post, we will go over how to use Ansible to create a new user and add an SSH key for that user.

First, we need to create a new Ansible playbook. A playbook is a YAML file that contains instructions for Ansible on what tasks to execute. The playbook we will create will have two tasks: one to create the new user and one to add the SSH key for that user.

Ansible Initial Steps

Getting started with Ansible

Ansible is a powerful tool for automating the configuration and management of servers and infrastructure. In this blog post, we’ll go over the basics of how to get started working with Ansible, including how to install it, how to create and run a simple playbook, and how to organize and manage your playbook files.

First, let’s talk about installation. Ansible is a Python-based tool, so you’ll need to have Python installed on your system in order to use it. The easiest way to install Ansible is to use a package manager like pip:

How to add a Grafana Telegraf InfluxDB dashboard

How to add a Grafana pre-built dashboard

Once you have configured your Grafana + InfluxDB + Telegraf host and you have confirmed that you are sending data, the next step you want to perform is to create a dashboard to display it’s metrics. These are the steps that you’ll need to follow to install a pre-built Grafana dashboard. We will be using the dashboard listed here

First you need to go to

Grafana Influxdb Telegraf

Grafana - InfluxDB - Telegraf Linux Monitoring howto

This is a quick tutorial to install Grafana, InfluxDB and Telegraf on a Debian based system

Grafana has recently become one of the preferred tools for data visualization, this tool provides the users with the required tooling to display data via charts and graphs and these can be unified into one dashboard.

InfluxDB is a time series database. This means that it’s a collection of observations of well-defined data items resulted through repeated measurements over time. Time series data is indexed in time order which is a sequence of data points.

Nuevo tema para el blog y regresando

Después de un largo tiempo de silencio y ausencia, me di un tiempo para retomar el blog, revisar la configuración, tema y contenido. Seleccioné un nuevo tema para darle un nuevo spin al blog y poder agregar contenido.

De regreso al blog

Después de mucho tiempo de ausencia, estoy regresando a utilizar Hugo blog para generar contenido. En los siguientes días voy a estar escribiendo acerca de las tecnlogías recientes que he estado utilizando en el trabajo.

Ansible First Steps

Ansible intro

Ansible is a configuration management tool developed and maintained by RedHat. It can be used to install, remove, start, stop, restart and manage configuration files for services on your systems. Ansible can automate the state of a set of services and configuration files across an environment no matter the size of it. Your infrastructure can be composed of a small set of servers or a large environment across different regions.

How to set a default region zone in Gcloud

This post is in context of setting up a k8s cluster. K8s requires a set of machines to host the k8s control plane and the worker nodes where containers are ultimately run.

kwame@r2d2:~$ gcloud config set compute/region us-west1
Updated property [compute/region].
kwame@r2d2:~$ gcloud config set compute/zone us-west1-c
Updated property [compute/zone].
kwame@r2d2:~$ 

How to create a bare git repo

What is Git?

Git is a version-control system for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for source-code management in software development, but it can be used to keep track of changes in any set of files

To align with best practices, it is recommended to store all your code in version control. This will help you to modify, restore and reproduce your project with less effort.

Kong: An intro to API Gateway's

Please take notice that this blog post is work in progress

While working on some tasks in the past few weeks, I faced a problem that involved setting a “filter” for an application that was exposed to the internet.

The application receives requests with some data, process it and then it produces an output, the problem was that the application did not have much control on how many requests it could receive in a specific time frame or from which source it could receive this requests.