All Stories

How to stop all running EC2 instances from the command line

Stopping preproduction, staging environment EC2 instances could be described sometimes as a good practice. In the next few lines, I’ll show you how you can easily stop all running EC2...

In AWS, Jun 27, 2021

How to install Terraform on Ubuntu 20.04

All the cloud service providers have integrated and ease the way of using Terraform. So, using Terraform as infrastructure as code tool will efficiently minimize your code and speed u...

In Terraform, Ubuntu, Jun 25, 2021

SSH into an AWS ECS Fargate-managed container

Managing servers from the developers’ side causes difficulties. To avoid such situations AWS offers Fargate, the new compute engine which will manage your ECS cluster depending on you...

In SSH, AWS, Jun 22, 2021

How to install Ansible on Ubuntu

Ansible is an IT automation tool that can help you to simplify the deployments of your applications, efficiently manage your infrastructure servers, and provides a lot of features and...

In Ansible, Ubuntu, Jun 06, 2021

How to get the IP addresses of a group in Ansible

Usually when developing an Ansible role, most of the time we need to write a jinja2 template for some configuration file. Speaking from personal experience, I was writing an Elasticse...

In Ansible, Mar 28, 2021

How to fix ECS CloudFormation template if it's stuck in the rollback state

If your microservices are using ECS services and the deployments are going through CloudFormation, that sometimes can cause weird issues. For example, if there is an application error...

In AWS, Mar 24, 2021

Useful Docker and docker-compose commands

Working with Docker Compose in a development environment can be challenging sometimes for the newcomers, unless you got the time on your hands to google everything from stack overflow...

In Docker, Mar 21, 2021

Build a Docker image and push it to Docker Hub

This tutorial is aimed to show you how to build and push an image to the Docker Hub repo. Let’s jump on the steps bellow.

In Docker, Feb 21, 2021

How to install Docker Compose on Ubuntu 19.04

Installing Docker Compose on Ubuntu 19.04 will get some benefits in terms of the procedure of starting multiple Docker containers, creating volumes, etc. But, before installing Docker...

In Docker, Ubuntu, Dec 15, 2019

How to install Docker on Ubuntu 19.04

Following the steps below will let you realize that installing Docker on Ubuntu 19.04 is not that hard as it seems, so let’s see how you can do it.

In Docker, Ubuntu, Dec 13, 2019