All Stories

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

Azure VMs Auto-shutdown

Talking about VMs shutdown operation, we got few ways we could do it in Azure: Stop VMs manually from the Portal. Running the az CLI command, described in How to easily Start, Stop,...

In Azure, Sep 08, 2021

How to enable CORS in Nginx

If you are trying to make API calls, and you are getting the following error from Nginx: No Access-Control-Allow-Origin header is present on the requested resource you should definite...

In Nginx, Sep 07, 2021