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 CLI 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 up...

In terraform, 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 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 stop and start Kubernetes cluster on Azure

In the previous Azure post, we’ve shown how to create an Azure Kubernetes Service (AKS) cluster via the Azure CLI. Today, we’ll focus on how to stop and start AKS cluster using the of...

In azure, kubernetes, Apr 04, 2021

How to get all the IP addresses of a group in Ansible

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

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

How to create Kubernetes cluster on Azure

Azure Kubernetes Service (AKS) is a managed Kubernetes service that helps you to deploy and manage clusters with ease. This post describes the commands in steps required to setup a Ku...

In azure, kubernetes, Mar 14, 2021

Push Docker Images to Azure Container Registry using Azure CLI

Azure Container Registry is a private container registry where you can upload and manage your Docker and Open Container Initiative (OCI) images. At the time of writing, the cost of th...

In azure, docker, Mar 07, 2021