4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
newest first
  • The beginners guide to Infrastructure Automation — Medium

    [Summary, full note in Shaarli]
    The beginner's guide to Infrastructure Automation (Medium, @rdsubhas, via cron weekly). "Encore un bon article qui explique où se situe Docker vis à vis de la CM."

    • Coordinated releases and snowflake servers: manual deployments over a weekend, every server set up by hand, easy mistakes (one forgotten server in the 2012 trading disruption cost over $400M), and nobody can rebuild a server that dies.
    • Task runners (Bash, Perl, Python scripts): automate the steps but are neither idempotent ("user already exists" on a second run) nor portable (apt-get vs yum, coreutils differences).
    • Configuration management (CFEngine, Puppet, Chef, Ansible, Salt): describe the end state (user www in group nobody, /var/www owned by www, OpenJDK 1.6) and the tool works out the diff. Idempotent and cross-platform. Pitfalls: admins writing execute "apt-get ..." everywhere, developers writing endless include_recipe; you need both ops and dev skills, sometimes the automation code is bigger than the app.
    • Immutable infrastructure: always throw the old server away and start from a fresh, identical OS, so plain scripts are enough. Made practical by VMs, cloud and Vagrant. Pros: no patching live machines, no soft upgrades, zero-downtime switch. Cons: slow to provision, service discovery as IPs change, no persistent data on the server (hard for databases, NFS), co-hosting apps.
    • Containers: kernel features (process groups with CPU/memory limits, chroot, virtual ethernet, mounts) give a sandbox close to a VM that starts in seconds; Unix zones, then LXC made it mainstream.
    • Container images: Docker made repeatable images (Dockerfile = a "fat application") shipped from dev to prod; hosts only need Docker (CoreOS, Rancher).
    • State isn't dead: it shrinks to environment variables per environment.
    • DevOps: devs own their application's image, ops build the platform that runs containers (scalability, performance, resilience, uptime). Devs do ops, ops do dev.
    July 17, 2016 - permalink - https://medium.com/@rdsubhas/demystifying-devops-part-1-3745bf1da72e#.bvarz68oz
    cm devops docker puppet
  • Opening a TrueCrypt volume in Ubuntu 14.04 without TrueCrypt | Munir's Blog of Many Things

    1) sudo apt-get install cryptsetup
    2) sudo cryptsetup open --type tcrypt file.tc Whatever
    ....
    3) umount
    4) sudo cryptsetup close Whatever

    July 13, 2016 - permalink - https://alumnus.alumni.caltech.edu/munir/2015/02/18/opening-a-truecrypt-volume-in-ubuntu-14-04-without-truecrypt/
    tc truecrypt
  • ThinkPad X1 Carbon | World’s Lightest 14" Business Ultrabook | Lenovo US

    xps, mac book air, celui là.. dur de faire un choix ;)

    July 12, 2016 - permalink - http://shop.lenovo.com/us/en/laptops/thinkpad/x-series/x1-carbon-4/
    hardware
  • Action View Overview — Ruby on Rails Guides

    Très bien pour les pages marketting où les textes à traduire varient beaucoup trop et où l'utilisation des variables n'est donc pas pratique.
    C'est aussi bien pour les mails !

    July 11, 2016 - permalink - http://guides.rubyonrails.org/action_view_overview.html#localized-views
    i18n rails
  • Containers Vs. Config Management

    bonne description

    July 11, 2016 - permalink - https://blog.containership.io/containers-vs-config-management-e64cbb744a94
    chef cm docker puppet
  • Monitorama PDX 2016 - Portland, OR sur Vimeo

    Hop j'ai commencé à les regarder, bien plus intéressants que Dotscale à mon gout.

    July 10, 2016 - permalink - https://vimeo.com/channels/1098614/page:1
    conf monitoring
  • DevOps Hierarchy of Needs

    Je suis assez d'accord avec cet article, la culture est très importante car tout seul on fait rien..

    July 7, 2016 - permalink - http://www.forest-technologies.co.uk/blog/devops-hierarchy-of-needs
    devops
  • Effet binôme

    Ça me rappelle la fac :D

    July 7, 2016 - permalink - http://www.luc-damas.fr/humeurs/effet-binome/
    master
  • Deploy your OpenVPN server in 44 seconds

    Cool en plus c'est open source (docker)

    July 7, 2016 - permalink - https://www.scaleway.com/imagehub/openvpn/
    docker openvpn
  • Request denied.

    Sérieux ? Sinon y'a une technique infaillible : faire un virement des qu'on a sa paye, c'est plus simple quand même.

    July 7, 2016 - permalink - http://blog.ifttt.com/post/146558123933/3-quirky-ways-to-save-money-with-qapital-and-ifttt
    banque finance ifttt iot
  • This Packing Trick Will Fit Your Whole Life Into One Suitcase

    Clever

    July 7, 2016 - permalink - http://www.huffingtonpost.com/entry/packing-hack-roll-into-ball-travel_us_56bbb09fe4b0b40245c53bb7
    valise
  • Devops commando - Paris Devops 2016-04

    via irc

    July 7, 2016 - permalink - http://fr.slideshare.net/fdevillamil/devops-commando-paris-devops-201604
    devops
  • Scaling Elasticsearch at Synthesio

    via irc

    July 7, 2016 - permalink - http://fr.slideshare.net/fdevillamil/elasticsearch-at-synthesio
    elastic
  • Use a load-balancer as a first row of defense against DDOS

    L'utilisation des stick-table dans haproxy. On peut s'en servir comme compteurs pour empêcher les abus (ddos, crawl..)

    July 6, 2016 - permalink - http://blog.haproxy.com/2012/02/27/use-a-load-balancer-as-a-first-row-of-defense-against-ddos/
    crawl haproxy limit rate
  • Wox

    Je pense que ça me servira jamais mais allez je mets ça de côté.

    July 6, 2016 - permalink - http://www.getwox.com/
    launcher windows
  • Pitfalls and Common Mistakes | NGINX
    July 6, 2016 - permalink - https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
    debug nginx
  • Debugging Nginx Configuration
    July 6, 2016 - permalink - https://easyengine.io/tutorials/nginx/debugging/
    debug nginx
  • Everything You Need to Know About ELK Stack 5.0 - Logz.io

    Via Skunnyk

    July 5, 2016 - permalink - http://logz.io/blog/elk-stack-5-0/
    elasticsearch elk twitter
  • Living, in Limbo - Hintjens.com

    Rappel

    Via HN

    July 5, 2016 - permalink - http://hintjens.com/blog:121
  • Install and configure Proxmox VE

    à voir ce que ça donne

    via Nico

    July 4, 2016 - permalink - https://www.proxmox.com/en/proxmox-ve/get-started
    kvm virtualisation
  • Docker Swarm Mode Walkthrough

    Génial ce qu'on peut faire avec Docker out of the box maintenant :-)

    July 4, 2016 - permalink - https://www.youtube.com/watch?v=KC4Ad1DS8xU
    docker swarm twitter
  • mod_proxy - Serveur Apache HTTP Version 2.2

    Un peu tordu.. Pour spécifier à Apache d'utiliser un proxy pour atteindre certaines URL

    July 4, 2016 - permalink - http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxyremote
    apache proxy
  • HAProxy Documentation Converter

    Une autre manière de parcourir la doc haproxy
    Un peu plus pratique avec le menu à gauche ^^

    via VG

    July 4, 2016 - permalink - http://cbonte.github.io/haproxy-dconv/
    conf haproxy
  • Tomcat load balancing – mod_proxy vs mod_jk le match | Blog Technique Xebia - Cabinet de conseil IT

    Bon, c'est bien comme je pensais, ça ne sert plus à grand chose en 2016.

    July 3, 2016 - permalink - http://blog.xebia.fr/2010/02/03/tomcat-load-balancing-mod_proxy-vs-mod_jk-le-match/
    ajp java
  • Elasticsearch 5.0.0-alpha4 released | Elastic

    Bientôt la stack en 5.0

    July 2, 2016 - permalink - https://www.elastic.co/blog/elasticsearch-5-0-0-alpha4-released
  • Dear Graphite Users and Developers

    Ça c'est une très bonne nouvelle !

    July 2, 2016 - permalink - https://blog.raintank.io/dear-graphite-users-and-developers/
    graphite
  • Web application name to backend mapping in HAProxy | HAProxy Technologies – Aloha Load Balancer

    Very convenient way to confgure haproxy

    via VG Doo

    July 1, 2016 - permalink - http://blog.haproxy.com/2015/01/26/web-application-name-to-backend-mapping-in-haproxy/
    haproxy map
  • Understanding Nginx Server and Location Block Selection Algorithms | DigitalOcean

    Très intéressant l'algo utilisé par nginx pour choisir le bloc server et ensuite le bloc location. Je me demande si il existe des astuces pour debug en cas de problèmes... (comment savoir dans quel(s) bloc(s) passe une request ?)

    June 28, 2016 - permalink - https://www.digitalocean.com/community/tutorials/understanding-nginx-server-and-location-block-selection-algorithms
    configuration logic nginx
  • Containers Vs. Config Management
    June 26, 2016 - permalink - https://blog.containership.io/containers-vs-config-management-e64cbb744a94?gi=9f56020ac4e0
    12factor bestof docker
  • The Twelve-Factor App
    June 26, 2016 - permalink - http://12factor.net/
    12factor best ci docker env factor plan practice unix variable
  • Why 12 Factor Application Patterns, Microservices and CloudFoundry Matter
    June 26, 2016 - permalink - https://spring.io/blog/2015/01/30/why-12-factor-application-patterns-microservices-and-cloudfoundry-matter
    12factor bestof devops
  • Why 12 Factor Application Patterns, Microservices and CloudFoundry Matter? Part 2 – What to change and how. – /dev
    June 26, 2016 - permalink - http://www.agilemobiledeveloper.com/2015/06/10/why-12-factor-application-patterns-microservices-and-cloudfoundry-matter-part-2-what-to-change-and-how/
    12factor bestof devops
  • Note: vimdiff and included colorscheme

    They all sux to visualize difference EXCEPT:
    1) murphy
    2) torte

    :colorscheme murphy

    June 23, 2016 - permalink - https://links.infomee.fr/shaare/3de1_g
    color vim vimdiff
  • Carrying your Git settings around

    .ssh/authorized_keys

    environment="GIT_AUTHOR_NAME=Arnaud M",environment="GIT_AUTHOR_EMAIL=arnaud@foo.bar",environment="GIT_COMMITTER_NAME=Arnaud M",environment="GIT_COMMITTER_EMAIL=arnaud@foo.bar" ssh-rsa .....

    Peut être pratique quand plusieurs personnes commit depuis le même serveur (pour avoir un historique git avec les noms..)

    June 22, 2016 - permalink - http://cweiske.de/tagebuch/carry-git-settings.htm
    git ssh
  • Note: Nagios bricolage..

    contexte : le plugin firefox que j'utilise pour checker nagios ne permet pas de filtrer comme je veux les alertes c'est à dire :
    https://nagiosserver/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28&serviceprops=41002&hostprops=41002&sorttype=1&sortoption=6&sorttype=1&sortoption=1

    Solution temporaire, crado, de la rewrite avec nginx :

    server {
    listen 80 default_server;
    location / {
    rewrite ^.*$ /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28&serviceprops=41002&hostprops=41002&sorttype=1&sortoption=6&sorttype=1&sortoption=1 break;
    proxy_pass https://nagiosserver;
    proxy_redirect off;
    }
    }

    Je fais tourner ça en local, je fais pointer mon plugin sur localhost, et voilà !

    June 22, 2016 - permalink - https://links.infomee.fr/shaare/2MGbUw
    nagios
  • Get the members of a nodegroup, must be run from the master
    June 21, 2016 - permalink - https://gist.github.com/jalons/650f9686e855221751a38f03c3d0b302
    salt
  • My First 10 Minutes On a Server - Primer for Securing Ubuntu
    June 19, 2016 - permalink - http://www.codelitt.com/blog/my-first-10-minutes-on-a-server-primer-for-securing-ubuntu/
    security
  • MySQL Back-up: Take a mysqldump with each database in its own SQL File

    mysql -N -e 'show databases' | while read dbname; do mysqldump --complete-insert --routines --triggers --single-transaction "$dbname" > "$dbname".sql; done

    todo : regarder les options

    June 19, 2016 - permalink - https://ma.ttias.be/mysql-back-up-take-a-mysqldump-with-each-database-in-its-own-sql-file/
    backup dump mysql
  • The Children's Illustrated Guide to Kubernetes
    June 19, 2016 - permalink - https://deis.com/blog/2016/kubernetes-illustrated-guide/
    cronweekly docker k8s
  • How to Safely Store Your Users' Passwords in 2016 - Paragon Initiative Enterprises Blog
    June 16, 2016 - permalink - https://paragonie.com/blog/2016/02/how-safely-store-password-in-2016
    password security
  • nagios-plugin-elasticsearch/check_elasticsearch at master · anchor/nagios-plugin-elasticsearch · GitHub
    June 14, 2016 - permalink - https://github.com/anchor/nagios-plugin-elasticsearch/blob/master/check_elasticsearch
    check es nagios
  • Solved: Skype group chat not working anymore - Skype Community

    Probleme de conversation cachée...
    To solve this "LoggedOut" issue, try this on any chat window:

    /msnp24

    and restart your Skype.

    After restarting, /dumpmsnp output shows the following status:

    System: MSNP: Connection Data (MSNP24):
    * Status: LoggedIn

    June 13, 2016 - permalink - https://community.skype.com/t5/Linux/Skype-group-chat-not-working-anymore/td-p/3987288
    skype
  • Note: graphite, python, dispatch

    TIL :
    - wsp files has a length limit.
    - use gauge in type, dont fucking use counter (it accepts only integer)

    June 10, 2016 - permalink - https://links.infomee.fr/shaare/FJATHQ
    graphite
  • The Bash Hackers Wiki [Bash Hackers Wiki]
    June 8, 2016 - permalink - http://wiki.bash-hackers.org/
    bash
  • Summary Salt Highstate Outputter · GitHub

    Un output compact au high state

    June 6, 2016 - permalink - https://gist.github.com/JustinCarmony/e1f764bc650999ac872e
    salt
  • SSL/TLS and PKI Timeline

    via skunnyk

    June 1, 2016 - permalink - https://www.feistyduck.com/ssl-tls-and-pki-timeline/
    https pki ssl timeline tls
  • Restart a hanged virtual machine | XenLens

    Sometimes it may happen that your vm has hanged and XenCenter controls(Reboot and Force Reboot) do not work.

    You may see an error when you try to force a reboot (The operation could not be performed because a domain still exists for the specified VM.).

    This is a process to reboot the hanged vm from the XenServer host console.

    To get the uuid of the VM that is hung:

    xe vm-list

    Get the vm domain id by uuid:

    list_domains

    Then destroy the domain of the vm:

    /opt/xensource/debug/destroy_domain -domid

    Now you can force a reboot on your vm:

    xe vm-reboot uuid= --force

    If it has no effect you can also try:

    xe vm-reset-powerstate uuid= --force

    May 31, 2016 - permalink - http://www.xenlens.com/restart-a-hanged-virtual-machine/
    xen
  • Regarder "Campagne "Ça suffit le gâchis"" sur YouTube

    Excellent!

    May 29, 2016 - permalink - https://www.youtube.com/playlist?list=PLIGbVmWpW-WwEnLCtx0zjilu90Woa9qNG
    campagne gachi pub
  • Using Bash To Output To Screen And File At The Same Time

    tee : pour output à la fois sur stdout et dans un fichier

    May 29, 2016 - permalink - http://www.skorks.com/2009/09/using-bash-to-output-to-screen-and-file-at-the-same-time/
    output stdout
  • Note: Test Sensu

    [Summary, full note in Shaarli]
    Retour de test de Sensu (monitoring).

    Installation en "standalone" (toute l'archi sur un host, assez pour tester ou une petite infra) : redis, rabbitmq (donc erlang), sensu-server, sensu-client, sensu-api, et le dashboard libre uchiwa. Côté clients : juste le daemon sensu-client configuré pour joindre rabbitmq. Doc correcte mais incomplète (beaucoup de "coming soon").

    Ressenti :
    - Pas une solution clé en main : plutôt un framework, pas mal de travail avant d'avoir quelque chose qui tourne, mais très souple.
    - Checks configurables côté serveur (classique) ou côté client : le client exécute ses checks et envoie les résultats, sans config serveur, ce qui simplifie la gestion de conf.
    - Uchiwa est basique, surtout en lecture seule ; EDIT : on peut quand même "stash" un service ou un host pour ne plus créer d'alertes.
    - Deux types de checks : classiques (0/1/2 = OK/WARNING/CRITICAL comme Nagios) et "metrics" (clé valeur timestamp) qu'on peut envoyer vers graphite : tout au même endroit, on pourrait se passer de collectd.

    Piste : passer de Nagios/collectd/graphite/grafana/statsd à Sensu/graphite/grafana/statsd.

    May 28, 2016 - permalink - https://links.infomee.fr/shaare/F5SAfw
    monitoring sensu supervision
▼ Load 50 more