Archivo del Autor: alfonsograna

Using Adium wiht 2 factor autentication and google apps aka Gsuit

Using google talk inside gmail windows sucks for me. So I installed adium in my macbook and start to configure it. But login never succeed with my actual password my company enforces two factor autentication and adium dosen’t fave that … Seguir leyendo

Publicado en Uncategorized | Deja un comentario

Listing all your AWS instances

Using boto I write a script to list all instances in all geographic regions. The main motivation behind this is that in the amazon web console there is no a way (as far as I know) to list all the … Seguir leyendo

Publicado en Uncategorized | Deja un comentario

Making an aws instance route packets

  After hours of banging my head against the wall, setting up a vyos router to connect the amazon instances with my collocation sites through a IPSec VPN. Finnaly a stackoverflow answer saves me once again, pointing that in order … Seguir leyendo

Publicado en Uncategorized | Deja un comentario

Running a custom script after windows instance spinout in aws

I need to configure an app everytime I spinout an image in aws. The script is a simple powershell script to change an app config in xml. I fin the option to use the –user-data at image launch but the … Seguir leyendo

Publicado en Uncategorized | Deja un comentario

First things to do with a windows server.

If you have no other chance than interact with a windows servers and you feel at home with *nix systems. The first things to do are: Use chocolatey to install packages, chocolatey is the missing package manager for window is … Seguir leyendo

Publicado en Uncategorized | Deja un comentario

ipsec vpn between vyatta / vyos behind dynamic IP address

The solution is simple create a record in a dynamic DNS provider, and  client program in the router update the record whenever the wan address changes. This is the configuration for a peer configured with a dynamic dns client in … Seguir leyendo

Publicado en Uncategorized | Deja un comentario

How to run a process on specific CPU cores on Linux

In modern operating systems theres a feature called processor affinity or CPU pinning. This feature allows to bind a process to a particular CPU core(s). In Linux you can pin a process to a particular CPU core(s) using taskset a … Seguir leyendo

Publicado en Uncategorized | Etiquetado , , | Deja un comentario