Create an haproxy cluster running with docker

    19 May 2019 / Haim Ari / Reading time: 18 minutes

    Host your static website 100% free with jekyll, gitlab pages & cloudflare

    17 May 2019 / Haim Ari / Reading time: 5 minutes

    These days it is easier than ever to build and host a static website without any cost.

    Update NS1 CNAME record by service status

    09 Nov 2018 / Haim Ari / Reading time: 10 minutes

    This is simple docker container build with python, used to failover between Xtradb nodes.

    Using gitlab as your CI/CD system

    25 Feb 2018 / Haim Ari / Reading time: 8 minutes

    Gitlab is a complete solution to unify your deployments and create a robust infrastructure tool, to manage your organization environments

    ECS & Gitlab

    01 Oct 2017 / Haim Ari / Reading time: 4 minutes

    Here is a short guide on how to easily manage your CI/CD on ECS using Gitlab Pipeline & ecs-deploy

    Multi process haproxy stats with grafana

    20 Aug 2016 / Haim Ari / Reading time: 6 minutes

    Multi Process Haproxy stats with Python, Zabbix & Grafana

    How to use Search domain in Fedora24

    08 Jul 2016 / Haim Ari / Reading time: 1 min

    Sometimes you want you DNS configuration to be configured in a specific way For example at work i need a specific “search domain” in order to use short names in aliases and such. There are many other reasons to need this…

    Put host in zabbix maintenance with python

    14 Jun 2016 / Haim Ari / Reading time: 5 minutes

    If you did not remove a node maintenance you can’t create another one with the same name, even if the first one expired. Use this script to check if there is already an existing maintenance for this node and remove it before starting a new maintenance.

    Update-Dyn

    27 Dec 2015 / Haim Ari / Reading time: 6 minutes

    Here is a script that should run on an AutoScale instance when it launches and terminates in order to set and remove hostname by the instance-id. This script will:

    Set up a Mesos Cluster with Kafka Framework

    02 Dec 2015 / Haim Ari / Reading time: 4 minutes

    Apache Mesos is an open-source cluster manager that was developed at the University of California, Berkeley. It “provides efficient resource isolation and sharing across distributed applications, or frameworks”. The software enables resource sharing in a fine-grained manner, improving cluster utilization.

    Upload builds from Jenkins to S3

    05 Oct 2015 / Haim Ari / Reading time: 1 minutes

    If you are using Jenkins as your build server, you can easily and automatically upload your builds from Jenkins to S3 (AWS) This way, if you are using Auto Scaling you can pull your latest build from S3 which is fast and more robust service.

    Install python on Redhat based os without breaking yum

    28 Sep 2015 / Haim Ari / Reading time: 1 min

    Here is how you can safely install python from source:

    Create tar file and exclude files or directories

    28 Sep 2015 / Haim Ari / Reading time: 1 min

    Many times i was asked this question:

    ” how can i exclude files when creating tar archive ? ”

    Remove a zabbix monitored host with Zabbix API

    27 Sep 2015 / Haim Ari / Reading time: 1 minutes

    If you are using AWS Autoscaling and zabbix as your monitoring server, Here is a simple way to remove a host before it is terminated. simply configure it to run at shutdown (/etc/rcd)

    Puppet error Failed to generate additional resources using ‘eval_generate’ SSL_connect returned=1

    25 Sep 2015 / Haim Ari / Reading time: 1 minutes

    If you happen to get this error on your puppet agent node, here is a way to solve the issue

    Ansible (Tower) as your rolling deployment system

    25 Sep 2015 / Haim Ari / Reading time: 4 minutes

    Ansible is a great tool to manage your servers. The ability to launch commands at the same time on all or some of your agent-less hosts makes it very powerful. The open source part of Ansible allows you to run any command/task/playbook/role on your hosts by using commands. If you want to create a pipeline there is no such option… that is where Ansible Tower comes in.

    MasterLess Puppet for AWS autoscaled instances

    23 Sep 2015 / Haim Ari / Reading time: 2 minutes

    Why i moved to MasterLess Puppet for our AWS autoscaled Groups ?