All Stories

Convert Linux commands output from CSV to JSON

CSV to JSON conversion is commonly used in the Monitoring part of the DevOps cycle, usually when we need to gather some data, parse it, and ship it via some monitoring agent, like Flu...

In Parsing, Linux, Sep 18, 2021

How to export and import Elasticsearch Index with Docker

Synchronizing the ES index data between your prod, dev and local ES cluster environment is now achievable with Docker. Moving the index data, mapping or analyzer can be done through t...

In Elasticsearch, Docker, Sep 17, 2021

Declarative vs Imperative Infrastructure as Code

With the uprising of Terraform in the last couple of years, Infrastructure as Code (IaC) is a popular and hot topic in the DevOps world. Managing and deploying infrastructure is all w...

In IaC, Sep 16, 2021

How to install Docker Compose on Debian 11

We previously saw how to install Docker on Debian 11. As a sequel, I’m going to round it off with the docker compose installation on Debian 11.

In Docker, Debian, Sep 15, 2021

Reboot VMs with Ansible

Speaking of configuration management, Ansible is the most popular open-source automation tool out there. It’s mostly used for automating day to day operation activities, from installi...

In Ansible, Sep 14, 2021

How to get private IP address of Fargate ECS task with metadata

Previously I’ve explained How to SSH into an AWS ECS Fargate-managed container. In this tutorial, I will cover some steps on how can you get the private IP address of a Fargate ECS co...

In AWS, Sep 13, 2021

Reusing templates in Terraform

Working with Terraform and keeping the infrastructure code DRY has always been fun. If you’ve been deploying AWS S3 policies, or IAM policies, adding variables and making them reusabl...

In Terraform, Sep 12, 2021

How to check if your web application is under DDoS attack

Nowadays, most of the web applications are vulnerable and exposed on many kinds of attacks. One of them is a DDoS attack. There are a lot of services on the internet that are offering...

In DDOS, Sep 11, 2021

Elasticsearch Garbage Collection

Elasticsearch, as you might already know, is a free and open-source search and analytics engine developed in Java. In today’s topic we are going to cover the Garbage Collection part o...

In Elasticsearch, Sep 10, 2021

Define the CPU and memory values for tasks hosted on Fargate

Migrating your ec2 instances on ECS to Fargate will let you focus on building applications instead of managing servers. Maybe you will ask yourself, which size do you need to pick up ...

In AWS, Sep 09, 2021