All Stories

How to install Terraform on Rocky Linux 8

Finally, there is a replacement on the CentOS distro. The fresh and new Rocky Linux will replace the CentOS, so the CentOS team announces that they are going to focus on the CentOS St...

In Terraform, Rocky Linux, Jul 02, 2021

How to refresh AWS ECR authorization token

AWS ECR is a managed container registry which allows us to store, manage and deploy container images, mostly Docker images. Similar to Docker Hub, ECR supports two types of registries...

In AWS, Jul 01, 2021

How to resolve AWS Elasticsearch cluster in red or yellow state

Understanding the ES cluster status state is crucial, when it comes to ES troubleshooting. If your role is to keep ES cluster healthy then you have to understand all the three states ...

In AWS, Elasticsearch, Jun 30, 2021

How to list AWS S3 bucket size from the command line

AWS S3 as a service is pretty cheap and probably the most popular one among the rest of the cloud object storage services. S3 is most often used as a database backup storage, log stor...

In AWS, Jun 29, 2021

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