Tags
azure
Enable HTTP/2 for Azure App Service
HTTP/2 was released in 2015 (7 years ago) which is faster and more reliable than HTTP1. In this post I’m gonna show you how easy it can get to upgrade from HTTP1 to HTTP2 for Azure Ap...
In Azure, Mar 25, 2022Enable HTTPS redirection in Azure Functions
HTTPS redirection are quite common these days from security and SEO viewpoint. Today’s topic gonna be about how to enable the redirection in Azure Functions.
In Azure, Mar 21, 2022Save data transfer costs with Cloudflare and Azure
Cloudflare Bandwidth Alliance represents a group of cloud and network providers that are willing to help us as their customers to reduce our data transfer charges. It’s interesting to...
In Azure, Cloudflare, Mar 15, 2022How to get regional Azure public IP address ranges
Public Azure cloud IP ranges and service tags could be important thing when working with services and NSGs (Network Security Groups). The list could be downloaded as a JSON file in a ...
In Azure, Jan 12, 2022How to find the latest Azure deployment template schema API version
Using the latest ARM templates schema API version is important only when provisioning new resources. In general, there is no need to keep up-to-date API version of the already deploye...
In Azure, Nov 17, 2021Get a list of all Azure regions available
Speaking of Azure regions and locations, most of the times we think of the commercial Azure cloud, since there is Azure Government, which basically represents a completely isolated Az...
In Azure, Nov 15, 2021Ways to Provision Infrastructure on Azure
Last week I wrote about the different Ways to Provision Infrastructure on AWS, and as you might expected I’m doing another one, but this time it’s all Azure.
In Azure, Nov 01, 2021Service Endpoints vs Private Links in Azure
Microsoft Azure provides many different options to approach networking, starting from Azure VPN, ExpressRoute, Azure Route Server, NVAs, to name a few. These are more likely to be imp...
In Azure, Oct 10, 20217 Ways to Save Money in the Cloud
Cost optimization is just one of the five pillars of Well-Architected Framework, which is identical across the top 3 public cloud provider players. Although, deploying a billing alarm...
In Cloud, Oct 02, 2021Azure 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, 2021Scale AKS user node pool to 0
In case you missed some of these posts: Create AKS cluster on Azure Start and Stop AKS cluster Configure AKS automatic upgrades
In Azure, Kubernetes, Sep 06, 2021Schedule Automated Start and Stop for Azure VMs
Scheduling automated start and stop for Azure VMs is almost as good as provisioning and deprovisioning infrastructure on-demand, by using Infrastructure as Code (IaC) tools, like Terr...
In Azure, Sep 04, 2021Configure AKS automatic upgrades
Regarding to managed Kubernetes services, IMHO Azure provides the best cloud experience, for a couple of reasons. From authentication and authorization standpoint, AKS integrates well...
In Azure, Kubernetes, Sep 01, 2021Configure Azure CLI automatic upgrades
As part of the Azure CLI series, today we are going to see how we can configure automatic upgrades.
In Azure, Aug 31, 2021How 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, 2021How 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, 2021Push 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, 2021How to upload files to Azure Cloud Shell
As the name says, Azure Cloud Shell is a browser-accessible shell, which is used for managing Azure resources. It comes with two types of command shells Bash and PowerShell. It also g...
In Azure, Nov 27, 2019How to easily Start, Stop, Restart or Delete Azure VMs
Managing Azure Virtual Machines through the Portal could be pretty straighforward. But, it requires multiple steps using the GUI. For example, you’ll have to login to the Portal first...
In Azure, Oct 28, 2019How to reset an Azure VM password
Losing and resetting passwords can be quite frustrating, especially if you are working as an IT guy, who have to reset passwords every day for other employees. The same thing could ha...
In Azure, Oct 26, 2019How to backup and restore an Azure SQL database using Azure CLI
You cannot think of a SQL Server Administration or any kind of a relational and non-relational database administration without the two magic words: backup and restore. Backing up a da...
In Azure, Oct 17, 2019How to rename an Azure SQL database using Azure CLI
As a part of an Azure SQL Database administration series, this post will be a follow up from the last one, where i will write about renaming Azure SQL database, which is kind of a com...
In Azure, Oct 14, 2019How to recover lost admin password for an Azure SQL database using Azure CLI
A very common task that i’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...
In Azure, Oct 13, 2019How to buy custom domain name with Azure App Service Domains
Azure App Service Domains let you buy and manage top-level domains directly from the Azure Portal. These domains will be hosted on the Azure DNS Service, that you can easily map to yo...
In Azure, Oct 11, 2019How to Direct-Upload to Azure Managed Disks
A few days ago, Microsoft announced the preview of direct-upload to Azure Managed Disks. So, there are two ways you could move a VHD to the Azure cloud as a managed disk: Upload the ...
In Azure, Oct 08, 2019How to restore deleted Azure Storage Blobs
Accidental deletion of files can happen to anyone working either on-premise or in the cloud. As a DevOps engineer who is responsible for managing access permissions to resources, the ...
In Azure, Oct 04, 2019How to copy from AWS S3 bucket to Azure Blob Storage
When we mention public cloud and devops, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...
In Azure, AWS, Oct 03, 2019Generate SAS token for blobs in Azure storage using Azure CLI
A shared access signature (SAS) provides secure and temporary access to the resources in a storage account. You can configure access to specific objects, as well as permissions and SA...
In Azure, Oct 01, 2019Manage Azure subscriptions
Azure subscriptions are used for deploying and consuming Azure resources. A single Azure account can have multiple subscriptions, but there are some limitations. You can combine multi...
In Azure, Sep 26, 2019Install Azure CLI 2.0 on macOS with brew
The Azure CLI is a command-line tool that let you manage the Azure resources from your local Terminal. Using the Terminal can bring a lot of advantages, like being more efficient and ...
In Azure, Sep 24, 2019azure cli
Scale AKS user node pool to 0
In case you missed some of these posts: Create AKS cluster on Azure Start and Stop AKS cluster Configure AKS automatic upgrades
In Azure, Kubernetes, Sep 06, 2021Configure AKS automatic upgrades
Regarding to managed Kubernetes services, IMHO Azure provides the best cloud experience, for a couple of reasons. From authentication and authorization standpoint, AKS integrates well...
In Azure, Kubernetes, Sep 01, 2021Configure Azure CLI automatic upgrades
As part of the Azure CLI series, today we are going to see how we can configure automatic upgrades.
In Azure, Aug 31, 2021How 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, 2021How 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, 2021Push 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, 2021How to upload files to Azure Cloud Shell
As the name says, Azure Cloud Shell is a browser-accessible shell, which is used for managing Azure resources. It comes with two types of command shells Bash and PowerShell. It also g...
In Azure, Nov 27, 2019How to easily Start, Stop, Restart or Delete Azure VMs
Managing Azure Virtual Machines through the Portal could be pretty straighforward. But, it requires multiple steps using the GUI. For example, you’ll have to login to the Portal first...
In Azure, Oct 28, 2019How to reset an Azure VM password
Losing and resetting passwords can be quite frustrating, especially if you are working as an IT guy, who have to reset passwords every day for other employees. The same thing could ha...
In Azure, Oct 26, 2019How to backup and restore an Azure SQL database using Azure CLI
You cannot think of a SQL Server Administration or any kind of a relational and non-relational database administration without the two magic words: backup and restore. Backing up a da...
In Azure, Oct 17, 2019How to rename an Azure SQL database using Azure CLI
As a part of an Azure SQL Database administration series, this post will be a follow up from the last one, where i will write about renaming Azure SQL database, which is kind of a com...
In Azure, Oct 14, 2019How to recover lost admin password for an Azure SQL database using Azure CLI
A very common task that i’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...
In Azure, Oct 13, 2019How to Direct-Upload to Azure Managed Disks
A few days ago, Microsoft announced the preview of direct-upload to Azure Managed Disks. So, there are two ways you could move a VHD to the Azure cloud as a managed disk: Upload the ...
In Azure, Oct 08, 2019Generate SAS token for blobs in Azure storage using Azure CLI
A shared access signature (SAS) provides secure and temporary access to the resources in a storage account. You can configure access to specific objects, as well as permissions and SA...
In Azure, Oct 01, 2019Manage Azure subscriptions
Azure subscriptions are used for deploying and consuming Azure resources. A single Azure account can have multiple subscriptions, but there are some limitations. You can combine multi...
In Azure, Sep 26, 2019Install Azure CLI 2.0 on macOS with brew
The Azure CLI is a command-line tool that let you manage the Azure resources from your local Terminal. Using the Terminal can bring a lot of advantages, like being more efficient and ...
In Azure, Sep 24, 2019mac
Apple M1 Chip Docker Error - no matching manifest for linux/arm64/v8
Most of the Docker images are not compatible with the newest Apple Silicon M1 chip throwing no matching manifest for linux/arm64/v8. Let’s see how to resolve the issue.
In Docker, Feb 18, 2022Install Azure CLI 2.0 on macOS with brew
The Azure CLI is a command-line tool that let you manage the Azure resources from your local Terminal. Using the Terminal can bring a lot of advantages, like being more efficient and ...
In Azure, Sep 24, 2019git
Rename a Git branch
There might be a case where you need to rename a current branch you are already working on, and I’m gonna show you the least painful way to do so. Now, the most common reason is of co...
In Git, Apr 30, 2022How to checkout Git Pull Requests
Checking out Git PR’s on your local machine it’s not so uncommon practice, especially if you wanna test things out before they are merged into the main branch or any other branch that...
In Git, Apr 18, 2022How to remove already committed secrets from Git repositories
One of the most common secure practices in Git is to never commit any secrets in git repos. But, what happen if you did, or someone else made that rookie mistake?! Let’s see how to re...
In Git, Mar 11, 2022How to remove empty commits in Git
In the previous tutorial, we’ve learned How to create empty commits in Git. Let’s see how can we remove them as well.
In Git, Aug 27, 2021How to list and count commits in Git
As part of the Git series, today we are going to see how can we list and count empty and non empty commits.
In Git, Aug 21, 2021How to create empty commits in Git
As a DevOps engineer, you must have heard at least something about GitOps. GitOps is a set of practices that allows to manage infrastructure and application configurations using Git a...
In Git, Aug 15, 2021Use Git Lfs with existing Bitbucket Repository
Git LFS allows users to save space by storing binary files in a different location, so in this tutorial I’m going to show you how can you operate and manage your repo with Git LFS.
In Git, Sep 28, 2019bitbucket
Use Git Lfs with existing Bitbucket Repository
Git LFS allows users to save space by storing binary files in a different location, so in this tutorial I’m going to show you how can you operate and manage your repo with Git LFS.
In Git, Sep 28, 2019azure storage
How to restore deleted Azure Storage Blobs
Accidental deletion of files can happen to anyone working either on-premise or in the cloud. As a DevOps engineer who is responsible for managing access permissions to resources, the ...
In Azure, Oct 04, 2019How to copy from AWS S3 bucket to Azure Blob Storage
When we mention public cloud and devops, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...
In Azure, AWS, Oct 03, 2019Generate SAS token for blobs in Azure storage using Azure CLI
A shared access signature (SAS) provides secure and temporary access to the resources in a storage account. You can configure access to specific objects, as well as permissions and SA...
In Azure, Oct 01, 2019azure blob
How to restore deleted Azure Storage Blobs
Accidental deletion of files can happen to anyone working either on-premise or in the cloud. As a DevOps engineer who is responsible for managing access permissions to resources, the ...
In Azure, Oct 04, 2019How to copy from AWS S3 bucket to Azure Blob Storage
When we mention public cloud and devops, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...
In Azure, AWS, Oct 03, 2019Generate SAS token for blobs in Azure storage using Azure CLI
A shared access signature (SAS) provides secure and temporary access to the resources in a storage account. You can configure access to specific objects, as well as permissions and SA...
In Azure, Oct 01, 2019aws
Install jq on Amazon Linux 2
JQ one of my favorite lightweight and minimalistic JSON parser processor. When it comes playing with JSON outputs, and re-structuring JSON things, jq can make your impossible - possib...
In jq, May 17, 2022How to Resolve `Resource handler returned message: Model validation failed (#/ContainerDefinitions/0/Environment: array items are not unique)` error in CloudFormation
While updating some of my CloudFormation templates I stumbled upon the following error: Resource handler returned message: "Model validation failed (#/ContainerDefinitions/0/Environme...
In CloudFormation, May 11, 2022Terraform aws_acm_certificate resource forces constant replacement
Take a look at the following Terraform code block:```bashresource “aws_acm_certificate” “devcoops” { domain_name = “devcoops.com” subject_alternative_names = [“devcoop...
In Terraform, May 04, 2022Install Postfix on Amazon Linux 2
Besides Exim, Postfix is another useful and free mail transfer agent that is under IBM public license. The installation is easy and simple so let’s see how to install Postfix on Amazo...
In Postfix, May 03, 2022Install Exim on Amazon Linux 2
Exim is a useful mail transfer agent easy to manage and set up. The installation process is easy as well, so let’s see how to install Exim on Amazon Linux 2.
In Exim, May 01, 2022Install Dig on Amazon Linux 2
Yet another useful DNS tool besides nslookup is dig. It can be used through the Linux command line that offers a quick check of the DNS records.
In DNS, Apr 29, 2022Install Nslookup on Amazon Linux 2
The need of checking DNS records quickly, through the cli can be achieved with nslookup. Let’s see how to install Nslookup on Amazon Linux 2.
In DNS, Apr 27, 2022Install Docker Compose on Amazon Linux 2
Installing the latest version of Docker Compose on Amazon Linux 2 is a pretty simple and straightforward process if Docker is installed previously. Let’s see the steps needed.
In Docker, Apr 25, 2022Install Screen on Amazon Linux 2
Screen is a Linux utility that allows you to run and use multiple shell sessions from a single ssh session. It’s commonly used for migrating a bunch of data through an ssh connection....
In Screen, Apr 23, 2022Install Redis CLI on Amazon Linux 2
Redis-CLI is a useful Terminal program that allows you to execute Redis commands, either on your local Redis or some remote Redis endpoint. Here I’m gonna show you how to install redi...
In Redis, Apr 21, 2022Install SCP on Amazon Linux 2
SCP is one of the most common tool for transferring files between remote and local machines. It can be also used for moving files or directories within the same machine. It uses a min...
In SCP, Apr 19, 2022Install Rsync on Amazon Linux 2
Sending files, and directories remotely can be achieved with a lot of utility tools. One of them is Rsync, which is a cool tool for remote transfer. Let’s see how to install it on Ama...
In Rsync, Apr 17, 2022Install Terragrunt on Amazon Linux 2
One of the best Terraform wrappers is Terragrunt so far. Terragrunt inherits a lot of useful commands and design structures from Terraform. Let’s see how to install Terragrunt on Amaz...
In Terragrunt, Apr 15, 2022Install openfortivpn on Amazon Linux 2
openfortivpn is a really cool open-source VPN client tool. Let’s see how to install it on Amazon Linux 2 instance.
In VPN, Apr 14, 2022Install HAProxy on Amazon Linux 2
HAProxy is one of the best free and open source software for using high availability load balancing and reverse proxy. It’s most suitable for HTTP and TCP based applications. Let’s se...
In HAProxy, Apr 13, 2022How to Set Up SSH Keys on Amazon Linux 2
While creating Amazon Linux 2 instance through the AWS console, there is a step that will provide you with the EC2 key pairs to connect to your instance. But if you need to set up som...
In SSH, Apr 11, 2022Install NodeJS on Amazon Linux 2
Nodejs doesn’t exist in the default Amazon Linux 2 yum packages. So we should add the node official repo and use it for the installation. Let’s see how to install node js on Amazon Li...
In NodeJS, Apr 09, 2022Enable EPEL on Amazon Linux 2
Using EPEL package repository can be very beneficial. Epel contains all the common packages that you may want to install. Unfortunately, EPEL is disabled in Amazon Linux 2. Let’s see ...
In AWS, Apr 07, 2022Install VestaCP on Amazon Linux 2
Managing your AWS ec2 instance with VestaCP comes easier if you are not familiar with Linux. Here I’m gonna tell you how to install VestaCP on Amazon Linux 2.
In VestaCP, Apr 05, 2022How to Install GO on Amazon Linux 2
Installing GO on Amazon Linux 2 can be done within a few minutes since the GO exists in the default Amazon Linux 2 yum packages. Let’s dive into it.
In GO, Apr 01, 2022How to Install SQLite on Amazon Linux 2
SQLite is one of the best minimalistic, lightweight, and powerful SQL database managers. It can be suitable for every application which doesn’t use a complex database structure. So to...
In SQLite, Mar 30, 2022How to Kill Thread or Query in AWS RDS
Stoping some threads or queries that may appear in the deadlock queue or locked from the InnoDB engine on AWS RDS is a different thing than self-hosted MySQL or MariaDB. They can pote...
In RDS, Mar 24, 2022How to upload files to S3 while preserving directory structure
Preserving the directory structure while uploading files to S3 could be a handy thing especially if you want to copy these files later to an EBS volume. The solution is pretty simple ...
In AWS, Mar 17, 2022How to Install Ruby on Amazon Linux 2
If you want to develop ruby application using some ruby frameworks like ruby on rails, padrino … on Amazon Linux 2 you will have to install ruby as a dependency. This topic will help ...
In Ruby, Mar 16, 2022How to Attach AWS Managed Policy to an IAM Role in Terraform
AWS Managed Policies are IAM policies created and managed by AWS. Today I’m going to show you how to attach a managed policy in Terraform.
In Terraform, Mar 05, 2022AWS Error 1290 (HY000): The MySQL server is running with the --read-only
Using AWS Aurora auto-scaling will increase the resources to handle the workload and connections. So that way you can see a bunch of replicas that are taking care of the workload. Con...
In MySQL, Feb 10, 2022How to install Apache on AWS EC2 Amazon Linux 2 instance
Once you have provisioned an AWS ec2 instance installing Apache on amazon linux 2 is a straightforward and easy process. Here I’m going to show you how to install Apache web server on...
In AWS, Apache, Feb 06, 2022Create AWS IAM User Login Profile with PGP encrypted password in Terraform
Managing and deploying AWS IAM User Login Profiles in Terraform requires a base-64 encoded PGP public key or a keybase, as stated in the official documentation. But, there is no info ...
In Terraform, Jan 04, 2022Resolve AWS SSM plugin with name Standard_Stream not found
AWS SSM is a nice feature if you don’t wanna deal with majority of the SSH issues along the way. Today’s topic is all about resolving the:SessionId: devcoops-<some_string>: Plug...
In AWS, Jan 02, 2022AWS Associate VPC with Private Hosted Zone
Working with multiple AWS accounts can lead to timeouts between the different account services. Behind the VPC peering and the routing table connection, a very important thing is to s...
In AWS, Dec 30, 2021How to install PHP 7.4 on Amazon Linux 2
Setting up a PHP environment for a PHP-based project on Amazon Linux 2 it’s a straightforward process and it can be achieved in a few steps. This tutorial is aimed to show you the ste...
In PHP, Dec 24, 2021AWS|How to allow source IP addresses to access specific URL path using an Application Load Balancer
Most likely, if you use ECS as your application orchestration service it will require some basic knowledge to manage Application Load Balancers short ALBs. Essentially managing the ac...
In AWS, Dec 12, 2021How to resolve AWS Aurora ERROR 3024 (HY000)
If you hold some heavy-load AWS Aurora database tables and you are trying to export some of the tables or import data, there is a big chance to face the following error ERROR 3024 (HY...
In AWS, Aurora, Nov 02, 2021How to drain an ECS instance
While troubleshooting the ECS cluster you may notice some of the EC2 instances are unhealthy due to some stuck processes. Here I’m going to show how to drain an ECS instance by replic...
In ECS, Oct 29, 2021Ways to Provision Infrastructure on AWS
Popular as it is, Infrastructure as Code also known as IaC, is a practice and process of managing and deploying infrastructure through code. Now, we got the flexibility to choose from...
In AWS, Oct 28, 2021Solution: The AWS Access Key Id Does Not Exist in our Records
Working with multiple AWS account profiles could sometimes be not so pleasent experience, especially when handling different AWS named profiles for different purposes. The AWS Access ...
In AWS, Oct 26, 2021How to install Nomad on AWS EC2 Amazon Linux 2 instance
Working with popular orchestration application services like Kubernetes and ECS is not that easy as it seems when it comes to scaling the app, the deployments, and managing the resour...
In AWS, Nomad, Oct 13, 2021How to install Terraform on AWS EC2 Amazon Linux 2 instance
There are a lot of tutorials on how to install the latest version of Terraform out there. Most of them are pointing to the terraform official release site, so you need to get the late...
In AWS, Terraform, Oct 11, 2021How to install Ansible on AWS EC2 Amazon Linux 2 instance
When it comes to AWS hosted infrastructure, if there is a need for managing the instances or the deployments of the application/services you can use the approach of having one EC2 ded...
In AWS, Ansible, Oct 07, 2021Get AWS Region Name in Terraform
The following tutorial will be a step by step guide on how to get the current AWS region name in Terraform.
In Terraform, AWS, Oct 06, 2021How to install Nginx on AWS EC2 Amazon Linux 2 instance
Installing Nginx from the Amazon Linux repo will provide you with an exceedingly old Nginx version. Therefore, I will show you how to install it through the EPEL repo which is my pref...
In AWS, Nginx, Oct 05, 2021How to create an S3 bucket through AWS CloudFormation
Deploying your infrastructure through CloudFormation as an infrastructure as code tool can cause some murky situations as a begginer because AWS is facing a lack of CloudFormation doc...
In CloudFormation, AWS, Oct 03, 20217 Ways to Save Money in the Cloud
Cost optimization is just one of the five pillars of Well-Architected Framework, which is identical across the top 3 public cloud provider players. Although, deploying a billing alarm...
In Cloud, Oct 02, 2021Remmina can't remote into AWS EC2 Windows Machine due to libfreerdp
If you need to access your Windows-based server through your local Linux machine you should consider using some of the RDPs software. A few days ago I needed to access a Microsoft SQL...
In RDP, Oct 01, 2021How to dump Elasticsearch index to S3 with Docker
Previously I’ve covered the topic around export and import the Elasticsearch index. from one ES cluster to another. So now if you want to back up a particular index, instead of storin...
In Elasticsearch, Sep 21, 2021How to make local archive_file to be available when deploying Terraform aws_lambda_function
In today’s blog post, I really need to share with you all a quick tip regarding Terraform’s aws_lambda_function resource and how to make the latest local data archive_file to be prese...
In Terraform, Sep 20, 2021How to get private IP address of Fargate ECS task with metadata
Previously I’ve explained how to ssh into a fargate container. In this tutorial, I will cover some steps on how can you get the private IP address of a fargate ECS container, so that ...
In AWS, Sep 13, 2021Define 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, 2021How to remove ECS task definitions
For those who have experience with AWS ECS, we all know how frustrating is sometimes that we just can’t delete task definitions. The only option is to update all task definition revis...
In AWS, Aug 25, 2021How to install Podman on AWS EC2 Amazon Linux 2 instance
If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m gonna show you how to install po...
In AWS, Podman, Aug 10, 2021How to pg_dump to S3 directly
Just before we start with this tutorial, I just wanna say, don’t try this on production. Streaming pg_dump backup directly to S3 bucket is a bad practice to start with, unless you are...
In PostgreSQL, AWS, Jul 29, 2021How to join EC2 instance to ECS cluster
AWS ECS is a container orchestration tool and it could be a great starting point as a beginner devops engineer before jumping on the Kubernetes hype train. Using an Auto Scaling group...
In AWS, Jul 25, 2021How to manually change the allocation of shards
While updating the mapping on some of the ES clusters or doing a full reindex which are expensive operations, you may face a data node failure. Due to the node failure, there is a pos...
In Elasticsearch, Jul 13, 2021How to fix Docker login unknown shorthand flag error
In some of the previous posts I’ve covered the Authorization token method when authenticating to an AWS ECR private registry. If you have followed the steps as described in the post y...
In Docker, AWS, Jul 03, 2021How 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, 2021How 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, Jun 30, 2021How to list 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, 2021How 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, 2021SSH 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, 2021How 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, 2021How to upload your local files to your AWS S3 bucket with AWS CLI
There are a lot of reasons for moving your local files into your AWS S3 bucket. Maybe you want to host your static files with S3 or you want to make a backup of your database, etc… In...
In AWS, Oct 15, 2019How to install AWS CLI and setup multiple named profiles on Ubuntu
AWS CLI is a efficient and powerfull tool cause it enables developers and devops people to have a full control over their AWS cloud services by executing commands on a specified line....
In AWS, Oct 09, 2019How to copy from AWS S3 bucket to Azure Blob Storage
When we mention public cloud and devops, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...
In Azure, AWS, Oct 03, 2019azcopy
How to copy from AWS S3 bucket to Azure Blob Storage
When we mention public cloud and devops, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...
In Azure, AWS, Oct 03, 2019aws cli
How to fix Docker login unknown shorthand flag error
In some of the previous posts I’ve covered the Authorization token method when authenticating to an AWS ECR private registry. If you have followed the steps as described in the post y...
In Docker, AWS, Jul 03, 2021How 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, 2021How to list 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, 2021How 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, 2021How to upload your local files to your AWS S3 bucket with AWS CLI
There are a lot of reasons for moving your local files into your AWS S3 bucket. Maybe you want to host your static files with S3 or you want to make a backup of your database, etc… In...
In AWS, Oct 15, 2019How to install AWS CLI and setup multiple named profiles on Ubuntu
AWS CLI is a efficient and powerfull tool cause it enables developers and devops people to have a full control over their AWS cloud services by executing commands on a specified line....
In AWS, Oct 09, 2019linux
Get memory page size in Linux
Memory page, virtual memory page, or just page is the smallest block of memory unit in terms of memory management. The page size is determined by the hardware to be exact the processo...
In Linux, May 10, 2022Generate SHA512 password hash with a salt from the CLI
Personally, the only time I’ve been generating a SHA512 password hashes was when I was working with the Ansible builtin user module, sipmly because I needed to commit a password hash ...
In Linux, Apr 26, 2022spawn, expect and send commands in Linux
spawn, expect and send commands are usually part of a SSH bash scripts. So, I’m gonna briefly explain them, starting with expect since the rest of them are part of it.
In Linux, Apr 10, 2022Check for read-only filesystem in Linux
In today’s post we are going to find out how to check for read-only filesystem in Linux from the CLI.
In Linux, Mar 29, 2022Check last reboot time in Linux
In today’s post we are going to find out the last reboot time in Linux from the CLI.
In Linux, Mar 27, 2022Check system uptime in Linux MacOS and Windows from the Command Line
The following commands will help you find the system uptime for Linux, MacOS and Windows in the easiest way possible, from the command line.
In Linux, macOS, Windows, Mar 23, 2022How to install bc on Linux MacOS and Windows
bc or short for basic calculator is almost 50 years old calculator scripting language which I stumble upon as a prerequisite when testing AWS S3 upload speed. Let’s cover the installa...
In bc, Mar 19, 2022How to restart processes with Kill in Linux
You may ask yourself why using kill command to restart processes when here is systemctl. But some of you will get stuck in a position where you will not be able to restart some stuck ...
In Linux, Mar 06, 2022Where to find Stored Syslog Messages
When it comes to Syslog messages in Linux it’s important to know that they are handled by two services: systemd-journald daemon - gathers all the messages from the kernel including b...
In Linux, Mar 04, 2022Fix 'fallocate failed: Operation not supported'
While creating a swap on your linux machine, executing sudo fallocate -l 1G /swap-file-name may throw fallocate failed: Operation not supported. Here I’m gonna show you a quick fix fo...
In Linux, Mar 02, 2022How to Flush DNS Cache from the CLI
Clearing the DNS cache usually fixes issues related to not resolving new or updated existing domain records. Let’s see how it’s done from the command line though.
In Linux, Feb 25, 2022How to install Docker Compose on Ubuntu 21.10
This article is strictly focused on installing docker-compose on Ubuntu 21.10, so please make sure that you have Docker installed before jumping on the installation steps.
In Docker, Feb 22, 2022How to install Apache on AWS EC2 Amazon Linux 2 instance
Once you have provisioned an AWS ec2 instance installing Apache on amazon linux 2 is a straightforward and easy process. Here I’m going to show you how to install Apache web server on...
In AWS, Apache, Feb 06, 2022How to enable HTTP/2 in Nginx
HTTP/2 was published almost 7 years ago, HTTP/3 being an internet draft standard since October 2020, and yet here we are, most of us still using HTTP/1.1. Considering how things quick...
In Nginx, Jan 18, 2022How to increase the open files limit in Linux
The default open files (nofile) limit is 1024. Let’s see how we could confirm and increase it on user and system-wide level.
In Linux, Jan 16, 2022SFTP transfer files through command line non-interactive
This tutorial is aimed to show you how to download files from a remote sftp server and of course how to upload files to a remote sftp server. It’s useful if you are writing a bash or ...
In SFTP, Jan 13, 2022How to connect with SFTP through command line
Most of the shared hosting platforms are providing sftp access to the end-users as a secure file transfer protocol. There are a lot of free and open source GUI platforms for ftp, sftp...
In SFTP, Jan 11, 2022Send Slack notifications from a Bash script
Slack is one of the most popular and used messaging apps by companies of any kind of business size, from small companies and startups to large enterprises. From DevOps point of view, ...
In Linux, Jan 06, 2022How to list, renew and delete Certbot certificates
Managing certbot certificates is often a underlooked operation since Certbot handles cert renewal automatically using a cronjob, so no worries there. But, what if we want to list whic...
In Certbot, Dec 03, 2021How to download files with curl
curl and wget are the most popular command-line tools (with curl being a library) for downloading remote content from the CLI. On one side, wget is simple to use as it gets, downloadi...
In Linux, Dec 01, 2021How to generate random password from the CLI
There are a lot of ways to generate random passwords, starting from simple password generator sites found online to the most advanced password management solutions. Today’s topic will...
In Linux, Nov 27, 2021How to install Certbot on Amazon Linux 2
Using the AWS amazon linux 2 template for your EC2 instance is always a preferred way as an AWS-optimized and proprietary template. So if your web application requires an SSL certific...
In Certbot, Nov 26, 2021File locking with flock 101
As a concept, file locking in Linux purpose is to control access to a shared resource between multiple processes, in a way to indicate which process is next in line so it could use th...
In Linux, Nov 25, 2021mtime timestamp and the 24h period cheatsheet
For those who might be questioning, mtime or short for modified timestamp, is a Linux file timestamp which usually goes hand in hand with the find command in the most common scenarios...
In Linux, Nov 23, 2021Which shell am I using - how to check
Linux comes with support for multiple flavors of shell, including bash, zsh, ksh, csh, and so on. This time I’ll be focusing on how to find out which shell you are using, which is the...
In Linux, Nov 21, 2021How to reload shell session
In order to update and see changes made in the shell environment, most of the time a reload is required. So, instead of restarting the machine and wasting a lot of time, a simple comm...
In Linux, Nov 19, 2021How to export and import all MySQL databases at once
Working with microservices will ramp up the number of MySQL databases. So if you need to create a backup for all of them at once there is a way to do it through the cli. Also importin...
In MySQL, Nov 12, 2021How to change permissions for Directories and Files recursively
Getting to know how to fix the directories and files permissions recursively, with a quick and easy method is always a good point. The crux of this tutorial is to understand how you c...
In Linux, Oct 25, 2021Setup Nginx Proxy for Node.js app
Behind every major player in the cloud provider’s field, there is a hidden “magic” that makes our applications work. Most of the time, this magic is some kind of a proxy, mostly Nginx...
In Nginx, Oct 22, 2021Resolve (code=exited, status=2) in Nginx
Sometimes after nginx service restart and you’re trying to get the service status, you might get the following status code line:Process: 10316 ExecStop=/sbin/start-stop-daemon --quiet...
In Linux, Oct 20, 2021Check Internet Speed from CLI on Linux
In this day and age, experiencing a slow internet connection could be a huge deal, especially for most of us who work remotely. Since we can do almost anything from the CLI, let’s sav...
In Linux, Oct 18, 2021Get Public IP from CLI on Linux
Let’s speedrun the tutorial on how to get your public IP address from the command line interface for any whitelisting reason, on any Linux distro.
In Linux, Oct 16, 2021How to install Terraform on AWS EC2 Amazon Linux 2 instance
There are a lot of tutorials on how to install the latest version of Terraform out there. Most of them are pointing to the terraform official release site, so you need to get the late...
In AWS, Terraform, Oct 11, 2021How to detect and free Inode Usage on Linux
While I was maintaining a monitoring service for an AWS-based infrastructure the service daemon stopped working. After some digging on the host where the service was hosted, I find ou...
In Linux, Oct 09, 2021How to install Ansible on AWS EC2 Amazon Linux 2 instance
When it comes to AWS hosted infrastructure, if there is a need for managing the instances or the deployments of the application/services you can use the approach of having one EC2 ded...
In AWS, Ansible, Oct 07, 2021How to install Nginx on AWS EC2 Amazon Linux 2 instance
Installing Nginx from the Amazon Linux repo will provide you with an exceedingly old Nginx version. Therefore, I will show you how to install it through the EPEL repo which is my pref...
In AWS, Nginx, Oct 05, 2021Prevent Accidental rm -rf /*
We’ve all heard the infamous rm -rf /* command. Now, let’s see how can we prevent from happening many times again.
In Linux, Sep 30, 2021Count Files within Directory in Linux
Sometimes, for some reason we need to pull up the number of files in a certain directory. As always, this could be done in a couple of ways. Let’s go through each of them.
In Linux, Sep 28, 2021Run Linux Bash Commands in Background
If one thing can be annoying while working on remote Terminals on daily basis, that would be waiting for a command to finish. Wasting time on waiting commands to finish is resolvable ...
In Linux, Sep 26, 2021How to setup Envoy proxy
Envoy is a minimalistic L7 proxy designed to be used along with the cloud native microservice applications. It’s an open-source container based project which can run on a minimum syst...
In Envoy, Sep 25, 2021Remove Last N Characters of a String in Bash
As with most things in IT, there is always more then one way to skin a cat. In today’s blog post, we are gonna test out few ways on how we could remove last n characters of a string. ...
In Linux, Sep 24, 2021How to create Apache reverse proxy for your application
Creating Apache reverse proxy follows a similar procedure as Nginx. In some of the previous posts, we saw how to set up Nginx reverse proxy, so today I’m going to show you exactly the...
In Apache, Sep 23, 2021Protect files from being deleted in Linux
I’m gonna start by saying we have all heard of these sudo rm -rf / horror stories on the Internet. There are a bunch of ways we could protect our servers from such accidents, which mi...
In Linux, Sep 22, 2021How to search for a string in multiple files on Linux
These days there are a lot of code editors which can ease your life in terms of finding some particular string in multiple files or repo. The life will get complicated if you need to ...
In Linux, Sep 19, 2021Convert 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 Linux, Sep 18, 2021How 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, Sep 15, 2021How to check if your web application is under DDoS attack
Nowadays, most of the web applications are vulnerable and exposed on many different kinds of attacks. One of them is a DDoS attack. There are a lot of services on the internet that ar...
In DDOS, Sep 11, 2021How 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 definitely...
In Nginx, Sep 07, 2021How to list processes that are taking a lot of memory in Linux
There are situations where your web application or particular software installed on your machine takes a lot of time to load. The troubleshooting process may last long but however, yo...
In Linux, Sep 05, 2021How to check if command succeeded in Linux
As a DevOps engineer, or any other Operation roles, we sometimes need to check if a linux command succeeded. There are many reasons, for example: our internet connection failed, a VPN...
In Linux, Aug 29, 2021How to install Nginx on Debian 11
Installing Nginx on Debian 11 is pretty easy and straightforward. This tutorial will show you how to install it and enable HTTP traffic on your debian server.
In Nginx, Aug 22, 2021How to install MongoDB on Rocky Linux 8
MongoDB has an attitude to store the data in BSON, which can be searched and indexed, with a way better performance. Installing MongoDB on rocky linux can additionally improve the sea...
In MongoDB, Aug 20, 2021How to install Docker on Debian 11
Finally Debian 11 is released on August 14th, 2021, and this version is marked as a stable version. This tutorial will show you the steps on how to install Docker on a new fresh Debi...
In Docker, Aug 18, 2021Missing sites-available directory in Nginx
As part of the Nginx series, in today’s tutorial, we are going to see on how to add that missing sites-available subdirectory. The reason behind this, is because most of us have been ...
In Nginx, Aug 17, 2021How to disable SELinux
You may face Nginx or Apache web server blocking issues even when your firewall is disabled. SELinux is a security engine that may block some of the calls or permissions on your serve...
In Linux, Aug 16, 2021How to set up Nginx reverse proxy for your application
Using Nginx reverse proxy could be very useful, especially if you are developing an application with a framework that can run its own server like nodejs, python, ruby on rails, etc… I...
In Nginx, Aug 14, 2021How to block visitors by country in Nginx
In some of mine previous posts, I wrote about how you can whitelist IPs in Nginx. In today’s tutorial, we are going to see how can we block specific countries in a few steps.
In Nginx, Aug 13, 2021How to install Podman on Ubuntu 20.04
If you try to install Podman on Ubuntu 20.04 with the default Ubuntu packages, the installation will fail with the following error: E: Unable to locate package podman. In this tutoria...
In Ubuntu, Podman, Aug 12, 2021How to install Podman on AWS EC2 Amazon Linux 2 instance
If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m gonna show you how to install po...
In AWS, Podman, Aug 10, 2021How to whitelist IPs in Nginx
We all know what firewalls are for, but sometimes they can become a pain in the arse, and we all end up opening HTTP and HTTPS port by default. Let’s say we host multiple domains via ...
In Nginx, Aug 09, 2021How to secure Apache with Let's Encrypt on Rocky Linux 8
As a part of the certbot installation in this tutorial, you will see how to secure your Apache web server with a free Let’s Encrypt SSL certificate. Let’s start.
In Apache, Aug 08, 2021How to secure Nginx with Let's Encrypt on Rocky Linux 8
Previously we saw how to install Certbot on Rocky Linux 8 depending on your web server, whether it’s Nginx or Apache. In this tutorial, I’m going to show you how to secure your Nginx ...
In Nginx, Aug 06, 2021How to install Certbot on Rocky Linux 8
Installing certbot on your rocky linux server/machine is usually meant to be used to switch an existing HTTP site to work in HTTPS. It’s a helpful tool written in python which helps y...
In Certbot, Aug 05, 2021How to install PostgreSQL on Rocky Linux 8
Installing PostgreSQL on Rocky Linux follows the same procedure as MySQL. We need to enable the PostgreSQL module, install the desired version and enable the PostgreSQL service. Follo...
In PostgreSQL, Aug 01, 2021How to install MySQL on Rocky Linux 8
Installing MySQL on Rocky Linux it’s quite easy and quick. A lot of today’s applications are using MySQL as a web database. MySQL is an open source database and offers a lot of features.
In MySQL, Jul 30, 2021How to determine the correct number of max children processes for PHP-FPM
Most of the PHP developers are using Nginx with php-fpm as the most efficient approach. Most likely nginx will throw php errors, that the server reached the pm.max_children number. It...
In PHP, Jul 28, 2021How to configure DHCP to fix the network connectivity on Rocky Linux
Some of the RHEL distros can cause common networking configuration issues on the first installation, so you will not be able to update the packages on a server or browse external Webs...
In Rocky Linux, Jul 26, 2021How to install Apache on Rocky Linux 8
Apache is one of the most popular, open source web servers that allows you to host your web content on internet. Apache can be installed easily and can run on any operating system. In...
In Apache, Jul 24, 2021How to install Nginx on Rocky Linux 8
If you need to implement a reverse proxy, load balancer or mail proxy, Nginx is the best-suited web server that can manage all of these actions. This tutorial will explain, how to ins...
In Nginx, Jul 20, 2021How to install Redis on Rocky Linux 8
If you are seeking a caching solution for your application then Redis will appear on the list. Here we will show you how to install Redis on Rocky Linux which is a replacement for Cen...
In Redis, Jul 17, 2021How to install Docker Compose on ARM64
In some of the previous posts I’ve covered how you can install docker-compose on Linux distributions like Rocky Linux for example. It’s pretty easy to set it up, right?! Usually when ...
In Docker, Jul 12, 2021How to install Ansible on Rocky Linux 8
If there is a need to simplify the deployments of your applications, manage your infrastructure servers, etc.. you can achieve it with ansible which is one of the most popular tool fo...
In Ansible, Jul 11, 2021How to install Docker Compose on Rocky Linux 8
Installing Docker Compose on Rocky Linux follows the same procedure as the other Linux distros. Firstly, you need to make sure that you have installed Docker on your Rocky Linux machine.
In Docker, Jul 06, 2021How to install Docker on Rocky Linux 8
In the early December last year, RedHat took us all by suprise with the CentOS 8 End Of Life (EOL) announcement, that was scheduled for the end of 2021. In response to this, the origi...
In Docker, Jul 05, 2021How to install Terraform on Rocky Linux
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, Jul 02, 2021How 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, 2021How 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, 2021How 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, Dec 15, 2019How 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, Dec 13, 2019How to upload your local files to your AWS S3 bucket with AWS CLI
There are a lot of reasons for moving your local files into your AWS S3 bucket. Maybe you want to host your static files with S3 or you want to make a backup of your database, etc… In...
In AWS, Oct 15, 2019How to install AWS CLI and setup multiple named profiles on Ubuntu
AWS CLI is a efficient and powerfull tool cause it enables developers and devops people to have a full control over their AWS cloud services by executing commands on a specified line....
In AWS, Oct 09, 2019bash
How to install Docker Compose on Ubuntu 21.10
This article is strictly focused on installing docker-compose on Ubuntu 21.10, so please make sure that you have Docker installed before jumping on the installation steps.
In Docker, Feb 22, 2022How to install Apache on AWS EC2 Amazon Linux 2 instance
Once you have provisioned an AWS ec2 instance installing Apache on amazon linux 2 is a straightforward and easy process. Here I’m going to show you how to install Apache web server on...
In AWS, Apache, Feb 06, 2022Send Slack notifications from a Bash script
Slack is one of the most popular and used messaging apps by companies of any kind of business size, from small companies and startups to large enterprises. From DevOps point of view, ...
In Linux, Jan 06, 2022How to download files with curl
curl and wget are the most popular command-line tools (with curl being a library) for downloading remote content from the CLI. On one side, wget is simple to use as it gets, downloadi...
In Linux, Dec 01, 2021How to generate random password from the CLI
There are a lot of ways to generate random passwords, starting from simple password generator sites found online to the most advanced password management solutions. Today’s topic will...
In Linux, Nov 27, 2021Which shell am I using - how to check
Linux comes with support for multiple flavors of shell, including bash, zsh, ksh, csh, and so on. This time I’ll be focusing on how to find out which shell you are using, which is the...
In Linux, Nov 21, 2021How to reload shell session
In order to update and see changes made in the shell environment, most of the time a reload is required. So, instead of restarting the machine and wasting a lot of time, a simple comm...
In Linux, Nov 19, 2021Resolve (code=exited, status=2) in Nginx
Sometimes after nginx service restart and you’re trying to get the service status, you might get the following status code line:Process: 10316 ExecStop=/sbin/start-stop-daemon --quiet...
In Linux, Oct 20, 2021Check Internet Speed from CLI on Linux
In this day and age, experiencing a slow internet connection could be a huge deal, especially for most of us who work remotely. Since we can do almost anything from the CLI, let’s sav...
In Linux, Oct 18, 2021Get Public IP from CLI on Linux
Let’s speedrun the tutorial on how to get your public IP address from the command line interface for any whitelisting reason, on any Linux distro.
In Linux, Oct 16, 2021How to install Terraform on AWS EC2 Amazon Linux 2 instance
There are a lot of tutorials on how to install the latest version of Terraform out there. Most of them are pointing to the terraform official release site, so you need to get the late...
In AWS, Terraform, Oct 11, 2021How to install Ansible on AWS EC2 Amazon Linux 2 instance
When it comes to AWS hosted infrastructure, if there is a need for managing the instances or the deployments of the application/services you can use the approach of having one EC2 ded...
In AWS, Ansible, Oct 07, 2021How to install Nginx on AWS EC2 Amazon Linux 2 instance
Installing Nginx from the Amazon Linux repo will provide you with an exceedingly old Nginx version. Therefore, I will show you how to install it through the EPEL repo which is my pref...
In AWS, Nginx, Oct 05, 2021Prevent Accidental rm -rf /*
We’ve all heard the infamous rm -rf /* command. Now, let’s see how can we prevent from happening many times again.
In Linux, Sep 30, 2021Count Files within Directory in Linux
Sometimes, for some reason we need to pull up the number of files in a certain directory. As always, this could be done in a couple of ways. Let’s go through each of them.
In Linux, Sep 28, 2021Run Linux Bash Commands in Background
If one thing can be annoying while working on remote Terminals on daily basis, that would be waiting for a command to finish. Wasting time on waiting commands to finish is resolvable ...
In Linux, Sep 26, 2021Remove Last N Characters of a String in Bash
As with most things in IT, there is always more then one way to skin a cat. In today’s blog post, we are gonna test out few ways on how we could remove last n characters of a string. ...
In Linux, Sep 24, 2021Protect files from being deleted in Linux
I’m gonna start by saying we have all heard of these sudo rm -rf / horror stories on the Internet. There are a bunch of ways we could protect our servers from such accidents, which mi...
In Linux, Sep 22, 2021How to search for a string in multiple files on Linux
These days there are a lot of code editors which can ease your life in terms of finding some particular string in multiple files or repo. The life will get complicated if you need to ...
In Linux, Sep 19, 2021Convert 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 Linux, Sep 18, 2021How 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, Sep 15, 2021How to check if your web application is under DDoS attack
Nowadays, most of the web applications are vulnerable and exposed on many different kinds of attacks. One of them is a DDoS attack. There are a lot of services on the internet that ar...
In DDOS, Sep 11, 2021How 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 definitely...
In Nginx, Sep 07, 2021How to list processes that are taking a lot of memory in Linux
There are situations where your web application or particular software installed on your machine takes a lot of time to load. The troubleshooting process may last long but however, yo...
In Linux, Sep 05, 2021How to check if command succeeded in Linux
As a DevOps engineer, or any other Operation roles, we sometimes need to check if a linux command succeeded. There are many reasons, for example: our internet connection failed, a VPN...
In Linux, Aug 29, 2021How to install Nginx on Debian 11
Installing Nginx on Debian 11 is pretty easy and straightforward. This tutorial will show you how to install it and enable HTTP traffic on your debian server.
In Nginx, Aug 22, 2021How to install MongoDB on Rocky Linux 8
MongoDB has an attitude to store the data in BSON, which can be searched and indexed, with a way better performance. Installing MongoDB on rocky linux can additionally improve the sea...
In MongoDB, Aug 20, 2021How to install Docker on Debian 11
Finally Debian 11 is released on August 14th, 2021, and this version is marked as a stable version. This tutorial will show you the steps on how to install Docker on a new fresh Debi...
In Docker, Aug 18, 2021Missing sites-available directory in Nginx
As part of the Nginx series, in today’s tutorial, we are going to see on how to add that missing sites-available subdirectory. The reason behind this, is because most of us have been ...
In Nginx, Aug 17, 2021How to disable SELinux
You may face Nginx or Apache web server blocking issues even when your firewall is disabled. SELinux is a security engine that may block some of the calls or permissions on your serve...
In Linux, Aug 16, 2021How to block visitors by country in Nginx
In some of mine previous posts, I wrote about how you can whitelist IPs in Nginx. In today’s tutorial, we are going to see how can we block specific countries in a few steps.
In Nginx, Aug 13, 2021How to install Podman on Ubuntu 20.04
If you try to install Podman on Ubuntu 20.04 with the default Ubuntu packages, the installation will fail with the following error: E: Unable to locate package podman. In this tutoria...
In Ubuntu, Podman, Aug 12, 2021How to install Podman on AWS EC2 Amazon Linux 2 instance
If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m gonna show you how to install po...
In AWS, Podman, Aug 10, 2021How to whitelist IPs in Nginx
We all know what firewalls are for, but sometimes they can become a pain in the arse, and we all end up opening HTTP and HTTPS port by default. Let’s say we host multiple domains via ...
In Nginx, Aug 09, 2021How to secure Apache with Let's Encrypt on Rocky Linux 8
As a part of the certbot installation in this tutorial, you will see how to secure your Apache web server with a free Let’s Encrypt SSL certificate. Let’s start.
In Apache, Aug 08, 2021How to secure Nginx with Let's Encrypt on Rocky Linux 8
Previously we saw how to install Certbot on Rocky Linux 8 depending on your web server, whether it’s Nginx or Apache. In this tutorial, I’m going to show you how to secure your Nginx ...
In Nginx, Aug 06, 2021How to install Certbot on Rocky Linux 8
Installing certbot on your rocky linux server/machine is usually meant to be used to switch an existing HTTP site to work in HTTPS. It’s a helpful tool written in python which helps y...
In Certbot, Aug 05, 2021How to install PostgreSQL on Rocky Linux 8
Installing PostgreSQL on Rocky Linux follows the same procedure as MySQL. We need to enable the PostgreSQL module, install the desired version and enable the PostgreSQL service. Follo...
In PostgreSQL, Aug 01, 2021How to install MySQL on Rocky Linux 8
Installing MySQL on Rocky Linux it’s quite easy and quick. A lot of today’s applications are using MySQL as a web database. MySQL is an open source database and offers a lot of features.
In MySQL, Jul 30, 2021How to determine the correct number of max children processes for PHP-FPM
Most of the PHP developers are using Nginx with php-fpm as the most efficient approach. Most likely nginx will throw php errors, that the server reached the pm.max_children number. It...
In PHP, Jul 28, 2021How to configure DHCP to fix the network connectivity on Rocky Linux
Some of the RHEL distros can cause common networking configuration issues on the first installation, so you will not be able to update the packages on a server or browse external Webs...
In Rocky Linux, Jul 26, 2021How to install Apache on Rocky Linux 8
Apache is one of the most popular, open source web servers that allows you to host your web content on internet. Apache can be installed easily and can run on any operating system. In...
In Apache, Jul 24, 2021How to install Nginx on Rocky Linux 8
If you need to implement a reverse proxy, load balancer or mail proxy, Nginx is the best-suited web server that can manage all of these actions. This tutorial will explain, how to ins...
In Nginx, Jul 20, 2021How to install Redis on Rocky Linux 8
If you are seeking a caching solution for your application then Redis will appear on the list. Here we will show you how to install Redis on Rocky Linux which is a replacement for Cen...
In Redis, Jul 17, 2021How to install Docker Compose on ARM64
In some of the previous posts I’ve covered how you can install docker-compose on Linux distributions like Rocky Linux for example. It’s pretty easy to set it up, right?! Usually when ...
In Docker, Jul 12, 2021How to install Ansible on Rocky Linux 8
If there is a need to simplify the deployments of your applications, manage your infrastructure servers, etc.. you can achieve it with ansible which is one of the most popular tool fo...
In Ansible, Jul 11, 2021How to copy files and folders to and from Docker Containers
There are situations when you need to copy files/folders from the container’s file system to the local machine or the reverse. You can achive that with Docker copy command. In this tu...
In Docker, Jul 08, 2021How to install Docker Compose on Rocky Linux 8
Installing Docker Compose on Rocky Linux follows the same procedure as the other Linux distros. Firstly, you need to make sure that you have installed Docker on your Rocky Linux machine.
In Docker, Jul 06, 2021How to install Docker on Rocky Linux 8
In the early December last year, RedHat took us all by suprise with the CentOS 8 End Of Life (EOL) announcement, that was scheduled for the end of 2021. In response to this, the origi...
In Docker, Jul 05, 2021How to install Terraform on Rocky Linux
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, Jul 02, 2021How 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, 2021How 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, 2021How 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, Dec 15, 2019How 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, Dec 13, 2019How to upload your local files to your AWS S3 bucket with AWS CLI
There are a lot of reasons for moving your local files into your AWS S3 bucket. Maybe you want to host your static files with S3 or you want to make a backup of your database, etc… In...
In AWS, Oct 15, 2019How to install AWS CLI and setup multiple named profiles on Ubuntu
AWS CLI is a efficient and powerfull tool cause it enables developers and devops people to have a full control over their AWS cloud services by executing commands on a specified line....
In AWS, Oct 09, 2019azure sql database
How to backup and restore an Azure SQL database using Azure CLI
You cannot think of a SQL Server Administration or any kind of a relational and non-relational database administration without the two magic words: backup and restore. Backing up a da...
In Azure, Oct 17, 2019How to rename an Azure SQL database using Azure CLI
As a part of an Azure SQL Database administration series, this post will be a follow up from the last one, where i will write about renaming Azure SQL database, which is kind of a com...
In Azure, Oct 14, 2019How to recover lost admin password for an Azure SQL database using Azure CLI
A very common task that i’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...
In Azure, Oct 13, 2019cloud
5 Ways to Protect Root Account in the Cloud
Security as one of the Five Pillars of the Well-Architected Framework has been underlooked, not just in the age of the cloud computing but before that as well. With cloud migration be...
In Cloud, Oct 12, 20217 Ways to Save Money in the Cloud
Cost optimization is just one of the five pillars of Well-Architected Framework, which is identical across the top 3 public cloud provider players. Although, deploying a billing alarm...
In Cloud, Oct 02, 2021How to upload your local files to your AWS S3 bucket with AWS CLI
There are a lot of reasons for moving your local files into your AWS S3 bucket. Maybe you want to host your static files with S3 or you want to make a backup of your database, etc… In...
In AWS, Oct 15, 2019azure vm
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, 2021Schedule Automated Start and Stop for Azure VMs
Scheduling automated start and stop for Azure VMs is almost as good as provisioning and deprovisioning infrastructure on-demand, by using Infrastructure as Code (IaC) tools, like Terr...
In Azure, Sep 04, 2021How to easily Start, Stop, Restart or Delete Azure VMs
Managing Azure Virtual Machines through the Portal could be pretty straighforward. But, it requires multiple steps using the GUI. For example, you’ll have to login to the Portal first...
In Azure, Oct 28, 2019How to reset an Azure VM password
Losing and resetting passwords can be quite frustrating, especially if you are working as an IT guy, who have to reset passwords every day for other employees. The same thing could ha...
In Azure, Oct 26, 2019docker
Docker Compose and UID / GID
Although you could set a user id and group id as part of a Docker image, let’s see how it can be done from Docker Compose too. I’ll use the following docker compose code part as an ex...
In Docker, May 14, 2022Install Docker Compose on Amazon Linux 2
Installing the latest version of Docker Compose on Amazon Linux 2 is a pretty simple and straightforward process if Docker is installed previously. Let’s see the steps needed.
In Docker, Apr 25, 2022Resolve Docker's 'Version in docker-compose.yml is unsupported' error
Let’s take a look at the not so common Docker Compose error:"Configuration error - Version in "./docker-compose.yml" is unsupported.You might be seeing this error because you're using...
In Docker, Apr 20, 2022Disable Redis persistence in Docker
Disabling Redis persistance in Docker could be a good thing tho, if you are hosting a development environment, running low on disks space and possibly can’t afford to scale. By defaul...
In Redis, Docker, Apr 12, 2022How to execute commands inside Docker containers
Although it may seem like manually executing commands inside Docker containers could be considered as an anti-pattern, actually it might be useful for instance when debugging things i...
In Docker, Apr 08, 2022Configure Docker logging driver with Grafana Loki
Grafana Loki is a log aggregation tool inspired by Prometheus, or simply put Prometheus for logs. In this tutorial I’m gonna show you how to install and configure the Loki logging dri...
In Docker, Apr 06, 2022How to fix Docker's 'error while removing network <> has active endpoints'
In today’s post we are going to list a few solutions on how to deal with the following Docker network error: ERROR: error while removing network: network <> has active endpoints...
In Docker, Apr 04, 2022Multiple Docker Compose files in the same directory
Having multiple docker-compose files in the same directory cleary is not a good idea, although I could see the use case if you are working on multiple different projects with custom d...
In Docker, Mar 03, 2022How to fix 'WARNING: Connection pool is full' in Docker Compose
If you have been working with docker-compose stacks for a while, you might have come across the following warning message: WARNING: Connection pool is full, discarding connection <...
In Docker, Feb 23, 2022How to install Docker Compose on Ubuntu 21.10
This article is strictly focused on installing docker-compose on Ubuntu 21.10, so please make sure that you have Docker installed before jumping on the installation steps.
In Docker, Feb 22, 2022Apple M1 Chip Docker Error - no matching manifest for linux/arm64/v8
Most of the Docker images are not compatible with the newest Apple Silicon M1 chip throwing no matching manifest for linux/arm64/v8. Let’s see how to resolve the issue.
In Docker, Feb 18, 2022Resolve couldn't connect to docker daemon at http+docker //localhost - is it running?
Using Docker with a non-root user can cause issues connected with the docker daemon. The docker daemon binds to a Unix socket, so the docker client will try to communicate to the daem...
In Docker, Feb 08, 2022How to Monitor and Restart unhealthy Docker Containers
Last week, I wrote about How to restart a single container with docker-compose. The approach is manual, hence will be repetitive and error-prone. And since we want to automate almost ...
In Docker, Jan 24, 2022How to restart a single container with docker-compose
Restarting docker-compose stack (docker-compose restart) it’s pretty easy and convinient, and if you somehow screw up something, docker-compose down/up will take care of it. But, now ...
In Docker, Jan 22, 2022Docker Container run in background
While running a docker container in detached mode d maybe you have experienced exiting the container immediately. Here I’m going to show you some ways how to keep it running in the ba...
In Docker, Jan 21, 2022How to scale docker containers
When it comes working with an master - replica services docker offers a scaling compose command which is very useful. Here I’m going to show you how to use it with an example.
In Docker, Jan 17, 2022Docker vs Podman
2022 might be the year of DevOps alternatives, including cloud providers, CI/CD tools and even containers. Speaking of containers, Podman looks like a promising alternative to Docker....
In Docker, Podman, Jan 14, 2022Add jq and curl on Alpine Docker image
The official Alpine Docker Image doesn’t contain jq and curl by default. If you need to parse some JSON content or perform some curl checks, you can add them in the Dockerfile that is...
In Docker, Jan 05, 2022Install Docker on Windows 11 without Docker Desktop
As with Windows 10, let’s see how we could install Docker on Windows 11 without GUI.
In Docker, Dec 27, 2021Docker as an alias for Podman
There is a quick hack to get started with Podman if you are not familiar with the syntax though.
In Podman, Dec 23, 2021Scan Docker Images for Apache Log4j2 vulnerability
Docker Hub already announced public Log4jShell detection which is now live on Docker Official Images. But for those of you who are still using some of the old or custom images, there ...
In Docker, Dec 20, 2021Install Docker on Windows 10 without Docker Desktop
In today’s topic I’m gonna cover on how to install and run Docker on Windows 10 without Docker Desktop. This means we’ll be using WSL (Windows Subsystem for Linux).
In Docker, Dec 13, 2021Access host network from inside of a Docker container
This might be a really weird or edge case scenario, but what If we need to access host service(s) from inside a Docker container. For instance, we already have configured and running ...
In Docker, Dec 11, 2021Expose vs Publish ports in Docker
The general idea for communication between microservices (whatever is HTTP, message or event-driven communication) is related to certain protocols and ports on which each microservice...
In Docker, Dec 07, 2021How to install PHP composer within Dockerfile
Dockerizing your PHP application probably would require some external commands within your base docker image. That’s why you will need to have a Dockerfile and put all the additional ...
In Docker, Dec 04, 2021How to fix Docker can't start service network not found
If you have already created a docker-compose stack and you are trying to restart the containers or start them you may face Docker error: Cannot start service ..: network $network-id n...
In Docker, Nov 18, 2021Assign Static IP to a Docker Container
There are two types of static IPs, public and private IP addresses. We all know the public IP Docker mapping by now, using Nginx and port mapping. Today we are going to see how can we...
In Docker, Oct 24, 2021How to dump Elasticsearch index to S3 with Docker
Previously I’ve covered the topic around export and import the Elasticsearch index. from one ES cluster to another. So now if you want to back up a particular index, instead of storin...
In Elasticsearch, Sep 21, 2021How 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, Sep 17, 2021How 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, Sep 15, 2021Filter the output of docker image ls
Sometimes using the filter flag as a part of the docker image ls command can be useful to figure out which images are taking space, which are dangling images or unused. In this tutori...
In Docker, Aug 26, 2021How to search Docker Hub repositories from CLI
If you want to search for a specific docker image on Docker Hub there is a way to do this from the CLI. The docker search command will allow you to search Docker Hub from the CLI. It ...
In Docker, Aug 24, 2021Docker Registry vs Docker Repository
Docker is one of that technologies that will probably stay for a while. In a matter of years, the IT world went from monolith to deploying applications on the edge in a couple of seco...
In Docker, Aug 23, 2021How to install Docker on Debian 11
Finally Debian 11 is released on August 14th, 2021, and this version is marked as a stable version. This tutorial will show you the steps on how to install Docker on a new fresh Debi...
In Docker, Aug 18, 2021Clean up Docker space for Jenkins jobs
Managing and deploying complex infrastructure with Jenkins sometimes can cause job failure issues. For example, if you are working with microservices and all the deployments are going...
In Docker, Jenkins, Jul 15, 2021How to install Docker Compose on ARM64
In some of the previous posts I’ve covered how you can install docker-compose on Linux distributions like Rocky Linux for example. It’s pretty easy to set it up, right?! Usually when ...
In Docker, Jul 12, 2021How to copy files and folders to and from Docker Containers
There are situations when you need to copy files/folders from the container’s file system to the local machine or the reverse. You can achive that with Docker copy command. In this tu...
In Docker, Jul 08, 2021How to install Docker Compose on Rocky Linux 8
Installing Docker Compose on Rocky Linux follows the same procedure as the other Linux distros. Firstly, you need to make sure that you have installed Docker on your Rocky Linux machine.
In Docker, Jul 06, 2021How to install Docker on Rocky Linux 8
In the early December last year, RedHat took us all by suprise with the CentOS 8 End Of Life (EOL) announcement, that was scheduled for the end of 2021. In response to this, the origi...
In Docker, Jul 05, 2021How to fix Docker login unknown shorthand flag error
In some of the previous posts I’ve covered the Authorization token method when authenticating to an AWS ECR private registry. If you have followed the steps as described in the post y...
In Docker, AWS, Jul 03, 2021How 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, 2021Useful 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, 2021Push 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, 2021Build 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 DockerHub repo. Let’s jump on the steps bellow.
In Docker, Feb 21, 2021How 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, Dec 15, 2019How 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, Dec 13, 2019ubuntu
Install Podman Compose on Ubuntu 22.04
As Podman is ramping up within the containers world, the need for Podman Compose is getting higher as well. Here I’m gonna show you three ways on how to install Podman Compose on Ubun...
In Podman, May 19, 2022How to rotate screen position in Ubuntu through CLI
Nowadays as technology develops more and more, laptops are becoming more sophisticated. Most of today’s laptops offer a finger-sensitive screens so you can manage to flip over the mon...
In Ubuntu, Jan 29, 2022How to fix black screen on screen share in Ubuntu
During an online session, I spotted that the screen share on Ubuntu stopped working. The first thought that came to my mind was the application itself. But later I realized that no ma...
In Ubuntu, Jan 25, 2022How to Upgrade Ubuntu 20.04 to Ubuntu 21.10
The upgrading process from Ubuntu 20.04 to Ubuntu 21.10 takes some time but it’s a straightforward process if you stick close to the steps below. Before taking any actions please make...
In Ubuntu, Jan 23, 2022Install Podman Compose on Ubuntu 20.04
Installation of podman-compose on ubuntu 20.04 is pretty simple, quick, and can be achieved in three ways. Before jumping on the installation part make sure that you have python3 and ...
In Podman, Jan 09, 2022How to install Postman on Ubuntu 20.04
There are some ways to install Postman on Ubuntu 20.04. As always, we want to keep the work simple and straight to the point. So I’m going to show you the easiest way to install Postm...
In Ubuntu, Dec 22, 2021How to install Terragrunt on Ubuntu
Working with terragrunt as a terraform wrapper will ease things and simplify the terraform templates. Here I will show you how to set up quickly on your Ubuntu machine.
In Terragrunt, Nov 24, 2021How to install Podman on Ubuntu 20.04
If you try to install Podman on Ubuntu 20.04 with the default Ubuntu packages, the installation will fail with the following error: E: Unable to locate package podman. In this tutoria...
In Ubuntu, Podman, Aug 12, 2021How 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, 2021How 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, 2021How 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, Dec 15, 2019How 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, Dec 13, 2019docker compose
Docker Compose and UID / GID
Although you could set a user id and group id as part of a Docker image, let’s see how it can be done from Docker Compose too. I’ll use the following docker compose code part as an ex...
In Docker, May 14, 2022Resolve Docker's 'Version in docker-compose.yml is unsupported' error
Let’s take a look at the not so common Docker Compose error:"Configuration error - Version in "./docker-compose.yml" is unsupported.You might be seeing this error because you're using...
In Docker, Apr 20, 2022Multiple Docker Compose files in the same directory
Having multiple docker-compose files in the same directory cleary is not a good idea, although I could see the use case if you are working on multiple different projects with custom d...
In Docker, Mar 03, 2022Resolve couldn't connect to docker daemon at http+docker //localhost - is it running?
Using Docker with a non-root user can cause issues connected with the docker daemon. The docker daemon binds to a Unix socket, so the docker client will try to communicate to the daem...
In Docker, Feb 08, 2022How to scale docker containers
When it comes working with an master - replica services docker offers a scaling compose command which is very useful. Here I’m going to show you how to use it with an example.
In Docker, Jan 17, 2022How to fix Docker can't start service network not found
If you have already created a docker-compose stack and you are trying to restart the containers or start them you may face Docker error: Cannot start service ..: network $network-id n...
In Docker, Nov 18, 2021How 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, Sep 15, 2021Useful 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, 2021How 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, Dec 15, 2019docker hub
How to search Docker Hub repositories from CLI
If you want to search for a specific docker image on Docker Hub there is a way to do this from the CLI. The docker search command will allow you to search Docker Hub from the CLI. It ...
In Docker, Aug 24, 2021Build 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 DockerHub repo. Let’s jump on the steps bellow.
In Docker, Feb 21, 2021docker images
Filter the output of docker image ls
Sometimes using the filter flag as a part of the docker image ls command can be useful to figure out which images are taking space, which are dangling images or unused. In this tutori...
In Docker, Aug 26, 2021Build 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 DockerHub repo. Let’s jump on the steps bellow.
In Docker, Feb 21, 2021acr
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, 2021images
Filter the output of docker image ls
Sometimes using the filter flag as a part of the docker image ls command can be useful to figure out which images are taking space, which are dangling images or unused. In this tutori...
In Docker, Aug 26, 2021Push 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, 2021repository
Docker Registry vs Docker Repository
Docker is one of that technologies that will probably stay for a while. In a matter of years, the IT world went from monolith to deploying applications on the edge in a couple of seco...
In Docker, Aug 23, 2021Push 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, 2021aks
Scale AKS user node pool to 0
In case you missed some of these posts: Create AKS cluster on Azure Start and Stop AKS cluster Configure AKS automatic upgrades
In Azure, Kubernetes, Sep 06, 2021Configure AKS automatic upgrades
Regarding to managed Kubernetes services, IMHO Azure provides the best cloud experience, for a couple of reasons. From authentication and authorization standpoint, AKS integrates well...
In Azure, Kubernetes, Sep 01, 2021How 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, 2021How 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, 2021kubernetes
How to Install Kubectl on Amazon Linux 2
Installing the kubectl from the official red hat based distributions and adding it through the default yum packages will throw failure: repodata/repomd.xml from kubernetes: [Errno 256...
In K8S, Mar 14, 2022Multiple ways to run Kubernetes clusters locally
Kubernetes, the most popular container orchestration platform out there, needs no introduction. Let’s explore a couple of ways and tools on deploying K8s clusters on your local machine.
In Kubernetes, Jan 20, 2022Scale AKS user node pool to 0
In case you missed some of these posts: Create AKS cluster on Azure Start and Stop AKS cluster Configure AKS automatic upgrades
In Azure, Kubernetes, Sep 06, 2021Configure AKS automatic upgrades
Regarding to managed Kubernetes services, IMHO Azure provides the best cloud experience, for a couple of reasons. From authentication and authorization standpoint, AKS integrates well...
In Azure, Kubernetes, Sep 01, 2021How to install kubectl on macOS
Kubectl stands as a powerful command-line tool which allows you to control your kubernetes clusters. The main role of kubectl is to deploy applications, manage your cluster recourses,...
In MacOS, Jul 22, 2021How 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, 2021How 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, 2021ecs
How to drain an ECS instance
While troubleshooting the ECS cluster you may notice some of the EC2 instances are unhealthy due to some stuck processes. Here I’m going to show how to drain an ECS instance by replic...
In ECS, Oct 29, 2021How to get private IP address of Fargate ECS task with metadata
Previously I’ve explained how to ssh into a fargate container. In this tutorial, I will cover some steps on how can you get the private IP address of a fargate ECS container, so that ...
In AWS, Sep 13, 2021Define 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, 2021How to remove ECS task definitions
For those who have experience with AWS ECS, we all know how frustrating is sometimes that we just can’t delete task definitions. The only option is to update all task definition revis...
In AWS, Aug 25, 2021How to join EC2 instance to ECS cluster
AWS ECS is a container orchestration tool and it could be a great starting point as a beginner devops engineer before jumping on the Kubernetes hype train. Using an Auto Scaling group...
In AWS, Jul 25, 2021SSH 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, 2021How 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, 2021cloudformation
How to Resolve `Resource handler returned message: Model validation failed (#/ContainerDefinitions/0/Environment: array items are not unique)` error in CloudFormation
While updating some of my CloudFormation templates I stumbled upon the following error: Resource handler returned message: "Model validation failed (#/ContainerDefinitions/0/Environme...
In CloudFormation, May 11, 2022How to create an S3 bucket through AWS CloudFormation
Deploying your infrastructure through CloudFormation as an infrastructure as code tool can cause some murky situations as a begginer because AWS is facing a lack of CloudFormation doc...
In CloudFormation, AWS, Oct 03, 2021Declarative 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, 2021How 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, 2021ansible
Ansible user module and password hashing
As far as I know, there are two secure ways (discussable) you could include a password as part of the Ansible user module. Let’s go throught it.
In Ansible, Apr 28, 2022Ansible Vault password integration with Bitwarden
Ansible Vault encrypts Ansible data files mostly variables, so you could protect things such as passwords and keys. It uses a single password for encryption and decryption which initi...
In Ansible, Mar 13, 2022vars_files vs include_vars in Ansible
In the last Ansible post I’ve noted that there’s a difference when choosing between vars_files and include_vars. So, let’s explore the differences on a surface level.
In Ansible, Mar 01, 2022How to deal with AnsibleUndefinedVariable is undefined error
Although Ansible has a low learning curve, obvisouly there’s always a big difference between learning on your own versus working on a medium to large scale size (enterprise) projects....
In Ansible, Feb 27, 2022How to install Ansible on AWS EC2 Amazon Linux 2 instance
When it comes to AWS hosted infrastructure, if there is a need for managing the instances or the deployments of the application/services you can use the approach of having one EC2 ded...
In AWS, Ansible, Oct 07, 2021Reboot 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, 2021How to install Ansible on Rocky Linux 8
If there is a need to simplify the deployments of your applications, manage your infrastructure servers, etc.. you can achieve it with ansible which is one of the most popular tool fo...
In Ansible, Jul 11, 2021How 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, 2021How 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, 2021jinja2
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, 2021elasticsearch
Protect Elasticsearch stack from Apache Log4j vulnerability
As the Apache Log4j vulnerability is growing massively and its spread all over the internet a lot of worldwide companies are affected mostly on their java based applications. Elastics...
In Elasticsearch, Dec 16, 2021How to dump Elasticsearch index to S3 with Docker
Previously I’ve covered the topic around export and import the Elasticsearch index. from one ES cluster to another. So now if you want to back up a particular index, instead of storin...
In Elasticsearch, Sep 21, 2021How 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, Sep 17, 2021Elasticsearch 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, 2021How to check if document exist in Elasticsearch
Sometimes there is a need to check whether a document exists or not in Elasticsearch. Following the ES documentation and the best practices, you can use the HEAD method instead of the...
In Elasticsearch, Sep 03, 2021How to create Elasticsearch index
Creating an Elasticsearch index is a quick and easy process. In practise it’s an ELK API call that requires you to think of how many shards do you want to assign and replica shards as...
In Elasticsearch, Sep 02, 2021How to check Elasticsearch Cluster health
Knowing how to get statistics and understand the output from an Elasticsearch cluster can be very useful for a DevOps guy. This tutorial is aimed to show you how to check Elasticsearc...
In Elasticsearch, Aug 30, 2021How to manually change the allocation of shards
While updating the mapping on some of the ES clusters or doing a full reindex which are expensive operations, you may face a data node failure. Due to the node failure, there is a pos...
In Elasticsearch, Jul 13, 2021How 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, Jun 30, 2021How 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, 2021eks
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, 2021fargate
How to get private IP address of Fargate ECS task with metadata
Previously I’ve explained how to ssh into a fargate container. In this tutorial, I will cover some steps on how can you get the private IP address of a fargate ECS container, so that ...
In AWS, Sep 13, 2021Define 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, 2021SSH 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, 2021terraform
required_providers vs provider in Terraform
Terraform providers are TF plugins that abstract external APIs, mostly cloud provider APIs. These providers enable the user to easily manage their cloud environments by exposing resou...
In Terraform, May 20, 2022Fix 'Output refers to sensitive values' error in Terraform
Before Terraform ver. 0.14 you could have undoubtedly leak any secret as being a part of an output value. This usually happens in a CI/CD pipeline. These days Terraform will throw an ...
In Terraform, May 18, 2022Show sensitive output values in Terraform
Starting from Terraform version 0.14 the output values marked as sensitive, are being obscured. I’ll take the following TF output code block as an example:output "cloudflare_access_se...
In Terraform, May 16, 2022Terraform aws_acm_certificate resource forces constant replacement
Take a look at the following Terraform code block:```bashresource “aws_acm_certificate” “devcoops” { domain_name = “devcoops.com” subject_alternative_names = [“devcoop...
In Terraform, May 04, 2022How to Attach AWS Managed Policy to an IAM Role in Terraform
AWS Managed Policies are IAM policies created and managed by AWS. Today I’m going to show you how to attach a managed policy in Terraform.
In Terraform, Mar 05, 2022How to install Terragrunt on Centos 7
To simplify and structure the terraform modules you can use terragrunt as a wrapper. In this tutorial we are going to see how to install terragrunt on Centos 7.
In Terragrunt, Jan 27, 2022Create AWS IAM User Login Profile with PGP encrypted password in Terraform
Managing and deploying AWS IAM User Login Profiles in Terraform requires a base-64 encoded PGP public key or a keybase, as stated in the official documentation. But, there is no info ...
In Terraform, Jan 04, 2022Decrypt iam_user_login_profile password in Terraform
It’s almost always not a good idea to decrypt aws_iam_user_login_profile password to Terraform output since there are better approaches, which will not be covered in this topic today....
In Terraform, Dec 29, 2021Refreshing Terraform state
Refreshing Terraform state is done by adding the -refresh-only flag (since terraform refresh is depricated) when running plan and apply operations. To start off, what does it mean and...
In Terraform, Dec 09, 2021How to install Terragrunt on Ubuntu
Working with terragrunt as a terraform wrapper will ease things and simplify the terraform templates. Here I will show you how to set up quickly on your Ubuntu machine.
In Terragrunt, Nov 24, 2021How to install Terraform on Debian 11
Today I’ll be writing about terraform installation on Debian 11. The steps are pretty easy, so you just have to follow them and accomplish the installation process. Let’s hop in.
In Terraform, Nov 06, 2021How to install Terraform on AWS EC2 Amazon Linux 2 instance
There are a lot of tutorials on how to install the latest version of Terraform out there. Most of them are pointing to the terraform official release site, so you need to get the late...
In AWS, Terraform, Oct 11, 2021Get AWS Region Name in Terraform
The following tutorial will be a step by step guide on how to get the current AWS region name in Terraform.
In Terraform, AWS, Oct 06, 2021How to make local archive_file to be available when deploying Terraform aws_lambda_function
In today’s blog post, I really need to share with you all a quick tip regarding Terraform’s aws_lambda_function resource and how to make the latest local data archive_file to be prese...
In Terraform, Sep 20, 2021Declarative 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, 2021Reusing 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, 2021How to fix Terraform's acquiring the state lock error
A couple of days ago, I was deploying a Terraform ECS cluster, and during the terraform plan command, i forgot to add a module. Didn’t want to wait it out until the command finish, so...
In Terraform, Jul 31, 2021How to ignore changes in Terraform
Terraform is the most popular Infrastructure as Code tool mostly used for spinning up and managing infrastructure on the public cloud giants AWS, Azure, GCP and DigitalOcean. But, som...
In Terraform, Jul 23, 2021Restrict Variable Values in Terraform
If you have worked before with Terraform by provisioning a cloud infrastructure and/or writing Terraform modules, you must have stumbled upon some variable validation issues. This cou...
In Terraform, Jul 18, 2021How to install Terraform on Rocky Linux
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, Jul 02, 2021How 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, 2021ec2
Install jq on Amazon Linux 2
JQ one of my favorite lightweight and minimalistic JSON parser processor. When it comes playing with JSON outputs, and re-structuring JSON things, jq can make your impossible - possib...
In jq, May 17, 2022Install Postfix on Amazon Linux 2
Besides Exim, Postfix is another useful and free mail transfer agent that is under IBM public license. The installation is easy and simple so let’s see how to install Postfix on Amazo...
In Postfix, May 03, 2022Install Exim on Amazon Linux 2
Exim is a useful mail transfer agent easy to manage and set up. The installation process is easy as well, so let’s see how to install Exim on Amazon Linux 2.
In Exim, May 01, 2022Install Dig on Amazon Linux 2
Yet another useful DNS tool besides nslookup is dig. It can be used through the Linux command line that offers a quick check of the DNS records.
In DNS, Apr 29, 2022Install Nslookup on Amazon Linux 2
The need of checking DNS records quickly, through the cli can be achieved with nslookup. Let’s see how to install Nslookup on Amazon Linux 2.
In DNS, Apr 27, 2022Install Docker Compose on Amazon Linux 2
Installing the latest version of Docker Compose on Amazon Linux 2 is a pretty simple and straightforward process if Docker is installed previously. Let’s see the steps needed.
In Docker, Apr 25, 2022Install Screen on Amazon Linux 2
Screen is a Linux utility that allows you to run and use multiple shell sessions from a single ssh session. It’s commonly used for migrating a bunch of data through an ssh connection....
In Screen, Apr 23, 2022Install Redis CLI on Amazon Linux 2
Redis-CLI is a useful Terminal program that allows you to execute Redis commands, either on your local Redis or some remote Redis endpoint. Here I’m gonna show you how to install redi...
In Redis, Apr 21, 2022Install SCP on Amazon Linux 2
SCP is one of the most common tool for transferring files between remote and local machines. It can be also used for moving files or directories within the same machine. It uses a min...
In SCP, Apr 19, 2022Install Rsync on Amazon Linux 2
Sending files, and directories remotely can be achieved with a lot of utility tools. One of them is Rsync, which is a cool tool for remote transfer. Let’s see how to install it on Ama...
In Rsync, Apr 17, 2022Install Terragrunt on Amazon Linux 2
One of the best Terraform wrappers is Terragrunt so far. Terragrunt inherits a lot of useful commands and design structures from Terraform. Let’s see how to install Terragrunt on Amaz...
In Terragrunt, Apr 15, 2022Install openfortivpn on Amazon Linux 2
openfortivpn is a really cool open-source VPN client tool. Let’s see how to install it on Amazon Linux 2 instance.
In VPN, Apr 14, 2022Install HAProxy on Amazon Linux 2
HAProxy is one of the best free and open source software for using high availability load balancing and reverse proxy. It’s most suitable for HTTP and TCP based applications. Let’s se...
In HAProxy, Apr 13, 2022How to Set Up SSH Keys on Amazon Linux 2
While creating Amazon Linux 2 instance through the AWS console, there is a step that will provide you with the EC2 key pairs to connect to your instance. But if you need to set up som...
In SSH, Apr 11, 2022Install NodeJS on Amazon Linux 2
Nodejs doesn’t exist in the default Amazon Linux 2 yum packages. So we should add the node official repo and use it for the installation. Let’s see how to install node js on Amazon Li...
In NodeJS, Apr 09, 2022Enable EPEL on Amazon Linux 2
Using EPEL package repository can be very beneficial. Epel contains all the common packages that you may want to install. Unfortunately, EPEL is disabled in Amazon Linux 2. Let’s see ...
In AWS, Apr 07, 2022How to Install GO on Amazon Linux 2
Installing GO on Amazon Linux 2 can be done within a few minutes since the GO exists in the default Amazon Linux 2 yum packages. Let’s dive into it.
In GO, Apr 01, 2022How to Install SQLite on Amazon Linux 2
SQLite is one of the best minimalistic, lightweight, and powerful SQL database managers. It can be suitable for every application which doesn’t use a complex database structure. So to...
In SQLite, Mar 30, 2022How to Install Ruby on Amazon Linux 2
If you want to develop ruby application using some ruby frameworks like ruby on rails, padrino … on Amazon Linux 2 you will have to install ruby as a dependency. This topic will help ...
In Ruby, Mar 16, 2022How to Install Kubectl on Amazon Linux 2
Installing the kubectl from the official red hat based distributions and adding it through the default yum packages will throw failure: repodata/repomd.xml from kubernetes: [Errno 256...
In K8S, Mar 14, 2022How to Install OpenVPN on Amazon Linux 2
If you try to run yum install openvpn on an Amazon Linux 2 instance you will get: No package openvpn available. It means that it doesn’t exist to the existing yum packages. Let’s see ...
In VPN, Mar 12, 2022How to install Apache on AWS EC2 Amazon Linux 2 instance
Once you have provisioned an AWS ec2 instance installing Apache on amazon linux 2 is a straightforward and easy process. Here I’m going to show you how to install Apache web server on...
In AWS, Apache, Feb 06, 2022How to install UFW on Amazon Linux 2
Maybe you will raise a question is it worth installing ufw on Amazon Linux? Some say that it’s enough to use the instance security groups but if you need some extra security on a serv...
In UFW, Dec 10, 2021How to drain an ECS instance
While troubleshooting the ECS cluster you may notice some of the EC2 instances are unhealthy due to some stuck processes. Here I’m going to show how to drain an ECS instance by replic...
In ECS, Oct 29, 2021How to install Nomad on AWS EC2 Amazon Linux 2 instance
Working with popular orchestration application services like Kubernetes and ECS is not that easy as it seems when it comes to scaling the app, the deployments, and managing the resour...
In AWS, Nomad, Oct 13, 2021How to install Terraform on AWS EC2 Amazon Linux 2 instance
There are a lot of tutorials on how to install the latest version of Terraform out there. Most of them are pointing to the terraform official release site, so you need to get the late...
In AWS, Terraform, Oct 11, 2021How to install Ansible on AWS EC2 Amazon Linux 2 instance
When it comes to AWS hosted infrastructure, if there is a need for managing the instances or the deployments of the application/services you can use the approach of having one EC2 ded...
In AWS, Ansible, Oct 07, 2021How to install Nginx on AWS EC2 Amazon Linux 2 instance
Installing Nginx from the Amazon Linux repo will provide you with an exceedingly old Nginx version. Therefore, I will show you how to install it through the EPEL repo which is my pref...
In AWS, Nginx, Oct 05, 2021Remmina can't remote into AWS EC2 Windows Machine due to libfreerdp
If you need to access your Windows-based server through your local Linux machine you should consider using some of the RDPs software. A few days ago I needed to access a Microsoft SQL...
In RDP, Oct 01, 2021Define 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, 2021How to install Podman on AWS EC2 Amazon Linux 2 instance
If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m gonna show you how to install po...
In AWS, Podman, Aug 10, 2021How to join EC2 instance to ECS cluster
AWS ECS is a container orchestration tool and it could be a great starting point as a beginner devops engineer before jumping on the Kubernetes hype train. Using an Auto Scaling group...
In AWS, Jul 25, 2021How 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, 2021s3
How to upload files to S3 while preserving directory structure
Preserving the directory structure while uploading files to S3 could be a handy thing especially if you want to copy these files later to an EBS volume. The solution is pretty simple ...
In AWS, Mar 17, 2022How to create an S3 bucket through AWS CloudFormation
Deploying your infrastructure through CloudFormation as an infrastructure as code tool can cause some murky situations as a begginer because AWS is facing a lack of CloudFormation doc...
In CloudFormation, AWS, Oct 03, 2021How to dump Elasticsearch index to S3 with Docker
Previously I’ve covered the topic around export and import the Elasticsearch index. from one ES cluster to another. So now if you want to back up a particular index, instead of storin...
In Elasticsearch, Sep 21, 2021How to pg_dump to S3 directly
Just before we start with this tutorial, I just wanna say, don’t try this on production. Streaming pg_dump backup directly to S3 bucket is a bad practice to start with, unless you are...
In PostgreSQL, AWS, Jul 29, 2021How to list 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, 2021elk
How to manually change the allocation of shards
While updating the mapping on some of the ES clusters or doing a full reindex which are expensive operations, you may face a data node failure. Due to the node failure, there is a pos...
In Elasticsearch, Jul 13, 2021How 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, Jun 30, 2021ecr
How to fix Docker login unknown shorthand flag error
In some of the previous posts I’ve covered the Authorization token method when authenticating to an AWS ECR private registry. If you have followed the steps as described in the post y...
In Docker, AWS, Jul 03, 2021How 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, 2021rocky linux
How to install Firewalld on Rocky Linux 8
Keeping your services and host itself secure is crucial. Nowadays there are a lot of attacks that can harm your host server, like brute force attacks, SQL injections, ssh, etc… So if ...
In Firewalld, Nov 30, 2021How to install MongoDB on Rocky Linux 8
MongoDB has an attitude to store the data in BSON, which can be searched and indexed, with a way better performance. Installing MongoDB on rocky linux can additionally improve the sea...
In MongoDB, Aug 20, 2021How to secure Apache with Let's Encrypt on Rocky Linux 8
As a part of the certbot installation in this tutorial, you will see how to secure your Apache web server with a free Let’s Encrypt SSL certificate. Let’s start.
In Apache, Aug 08, 2021How to secure Nginx with Let's Encrypt on Rocky Linux 8
Previously we saw how to install Certbot on Rocky Linux 8 depending on your web server, whether it’s Nginx or Apache. In this tutorial, I’m going to show you how to secure your Nginx ...
In Nginx, Aug 06, 2021How to install Certbot on Rocky Linux 8
Installing certbot on your rocky linux server/machine is usually meant to be used to switch an existing HTTP site to work in HTTPS. It’s a helpful tool written in python which helps y...
In Certbot, Aug 05, 2021How to install PostgreSQL on Rocky Linux 8
Installing PostgreSQL on Rocky Linux follows the same procedure as MySQL. We need to enable the PostgreSQL module, install the desired version and enable the PostgreSQL service. Follo...
In PostgreSQL, Aug 01, 2021How to install MySQL on Rocky Linux 8
Installing MySQL on Rocky Linux it’s quite easy and quick. A lot of today’s applications are using MySQL as a web database. MySQL is an open source database and offers a lot of features.
In MySQL, Jul 30, 2021How to configure DHCP to fix the network connectivity on Rocky Linux
Some of the RHEL distros can cause common networking configuration issues on the first installation, so you will not be able to update the packages on a server or browse external Webs...
In Rocky Linux, Jul 26, 2021How to install Apache on Rocky Linux 8
Apache is one of the most popular, open source web servers that allows you to host your web content on internet. Apache can be installed easily and can run on any operating system. In...
In Apache, Jul 24, 2021How to install Nginx on Rocky Linux 8
If you need to implement a reverse proxy, load balancer or mail proxy, Nginx is the best-suited web server that can manage all of these actions. This tutorial will explain, how to ins...
In Nginx, Jul 20, 2021How to install Redis on Rocky Linux 8
If you are seeking a caching solution for your application then Redis will appear on the list. Here we will show you how to install Redis on Rocky Linux which is a replacement for Cen...
In Redis, Jul 17, 2021How to install Ansible on Rocky Linux 8
If there is a need to simplify the deployments of your applications, manage your infrastructure servers, etc.. you can achieve it with ansible which is one of the most popular tool fo...
In Ansible, Jul 11, 2021How to install Docker Compose on Rocky Linux 8
Installing Docker Compose on Rocky Linux follows the same procedure as the other Linux distros. Firstly, you need to make sure that you have installed Docker on your Rocky Linux machine.
In Docker, Jul 06, 2021How to install Docker on Rocky Linux 8
In the early December last year, RedHat took us all by suprise with the CentOS 8 End Of Life (EOL) announcement, that was scheduled for the end of 2021. In response to this, the origi...
In Docker, Jul 05, 2021How to install Terraform on Rocky Linux
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, Jul 02, 2021macos
Install macOS software updates from the Terminal
Working on macOS usually requires a manual intervention when applying the latest software updates. This could easily be done from the Terminal, as shown below.
In macOS, Apr 02, 2022Install Go on macOS from the Terminal
Go, also known as Golang is a popular open source programming language developed by Google and used for general purpose. Although the official macOS installation supports downloading ...
In Go, macOS, Mar 31, 2022Check system uptime in Linux MacOS and Windows from the Command Line
The following commands will help you find the system uptime for Linux, MacOS and Windows in the easiest way possible, from the command line.
In Linux, macOS, Windows, Mar 23, 2022How to install bc on Linux MacOS and Windows
bc or short for basic calculator is almost 50 years old calculator scripting language which I stumble upon as a prerequisite when testing AWS S3 upload speed. Let’s cover the installa...
In bc, Mar 19, 2022How To Uninstall Packages with Brew including all its dependencies
Homebrew, or shortly brew is the most popular package manager for MacOS. And, if you don’t know already, package managers are software tools used for managing apps on our local machin...
In Homebrew, Mar 07, 2022How to shutdown and restart MacOS from the Terminal
As a DevOps engineers, we must get used to running commands from the Terminal. Let’s see how easy and fast we can shutdown and restart a MacOS machine after long day of work.
In MacOS, Nov 29, 2021How to Install Apple Command Line Tools
Apple Command Line Tools are part of the Xcode, the official integrated development environment (IDE) for MacOS. The installation is a one-liner, so let’s just jump right into it.
In MacOS, Nov 13, 2021Install Visual Studio Code on Mac
Vscode is considered as one of the most used code editors nowadays. In this brief tutorial I will show you how to install it on Mac using Homebrew.
In MacOS, Nov 04, 2021Install Skype on Mac
Skype as a world-known VoIP based software can be installed in multiple ways on Mac. Today I’m going to pick up one of the preferable ways of doing it, which is the easiest and the qu...
In MacOS, Oct 31, 2021Install Ruby on Mac
There are four ways to install Ruby on all computing platforms, including package management systems, installers, managers, and of course building from source. RVM as a Ruby version m...
In MacOS, Oct 30, 2021How to install kubectl on macOS
Kubectl stands as a powerful command-line tool which allows you to control your kubernetes clusters. The main role of kubectl is to deploy applications, manage your cluster recourses,...
In MacOS, Jul 22, 2021How to Install PowerShell on Mac
As a devops engineer, we most likely would prefer to work with our cool and comfy MacBook Pros. And if you are working with Azure, you will most probably need to install PowerShell at...
In MacOS, Jul 16, 2021How to fix kernel driver not installed (rc=-1908) on Mac
The first time you try to spin up a VM on Mac, you will probably go with VirtualBox as a Hypervisor, and honestly VBox is pretty good for beginners who just want to get the things don...
In MacOS, Jul 07, 2021virtualbox
How to install Windows 11 on VirtualBox
Windows 11 has been out there for almost 3 months, so let’s see how good the virtualbox installation will go.
In Windows 11, Dec 21, 2021How to fix Windows 11 'does not meet the requirements' error on VirtualBox
As with most of the new OS releases on Mac, Windows or Linux, my best practice is to test them first in a virtual environment, usually using VirtualBox. The reason you might stumble u...
In Windows 11, Dec 17, 2021How to fix kernel driver not installed (rc=-1908) on Mac
The first time you try to spin up a VM on Mac, you will probably go with VirtualBox as a Hypervisor, and honestly VBox is pretty good for beginners who just want to get the things don...
In MacOS, Jul 07, 2021docker cp
How to copy files and folders to and from Docker Containers
There are situations when you need to copy files/folders from the container’s file system to the local machine or the reverse. You can achive that with Docker copy command. In this tu...
In Docker, Jul 08, 2021Terminal
Install macOS software updates from the Terminal
Working on macOS usually requires a manual intervention when applying the latest software updates. This could easily be done from the Terminal, as shown below.
In macOS, Apr 02, 2022How to shutdown and restart MacOS from the Terminal
As a DevOps engineers, we must get used to running commands from the Terminal. Let’s see how easy and fast we can shutdown and restart a MacOS machine after long day of work.
In MacOS, Nov 29, 2021Check Internet Speed from CLI on Linux
In this day and age, experiencing a slow internet connection could be a huge deal, especially for most of us who work remotely. Since we can do almost anything from the CLI, let’s sav...
In Linux, Oct 18, 2021How to copy files and folders to and from Docker Containers
There are situations when you need to copy files/folders from the container’s file system to the local machine or the reverse. You can achive that with Docker copy command. In this tu...
In Docker, Jul 08, 2021postgresql
How to Export and Import PostgreSQL tables using CSV
Export and Import operations in PostgreSQL and any other relation database management system for that matter, could include a couple of use-case scenarios, for instance data analysis....
In PostgreSQL, Feb 21, 2022How to Upgrade and Downgrade Extensions in PostgreSQL
Extensions in PostgreSQL are basically packages with additional features. The popular ones include TimescaleDB, PostGIS, pg_stat_statements, ZomboDB and Postgres_fdw. Today’s focus go...
In PostgreSQL, Feb 19, 2022How to Install, Enable and List TimescaleDB version in PostgreSQL
TimescaleDB is a PostgreSQL extension that enables easier approach when working with time-series data. Today we are going to see how can we install, enable / disable, get the Timescal...
In PostgreSQL, Feb 17, 2022How to Limit Number of Rows in PostgreSQL
Limiting SQL queries is most likely a useful feature especially if you want to get a sample data chunk from a big table. The LIMIT clause in PostgreSQL is pretty much the same as the ...
In PostgreSQL, Feb 15, 2022How to list Sequences in PostgreSQL
Sequences in PostgreSQL are types of objects in a database that generates sequence of integers with a specific requirements. Here’s few ways to list them though.
In PostgreSQL, Feb 13, 2022How to list Triggers in PostgreSQL
Triggers are types of stored procedures that run automatically whenever an event occurs, something like webhooks. And, a few ways to list them.
In PostgreSQL, Feb 11, 2022How to list Stored Procedures in PostgreSQL
Stored procedures or simply put procedures are just SQL codes that can be saved for later use. There are few ways you could list them though, found below.
In PostgreSQL, Feb 09, 2022How to list Indexes in PostgreSQL
This week is all about listing things in PostgreSQL, and I’m gonna start with indexes. Indexes are basically tables that points to data in other tables, therefore speeding up the quer...
In PostgreSQL, Feb 07, 2022How to restore an individual table in PostgreSQL
Backup and restore operations are convinient if we are working with small and medium-sized data. But, what happens when we need to restore a single table from a large database?! Most ...
In PostgreSQL, Feb 05, 2022How to fix 'type: geography does not exist' error in PostgreSQL
Restoring PostgreSQL databases could be sometimes tricky and most likely so include a few errors. In today’s issue resolving series, we are going to deal with the following error: typ...
In PostgreSQL, Feb 03, 2022Calculate PostgreSQL configuration
Fine-tuning PostgreSQL requires a lot of experience and screw-ups along the way. Luckily, there is a configuration calculator available online made just for DevOps, SysOps and DB admi...
In PostgreSQL, Dec 19, 2021POSTGRESQL ERROR: Canceling statement due to conflict with recovery
This article is focused on resolving Canceling statement due to conflict with recovery, which is a common issue when dealing with master-slave replication.
In PostgreSQL, Oct 14, 2021How to list, remove and upgrade PostgreSQL cluster
As part of the PostgreSQL series, in today’s tutorial, we are going to see on how can we list, remove and upgrade clusters, the easy way.
In PostgreSQL, Aug 11, 2021How to terminate connections in PostgreSQL
As part of the PostgreSQL series, in today’s tutorial, we are going to focus on how to list and terminate connections. terminate, kill and drop will be used interchangeably through th...
In PostgreSQL, Aug 07, 2021How to terminate idle transactions in PostgreSQL
As part of the PostgreSQL series, in today’s tutorial, we are going to see on how to set idle_in_transaction_session_timeout parameter and handle idle transactions, so you won’t face ...
In PostgreSQL, Aug 04, 2021How to resolve PostgreSQL FATAL: sorry, too many clients already
As part of the PostgreSQL series, in today’s tutorial, we are going to see on how to deal with one of the most often seen postgresql errors:org.postgresql.util.PSQLException: FATAL: s...
In PostgreSQL, Aug 02, 2021How to install PostgreSQL on Rocky Linux 8
Installing PostgreSQL on Rocky Linux follows the same procedure as MySQL. We need to enable the PostgreSQL module, install the desired version and enable the PostgreSQL service. Follo...
In PostgreSQL, Aug 01, 2021How to pg_dump to S3 directly
Just before we start with this tutorial, I just wanna say, don’t try this on production. Streaming pg_dump backup directly to S3 bucket is a bad practice to start with, unless you are...
In PostgreSQL, AWS, Jul 29, 2021Basic and Common PostgreSQL commands
In some of the previous posts, I’ve written about How to Backup and Restore a PostgreSQL Database and How To Show Database and table size in PostgreSQL. These are pretty common, basic...
In PostgreSQL, Jul 27, 2021Show Database and table size in PostgreSQL
In this tutorial, we’ll see how we can show a database and table size in PostgreSQL. Planning a backup procedure, determing server instance size, could be few reasons to keep an eye o...
In PostgreSQL, Jul 19, 2021How to Backup and Restore a PostgreSQL Database
As an open-source database, PostgreSQL is in the top 3 most popularly used databases which offen can be find as a managed service offered by the public cloud giants. In one of the pre...
In PostgreSQL, Jul 09, 2021pg_dump
How to pg_dump to S3 directly
Just before we start with this tutorial, I just wanna say, don’t try this on production. Streaming pg_dump backup directly to S3 bucket is a bad practice to start with, unless you are...
In PostgreSQL, AWS, Jul 29, 2021How to Backup and Restore a PostgreSQL Database
As an open-source database, PostgreSQL is in the top 3 most popularly used databases which offen can be find as a managed service offered by the public cloud giants. In one of the pre...
In PostgreSQL, Jul 09, 2021pg_restore
How to restore an individual table in PostgreSQL
Backup and restore operations are convinient if we are working with small and medium-sized data. But, what happens when we need to restore a single table from a large database?! Most ...
In PostgreSQL, Feb 05, 2022How to Backup and Restore a PostgreSQL Database
As an open-source database, PostgreSQL is in the top 3 most popularly used databases which offen can be find as a managed service offered by the public cloud giants. In one of the pre...
In PostgreSQL, Jul 09, 2021psql
How to install PostgreSQL on Rocky Linux 8
Installing PostgreSQL on Rocky Linux follows the same procedure as MySQL. We need to enable the PostgreSQL module, install the desired version and enable the PostgreSQL service. Follo...
In PostgreSQL, Aug 01, 2021Basic and Common PostgreSQL commands
In some of the previous posts, I’ve written about How to Backup and Restore a PostgreSQL Database and How To Show Database and table size in PostgreSQL. These are pretty common, basic...
In PostgreSQL, Jul 27, 2021Show Database and table size in PostgreSQL
In this tutorial, we’ll see how we can show a database and table size in PostgreSQL. Planning a backup procedure, determing server instance size, could be few reasons to keep an eye o...
In PostgreSQL, Jul 19, 2021How to Backup and Restore a PostgreSQL Database
As an open-source database, PostgreSQL is in the top 3 most popularly used databases which offen can be find as a managed service offered by the public cloud giants. In one of the pre...
In PostgreSQL, Jul 09, 2021arm64
How to install Docker Compose on ARM64
In some of the previous posts I’ve covered how you can install docker-compose on Linux distributions like Rocky Linux for example. It’s pretty easy to set it up, right?! Usually when ...
In Docker, Jul 12, 2021mysql
How to Kill Thread or Query in AWS RDS
Stoping some threads or queries that may appear in the deadlock queue or locked from the InnoDB engine on AWS RDS is a different thing than self-hosted MySQL or MariaDB. They can pote...
In RDS, Mar 24, 2022Repair and Optimize MySQL Databases
In some of the previous posts, I’ve explained how to check if the mysql tables are corrupted. So this topic will shed some light on how to auto-repair and optimize all mysql databases...
In MYSQL, Mar 20, 2022How to Export All MySQL Databases
Keeping the database structure in one place and safe can sometimes be useful regarding disaster recovery. Exporting all MySQL databases into one SQL file it’s not a common thing but i...
In MYSQL, Mar 18, 2022MySQL Fix: 'Waiting for table metadata lock'
Working with high load SQL queries or big transactions, you may face: Waiting for table metadata lock. Here I’m gonna list some useful solutions that might help you.
In MySQL, Feb 24, 2022AWS Error 1290 (HY000): The MySQL server is running with the --read-only
Using AWS Aurora auto-scaling will increase the resources to handle the workload and connections. So that way you can see a bunch of replicas that are taking care of the workload. Con...
In MySQL, Feb 10, 2022FirewallD allow MySQL remote access
On most of the RHEL based distributions, FirewallD comes as a default firewall and it’s configured to pass only ssh connections by default. Therefore in this tutorial, I’m going to sh...
In Firewalld, Dec 06, 2021How to execute MySQL DB migrations with Symfony and Doctrine
If you are working on infrastructure with a lot of microservices as a developer you may face difficulties executing SQL queries in terms of keeping database structure clean and safe c...
In Symfony, MySQL, Nov 16, 2021How to export and import all MySQL databases at once
Working with microservices will ramp up the number of MySQL databases. So if you need to create a backup for all of them at once there is a way to do it through the cli. Also importin...
In MySQL, Nov 12, 2021How to resolve AWS Aurora ERROR 3024 (HY000)
If you hold some heavy-load AWS Aurora database tables and you are trying to export some of the tables or import data, there is a big chance to face the following error ERROR 3024 (HY...
In AWS, Aurora, Nov 02, 2021How to import CSV file into MySQL table
Importing the data through MySQL Workbench or phpmyadmin can cause some limitation issues, so things will get complicated. In this tutorial, I’m gonna show you how to import CSV file ...
In MySQL, Aug 03, 2021How to install MySQL on Rocky Linux 8
Installing MySQL on Rocky Linux it’s quite easy and quick. A lot of today’s applications are using MySQL as a web database. MySQL is an open source database and offers a lot of features.
In MySQL, Jul 30, 2021How to get database and table size in MySQL
In this tutorial, we’ll see how we can show a single and multiple database and table size in MySQL. Let’s get straight to the point.
In MySQL, Jul 21, 2021How to Backup and Restore a MySQL Database
MySQL is one of the most popular open-source database engines. Manually backing up and restoring databases for whatever reasons could be found quite easy to execute, and we can see ho...
In MySQL, Jul 14, 2021jenkins
How to check Apache Log4j vulnerability in Jenkins
There are a lot of open forums and discussions due to the Log4j zero-day flaw these days. Log4j is an open-source java-based library developed by Apache Software Foundation and it’s u...
In Jenkins, Dec 14, 2021Jenkins - same workspace for multiple jobs
In order to save some space on your Jenkins instance or if you need to create some backup jobs for multiple environments, you will need to enable shared space between multiple jobs. I...
In Jenkins, Nov 20, 2021Clean up Docker space for Jenkins jobs
Managing and deploying complex infrastructure with Jenkins sometimes can cause job failure issues. For example, if you are working with microservices and all the deployments are going...
In Docker, Jenkins, Jul 15, 2021powershell
Get Windows 10 version number from the CLI
Today’s topic gonna be all about the multiple way to get the version number for Windows 10. Even though there’s a dozen ways to do it, I’m gonna stick to the most basic ones without a...
In Windows 10, May 12, 2022PowerShell equivalent of the touch command in Linux
There might be a point in your IT career where you need to switch to a Windows OS dev machine whatever you like it not because the CTO decided to put all eggs in the Microsoft / Azure...
In PowerShell, May 02, 2022How to Install PowerShell on Mac
As a devops engineer, we most likely would prefer to work with our cool and comfy MacBook Pros. And if you are working with Azure, you will most probably need to install PowerShell at...
In MacOS, Jul 16, 2021redis
Install Redis on CentOS 9 Stream
Redis is the most popular and most used cache, message broker, and in-memory key value database store service nowadays. So today I’m going to show you how to install Redis on CentOS 9...
In Redis, May 07, 2022Install Redis CLI on Amazon Linux 2
Redis-CLI is a useful Terminal program that allows you to execute Redis commands, either on your local Redis or some remote Redis endpoint. Here I’m gonna show you how to install redi...
In Redis, Apr 21, 2022Disable Redis persistence in Docker
Disabling Redis persistance in Docker could be a good thing tho, if you are hosting a development environment, running low on disks space and possibly can’t afford to scale. By defaul...
In Redis, Docker, Apr 12, 2022How to check Redis connection with Telnet
A lot of useful checks can be made with telnet in terms of connectivity, sending test emails, access to databases, etc. Telnet is an application protocol based on TCP and it can allow...
In Redis, Mar 26, 2022How to install Redis on Ubuntu 21.10
Using Redis as popular caching storage and also persistent key value database is always a good idea. Here I’m going to show you how to install it on a fresh Ubuntu 21.10 instance.
In Redis, Feb 26, 2022How to install Redis on Debian 11
Improving your site performance and caching your content can be achieved with Redis which stands as one of the most popular caching tools nowadays. How the complexity of the applicati...
In Redis, Sep 29, 2021How to install Redis on Rocky Linux 8
If you are seeking a caching solution for your application then Redis will appear on the list. Here we will show you how to install Redis on Rocky Linux which is a replacement for Cen...
In Redis, Jul 17, 2021nginx
Nginx proxy and 'an upstream response is buffered to a temporary file' warning
In today’s Nginx log message of the week, we got the following warning:2022/05/02 08:03:16 [warn] 31447#0: an upstream response is buffered to a temporary file /var/lib/nginx/proxy/1/...
In Nginx, May 08, 2022Tweaking Nginx proxy_buffers parameters
Before setting up YOLO values for proxy_buffers and proxy_buffer_size parameters, you need to find out the average and maximum response sizes first. On a side note, the following step...
In Nginx, May 06, 2022Install Nginx on CentOS 9 Stream
Nginx is one of the most used web servers nowadays and can be easily installed on the new CentOS 9 Stream OS. Let’s see how to install Nginx on CentOS 9 Stream and enable the http and...
In Nginx, May 05, 2022Nginx and 'using inherited sockets' notice
If you have been debugging and digging into the nginx logs, you might have stubled upon the following notice log message:2022/03/10 06:04:32 [notice] 31447#31447: using inherited sock...
In Nginx, Apr 24, 2022Add HSTS in Nginx
Increasing the website performance and decreasing the server load can be achieved by HSTS. Enabling the HSTS security headers in Nginx will tell the browser to use https instead of ht...
In Nginx, Mar 28, 2022How to resolve Nginx 'an upstream response is buffered to a temporary file'
After connecting Nginx with ELK stack to handle requests I spot a lot of an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/9/66/00000034785 while read...
In Nginx, Mar 08, 2022How to install Nginx on Ubuntu 21.10
Since Ubuntu 21.10 has been released there was an immediate interest in using it as an OS Server. In this tutorial, we are going to see how to install Nginx on Ubuntu 21.10.
In Nginx, Feb 20, 2022How to configure basic caching in Nginx
As the cache need grows for a big data applications, technology market offers a lot of different caching solutions. Today I want to show you how to set up basic caching and cache your...
In Nginx, Feb 04, 2022How to enable HTTP/2 in Nginx
HTTP/2 was published almost 7 years ago, HTTP/3 being an internet draft standard since October 2020, and yet here we are, most of us still using HTTP/1.1. Considering how things quick...
In Nginx, Jan 18, 2022Redirect HTTP to HTTPS in Nginx
Nowadays almost every owner of a website wants to secure his site with an SSL certificate. Once that is achieved the second step is to redirect the whole HTTP traffic to HTTPS dependi...
In Nginx, Dec 26, 2021Setup Nginx Proxy for Node.js app
Behind every major player in the cloud provider’s field, there is a hidden “magic” that makes our applications work. Most of the time, this magic is some kind of a proxy, mostly Nginx...
In Nginx, Oct 22, 2021Resolve (code=exited, status=2) in Nginx
Sometimes after nginx service restart and you’re trying to get the service status, you might get the following status code line:Process: 10316 ExecStop=/sbin/start-stop-daemon --quiet...
In Linux, Oct 20, 2021How to install Nginx on AWS EC2 Amazon Linux 2 instance
Installing Nginx from the Amazon Linux repo will provide you with an exceedingly old Nginx version. Therefore, I will show you how to install it through the EPEL repo which is my pref...
In AWS, Nginx, Oct 05, 2021How 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 definitely...
In Nginx, Sep 07, 2021How to install Nginx on Debian 11
Installing Nginx on Debian 11 is pretty easy and straightforward. This tutorial will show you how to install it and enable HTTP traffic on your debian server.
In Nginx, Aug 22, 2021Missing sites-available directory in Nginx
As part of the Nginx series, in today’s tutorial, we are going to see on how to add that missing sites-available subdirectory. The reason behind this, is because most of us have been ...
In Nginx, Aug 17, 2021How to set up Nginx reverse proxy for your application
Using Nginx reverse proxy could be very useful, especially if you are developing an application with a framework that can run its own server like nodejs, python, ruby on rails, etc… I...
In Nginx, Aug 14, 2021How to block visitors by country in Nginx
In some of mine previous posts, I wrote about how you can whitelist IPs in Nginx. In today’s tutorial, we are going to see how can we block specific countries in a few steps.
In Nginx, Aug 13, 2021How to whitelist IPs in Nginx
We all know what firewalls are for, but sometimes they can become a pain in the arse, and we all end up opening HTTP and HTTPS port by default. Let’s say we host multiple domains via ...
In Nginx, Aug 09, 2021How to secure Nginx with Let's Encrypt on Rocky Linux 8
Previously we saw how to install Certbot on Rocky Linux 8 depending on your web server, whether it’s Nginx or Apache. In this tutorial, I’m going to show you how to secure your Nginx ...
In Nginx, Aug 06, 2021How to determine the correct number of max children processes for PHP-FPM
Most of the PHP developers are using Nginx with php-fpm as the most efficient approach. Most likely nginx will throw php errors, that the server reached the pm.max_children number. It...
In PHP, Jul 28, 2021How to install Nginx on Rocky Linux 8
If you need to implement a reverse proxy, load balancer or mail proxy, Nginx is the best-suited web server that can manage all of these actions. This tutorial will explain, how to ins...
In Nginx, Jul 20, 2021kubectl
How to Install Kubectl on Amazon Linux 2
Installing the kubectl from the official red hat based distributions and adding it through the default yum packages will throw failure: repodata/repomd.xml from kubernetes: [Errno 256...
In K8S, Mar 14, 2022How to install kubectl on macOS
Kubectl stands as a powerful command-line tool which allows you to control your kubernetes clusters. The main role of kubectl is to deploy applications, manage your cluster recourses,...
In MacOS, Jul 22, 2021apache
How to install Apache on AWS EC2 Amazon Linux 2 instance
Once you have provisioned an AWS ec2 instance installing Apache on amazon linux 2 is a straightforward and easy process. Here I’m going to show you how to install Apache web server on...
In AWS, Apache, Feb 06, 2022Redirect HTTP to HTTPS in Apache
Securing your website by setting redirect from HTTP to HTTPS in Apache can be achieved easily if your SSL certificate is generated and ready to use. It can be done using a virtual hos...
In Nginx, Dec 28, 2021Scan Docker Images for Apache Log4j2 vulnerability
Docker Hub already announced public Log4jShell detection which is now live on Docker Official Images. But for those of you who are still using some of the old or custom images, there ...
In Docker, Dec 20, 2021Protect Elasticsearch stack from Apache Log4j vulnerability
As the Apache Log4j vulnerability is growing massively and its spread all over the internet a lot of worldwide companies are affected mostly on their java based applications. Elastics...
In Elasticsearch, Dec 16, 2021How to check Apache Log4j vulnerability in Jenkins
There are a lot of open forums and discussions due to the Log4j zero-day flaw these days. Log4j is an open-source java-based library developed by Apache Software Foundation and it’s u...
In Jenkins, Dec 14, 2021How to create Apache reverse proxy for your application
Creating Apache reverse proxy follows a similar procedure as Nginx. In some of the previous posts, we saw how to set up Nginx reverse proxy, so today I’m going to show you exactly the...
In Apache, Sep 23, 2021How to secure Apache with Let's Encrypt on Rocky Linux 8
As a part of the certbot installation in this tutorial, you will see how to secure your Apache web server with a free Let’s Encrypt SSL certificate. Let’s start.
In Apache, Aug 08, 2021How to install Apache on Rocky Linux 8
Apache is one of the most popular, open source web servers that allows you to host your web content on internet. Apache can be installed easily and can run on any operating system. In...
In Apache, Jul 24, 2021dhcp
How to configure DHCP to fix the network connectivity on Rocky Linux
Some of the RHEL distros can cause common networking configuration issues on the first installation, so you will not be able to update the packages on a server or browse external Webs...
In Rocky Linux, Jul 26, 2021networking
How to configure DHCP to fix the network connectivity on Rocky Linux
Some of the RHEL distros can cause common networking configuration issues on the first installation, so you will not be able to update the packages on a server or browse external Webs...
In Rocky Linux, Jul 26, 2021php
How to install PHP 7.4 on Amazon Linux 2
Setting up a PHP environment for a PHP-based project on Amazon Linux 2 it’s a straightforward process and it can be achieved in a few steps. This tutorial is aimed to show you the ste...
In PHP, Dec 24, 2021How to install PHP composer within Dockerfile
Dockerizing your PHP application probably would require some external commands within your base docker image. That’s why you will need to have a Dockerfile and put all the additional ...
In Docker, Dec 04, 2021How to execute MySQL DB migrations with Symfony and Doctrine
If you are working on infrastructure with a lot of microservices as a developer you may face difficulties executing SQL queries in terms of keeping database structure clean and safe c...
In Symfony, MySQL, Nov 16, 2021How to determine the correct number of max children processes for PHP-FPM
Most of the PHP developers are using Nginx with php-fpm as the most efficient approach. Most likely nginx will throw php errors, that the server reached the pm.max_children number. It...
In PHP, Jul 28, 2021php-fpm
How to determine the correct number of max children processes for PHP-FPM
Most of the PHP developers are using Nginx with php-fpm as the most efficient approach. Most likely nginx will throw php errors, that the server reached the pm.max_children number. It...
In PHP, Jul 28, 2021csv
How to Export and Import PostgreSQL tables using CSV
Export and Import operations in PostgreSQL and any other relation database management system for that matter, could include a couple of use-case scenarios, for instance data analysis....
In PostgreSQL, Feb 21, 2022Convert 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 Linux, Sep 18, 2021How to import CSV file into MySQL table
Importing the data through MySQL Workbench or phpmyadmin can cause some limitation issues, so things will get complicated. In this tutorial, I’m gonna show you how to import CSV file ...
In MySQL, Aug 03, 2021certbot
Certbot auto renew SSL certificate creating a cron job
If you are using a free SSL certificate from certbot, probably you are tired of the manual renewal. Here I’m going to show you how to automate the process of creating a cron job that ...
In Certbot, Jan 19, 2022How to list, renew and delete Certbot certificates
Managing certbot certificates is often a underlooked operation since Certbot handles cert renewal automatically using a cronjob, so no worries there. But, what if we want to list whic...
In Certbot, Dec 03, 2021How to secure Domain with Let's Encrypt SSL certificate on Amazon Linux 2
As a sequel to the previous topic where we saw how to install Certbot on Amazon Linux 2, here I’m going to show you how to secure your domain with a free Let’s Encrypt SSL certificate...
In Certbot, Nov 28, 2021How to install Certbot on Amazon Linux 2
Using the AWS amazon linux 2 template for your EC2 instance is always a preferred way as an AWS-optimized and proprietary template. So if your web application requires an SSL certific...
In Certbot, Nov 26, 2021How to secure Apache with Let's Encrypt on Rocky Linux 8
As a part of the certbot installation in this tutorial, you will see how to secure your Apache web server with a free Let’s Encrypt SSL certificate. Let’s start.
In Apache, Aug 08, 2021How to secure Nginx with Let's Encrypt on Rocky Linux 8
Previously we saw how to install Certbot on Rocky Linux 8 depending on your web server, whether it’s Nginx or Apache. In this tutorial, I’m going to show you how to secure your Nginx ...
In Nginx, Aug 06, 2021How to install Certbot on Rocky Linux 8
Installing certbot on your rocky linux server/machine is usually meant to be used to switch an existing HTTP site to work in HTTPS. It’s a helpful tool written in python which helps y...
In Certbot, Aug 05, 2021security
Add HSTS in Nginx
Increasing the website performance and decreasing the server load can be achieved by HSTS. Enabling the HSTS security headers in Nginx will tell the browser to use https instead of ht...
In Nginx, Mar 28, 2022Repair and Optimize MySQL Databases
In some of the previous posts, I’ve explained how to check if the mysql tables are corrupted. So this topic will shed some light on how to auto-repair and optimize all mysql databases...
In MYSQL, Mar 20, 2022How to Install OpenVPN on Amazon Linux 2
If you try to run yum install openvpn on an Amazon Linux 2 instance you will get: No package openvpn available. It means that it doesn’t exist to the existing yum packages. Let’s see ...
In VPN, Mar 12, 2022MySQL Fix: 'Waiting for table metadata lock'
Working with high load SQL queries or big transactions, you may face: Waiting for table metadata lock. Here I’m gonna list some useful solutions that might help you.
In MySQL, Feb 24, 2022AWS Associate VPC with Private Hosted Zone
Working with multiple AWS accounts can lead to timeouts between the different account services. Behind the VPC peering and the routing table connection, a very important thing is to s...
In AWS, Dec 30, 2021Redirect HTTP to HTTPS in Apache
Securing your website by setting redirect from HTTP to HTTPS in Apache can be achieved easily if your SSL certificate is generated and ready to use. It can be done using a virtual hos...
In Nginx, Dec 28, 2021Redirect HTTP to HTTPS in Nginx
Nowadays almost every owner of a website wants to secure his site with an SSL certificate. Once that is achieved the second step is to redirect the whole HTTP traffic to HTTPS dependi...
In Nginx, Dec 26, 2021Scan Docker Images for Apache Log4j2 vulnerability
Docker Hub already announced public Log4jShell detection which is now live on Docker Official Images. But for those of you who are still using some of the old or custom images, there ...
In Docker, Dec 20, 2021Protect Elasticsearch stack from Apache Log4j vulnerability
As the Apache Log4j vulnerability is growing massively and its spread all over the internet a lot of worldwide companies are affected mostly on their java based applications. Elastics...
In Elasticsearch, Dec 16, 2021How to check Apache Log4j vulnerability in Jenkins
There are a lot of open forums and discussions due to the Log4j zero-day flaw these days. Log4j is an open-source java-based library developed by Apache Software Foundation and it’s u...
In Jenkins, Dec 14, 2021AWS|How to allow source IP addresses to access specific URL path using an Application Load Balancer
Most likely, if you use ECS as your application orchestration service it will require some basic knowledge to manage Application Load Balancers short ALBs. Essentially managing the ac...
In AWS, Dec 12, 20215 Ways to Protect Root Account in the Cloud
Security as one of the Five Pillars of the Well-Architected Framework has been underlooked, not just in the age of the cloud computing but before that as well. With cloud migration be...
In Cloud, Oct 12, 2021How to secure Apache with Let's Encrypt on Rocky Linux 8
As a part of the certbot installation in this tutorial, you will see how to secure your Apache web server with a free Let’s Encrypt SSL certificate. Let’s start.
In Apache, Aug 08, 2021How to secure Nginx with Let's Encrypt on Rocky Linux 8
Previously we saw how to install Certbot on Rocky Linux 8 depending on your web server, whether it’s Nginx or Apache. In this tutorial, I’m going to show you how to secure your Nginx ...
In Nginx, Aug 06, 2021podman
Install Podman Compose on Ubuntu 22.04
As Podman is ramping up within the containers world, the need for Podman Compose is getting higher as well. Here I’m gonna show you three ways on how to install Podman Compose on Ubun...
In Podman, May 19, 2022Install Podman Compose on Debian 11
The growth and use of Podman is really raging higher and higher. I hope one day it will be arm to arm with Docker. Today I assume that you have Podman installed on Debian 11 already. ...
In Podman, May 09, 2022How to install Podman on Ubuntu 21.10
In this tutorial, I’m going to show how to install Podman on Ubuntu 21.10 using the default Ubuntu 21.10 packages. Previously we clarified that installing Podman with the default Ubun...
In Podman, Feb 28, 2022How to Install Podman Compose on Centos 7
When it comes to installing podman-compose on centos 7 it follows the same procedure as on the other rhel based distros and there are three ways to achieve it. You only need to make s...
In Podman, Jan 15, 2022Docker vs Podman
2022 might be the year of DevOps alternatives, including cloud providers, CI/CD tools and even containers. Speaking of containers, Podman looks like a promising alternative to Docker....
In Docker, Podman, Jan 14, 2022Install Podman Compose on Ubuntu 20.04
Installation of podman-compose on ubuntu 20.04 is pretty simple, quick, and can be achieved in three ways. Before jumping on the installation part make sure that you have python3 and ...
In Podman, Jan 09, 2022Install Podman Compose on Amazon Linux
As the podman is becoming a suitable way for replacing docker he also offers a compose file for managing multiple services as docker-compose. There are three ways to install it and I’...
In Podman, Jan 07, 2022Install Podman on Windows 11
The installation guide for running Podman on Windows 11 follows the same idea as Install Docker on Windows 11 without Docker Desktop.
In Podman, Dec 31, 2021Docker as an alias for Podman
There is a quick hack to get started with Podman if you are not familiar with the syntax though.
In Podman, Dec 23, 2021Install Podman on Windows 10
The trick for installation and running Podman on Windows 10 follows the same idea as Install Docker on Windows 10 without Docker Desktop.
In Podman, Dec 15, 2021How to install Podman on Ubuntu 20.04
If you try to install Podman on Ubuntu 20.04 with the default Ubuntu packages, the installation will fail with the following error: E: Unable to locate package podman. In this tutoria...
In Ubuntu, Podman, Aug 12, 2021How to install Podman on AWS EC2 Amazon Linux 2 instance
If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m gonna show you how to install po...
In AWS, Podman, Aug 10, 2021amazon linux
How to install Apache on AWS EC2 Amazon Linux 2 instance
Once you have provisioned an AWS ec2 instance installing Apache on amazon linux 2 is a straightforward and easy process. Here I’m going to show you how to install Apache web server on...
In AWS, Apache, Feb 06, 2022Install Podman Compose on Amazon Linux
As the podman is becoming a suitable way for replacing docker he also offers a compose file for managing multiple services as docker-compose. There are three ways to install it and I’...
In Podman, Jan 07, 2022How to install PHP 7.4 on Amazon Linux 2
Setting up a PHP environment for a PHP-based project on Amazon Linux 2 it’s a straightforward process and it can be achieved in a few steps. This tutorial is aimed to show you the ste...
In PHP, Dec 24, 2021How to install UFW on Amazon Linux 2
Maybe you will raise a question is it worth installing ufw on Amazon Linux? Some say that it’s enough to use the instance security groups but if you need some extra security on a serv...
In UFW, Dec 10, 2021How to install Firewalld on Amazon Linux 2
Protecting your EC2 instance can be accomplished in multiple ways, setting up rules through the AWS security group or installing a firewall directly on your EC2 instance. Today I’m go...
In Firewalld, Dec 02, 2021How to install Certbot on Amazon Linux 2
Using the AWS amazon linux 2 template for your EC2 instance is always a preferred way as an AWS-optimized and proprietary template. So if your web application requires an SSL certific...
In Certbot, Nov 26, 2021How to install Nomad on AWS EC2 Amazon Linux 2 instance
Working with popular orchestration application services like Kubernetes and ECS is not that easy as it seems when it comes to scaling the app, the deployments, and managing the resour...
In AWS, Nomad, Oct 13, 2021How to install Terraform on AWS EC2 Amazon Linux 2 instance
There are a lot of tutorials on how to install the latest version of Terraform out there. Most of them are pointing to the terraform official release site, so you need to get the late...
In AWS, Terraform, Oct 11, 2021How to install Ansible on AWS EC2 Amazon Linux 2 instance
When it comes to AWS hosted infrastructure, if there is a need for managing the instances or the deployments of the application/services you can use the approach of having one EC2 ded...
In AWS, Ansible, Oct 07, 2021How to install Nginx on AWS EC2 Amazon Linux 2 instance
Installing Nginx from the Amazon Linux repo will provide you with an exceedingly old Nginx version. Therefore, I will show you how to install it through the EPEL repo which is my pref...
In AWS, Nginx, Oct 05, 2021How to install Podman on AWS EC2 Amazon Linux 2 instance
If you are looking for a Docker replacement then Podman is the right choice for you. The installation process is quick and easy. In this tutorial, I’m gonna show you how to install po...
In AWS, Podman, Aug 10, 2021proxy
Nginx proxy and 'an upstream response is buffered to a temporary file' warning
In today’s Nginx log message of the week, we got the following warning:2022/05/02 08:03:16 [warn] 31447#0: an upstream response is buffered to a temporary file /var/lib/nginx/proxy/1/...
In Nginx, May 08, 2022How to setup Envoy proxy
Envoy is a minimalistic L7 proxy designed to be used along with the cloud native microservice applications. It’s an open-source container based project which can run on a minimum syst...
In Envoy, Sep 25, 2021How to create Apache reverse proxy for your application
Creating Apache reverse proxy follows a similar procedure as Nginx. In some of the previous posts, we saw how to set up Nginx reverse proxy, so today I’m going to show you exactly the...
In Apache, Sep 23, 2021How to set up Nginx reverse proxy for your application
Using Nginx reverse proxy could be very useful, especially if you are developing an application with a framework that can run its own server like nodejs, python, ruby on rails, etc… I...
In Nginx, Aug 14, 2021reverse proxy
How to set up Nginx reverse proxy for your application
Using Nginx reverse proxy could be very useful, especially if you are developing an application with a framework that can run its own server like nodejs, python, ruby on rails, etc… I...
In Nginx, Aug 14, 2021selinux
How to disable SELinux
You may face Nginx or Apache web server blocking issues even when your firewall is disabled. SELinux is a security engine that may block some of the calls or permissions on your serve...
In Linux, Aug 16, 2021debian
Install Podman Compose on Debian 11
The growth and use of Podman is really raging higher and higher. I hope one day it will be arm to arm with Docker. Today I assume that you have Podman installed on Debian 11 already. ...
In Podman, May 09, 2022How to update Visual Studio Code on Debian based distro
Some old VS Code versions are getting git issues, for instance, you are not able to pull or push to your repo due to authentication issues. If you try to authenticate through your Lin...
In Debian, Nov 22, 2021How to install Logstash on Debian 11
Every data processing service needs a data processing pipeline that will help you to gather data from different sources. Nowadays Logstash is one of the most efficient and required da...
In Logstash, Nov 14, 2021How to install Grafana on Debian 11
Seemingly some enterprise monitoring solutions look that they can be suitable for your infrastructure but afterwards it shows up that your expectations are not satisfied. There are a ...
In Grafana, Nov 10, 2021How to install Terraform on Debian 11
Today I’ll be writing about terraform installation on Debian 11. The steps are pretty easy, so you just have to follow them and accomplish the installation process. Let’s hop in.
In Terraform, Nov 06, 2021How to Setup GraphQL with Node.js on Debian based distro
To gather information from the REST API designed app you need to send requests to multiple REST endpoints. So this kind of approach is scattered across multiple endpoints. GraphQL sol...
In GraphQL, Oct 23, 2021How to install Node JS on Debian 11
There are a few methods to install Node js on Debian 11. Using PPA Using NVM From the Debian official packagesI’m going to pick up the last one because it’s a quick and easy to ins...
In Nodejs, Oct 21, 2021How to install Terragrunt on Debian 11
If you need to simplify the Terraform structure you can achieve it through Terragrunt. The crux is that you only need to define the Terraform modules and Terragrunt will take care of ...
In Terragrunt, Oct 19, 2021How to install Nomad on Debian based distro
As a sequel of the Nomad installation series today I’m going to shed some light on how to install Nomad on every Debian-based distro. The installation process is quick and easy and th...
In Nomad, Oct 15, 2021How to install Redis on Debian 11
Improving your site performance and caching your content can be achieved with Redis which stands as one of the most popular caching tools nowadays. How the complexity of the applicati...
In Redis, Sep 29, 2021How to install Ruby on Debian 11
Ruby as a programming language belongs to the group with a high demand along with the other popular programming languages. Nowadays his framework ruby on rails is highly used by devel...
In Ruby, Sep 27, 2021How 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, Sep 15, 2021How to install Nginx on Debian 11
Installing Nginx on Debian 11 is pretty easy and straightforward. This tutorial will show you how to install it and enable HTTP traffic on your debian server.
In Nginx, Aug 22, 2021How to install Docker on Debian 11
Finally Debian 11 is released on August 14th, 2021, and this version is marked as a stable version. This tutorial will show you the steps on how to install Docker on a new fresh Debi...
In Docker, Aug 18, 2021debian 11
Install Podman Compose on Debian 11
The growth and use of Podman is really raging higher and higher. I hope one day it will be arm to arm with Docker. Today I assume that you have Podman installed on Debian 11 already. ...
In Podman, May 09, 2022Install VestaCP on Debian 11
Vesta is a free and open-source control panel based on php and bash. It’s a lightweight and easy to use control panel which can save you a lot of time and money especially if you are ...
In VestaCP, Apr 03, 2022How to install DBeaver on Debian 11
Installing DBeaver on Debian 11 follows pretty much the same steps from Ubuntu 21.10. The two methods of installing are: snap package
In DBeaver, Feb 14, 2022How to install Logstash on Debian 11
Every data processing service needs a data processing pipeline that will help you to gather data from different sources. Nowadays Logstash is one of the most efficient and required da...
In Logstash, Nov 14, 2021How to install Grafana on Debian 11
Seemingly some enterprise monitoring solutions look that they can be suitable for your infrastructure but afterwards it shows up that your expectations are not satisfied. There are a ...
In Grafana, Nov 10, 2021How to install Terraform on Debian 11
Today I’ll be writing about terraform installation on Debian 11. The steps are pretty easy, so you just have to follow them and accomplish the installation process. Let’s hop in.
In Terraform, Nov 06, 2021How to install Node JS on Debian 11
There are a few methods to install Node js on Debian 11. Using PPA Using NVM From the Debian official packagesI’m going to pick up the last one because it’s a quick and easy to ins...
In Nodejs, Oct 21, 2021How to install Terragrunt on Debian 11
If you need to simplify the Terraform structure you can achieve it through Terragrunt. The crux is that you only need to define the Terraform modules and Terragrunt will take care of ...
In Terragrunt, Oct 19, 2021How 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, Sep 15, 2021How to install Nginx on Debian 11
Installing Nginx on Debian 11 is pretty easy and straightforward. This tutorial will show you how to install it and enable HTTP traffic on your debian server.
In Nginx, Aug 22, 2021How to install Docker on Debian 11
Finally Debian 11 is released on August 14th, 2021, and this version is marked as a stable version. This tutorial will show you the steps on how to install Docker on a new fresh Debi...
In Docker, Aug 18, 2021github
GitHub hidden feature
There is a mind-blowing GitHub feature or if I can call it a “secret”, that I’ve just discovered and I need to share with you all.
In Github, Aug 19, 2021mongodb
How to install MongoDB on Rocky Linux 8
MongoDB has an attitude to store the data in BSON, which can be searched and indexed, with a way better performance. Installing MongoDB on rocky linux can additionally improve the sea...
In MongoDB, Aug 20, 2021registry
Docker Registry vs Docker Repository
Docker is one of that technologies that will probably stay for a while. In a matter of years, the IT world went from monolith to deploying applications on the edge in a couple of seco...
In Docker, Aug 23, 2021jekyll
How to show future dated posts in Jekyll
By default, Jekyll doesn’t display posts with future dates. Sometimes we want to test them before publishing, and for that reason there is a plain solution.
In Jekyll, Jan 10, 2022How to escape double curly braces in Jekyll
If you are using Jekyll for your blog site or writing some code documentation, you may face the issue with the double curly braces.Jekyll uses liquid tags, so if you are searching how...
In Jekyll, Aug 28, 2021markdown
How to escape double curly braces in Jekyll
If you are using Jekyll for your blog site or writing some code documentation, you may face the issue with the double curly braces.Jekyll uses liquid tags, so if you are searching how...
In Jekyll, Aug 28, 2021cors
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 definitely...
In Nginx, Sep 07, 2021ddos
How to check if your web application is under DDoS attack
Nowadays, most of the web applications are vulnerable and exposed on many different kinds of attacks. One of them is a DDoS attack. There are a lot of services on the internet that ar...
In DDOS, Sep 11, 2021imperative
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, 2021declarative
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, 2021iac
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, 2021export
How to Export All MySQL Databases
Keeping the database structure in one place and safe can sometimes be useful regarding disaster recovery. Exporting all MySQL databases into one SQL file it’s not a common thing but i...
In MYSQL, Mar 18, 2022How to Export and Import PostgreSQL tables using CSV
Export and Import operations in PostgreSQL and any other relation database management system for that matter, could include a couple of use-case scenarios, for instance data analysis....
In PostgreSQL, Feb 21, 2022How to export and import all MySQL databases at once
Working with microservices will ramp up the number of MySQL databases. So if you need to create a backup for all of them at once there is a way to do it through the cli. Also importin...
In MySQL, Nov 12, 2021How 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, Sep 17, 2021import
How to Export and Import PostgreSQL tables using CSV
Export and Import operations in PostgreSQL and any other relation database management system for that matter, could include a couple of use-case scenarios, for instance data analysis....
In PostgreSQL, Feb 21, 2022How to export and import all MySQL databases at once
Working with microservices will ramp up the number of MySQL databases. So if you need to create a backup for all of them at once there is a way to do it through the cli. Also importin...
In MySQL, Nov 12, 2021How 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, Sep 17, 2021json
Install jq on Amazon Linux 2
JQ one of my favorite lightweight and minimalistic JSON parser processor. When it comes playing with JSON outputs, and re-structuring JSON things, jq can make your impossible - possib...
In jq, May 17, 2022JSON to plain text using JQ
JSON stands for JavaScript Object Notation and represents easy-to-read lightweight data format. And jq is basically described as sed for JSON data, hence used for JSON data parcing. H...
In JSON, Mar 09, 2022Convert 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 Linux, Sep 18, 2021lambda
How to make local archive_file to be available when deploying Terraform aws_lambda_function
In today’s blog post, I really need to share with you all a quick tip regarding Terraform’s aws_lambda_function resource and how to make the latest local data archive_file to be prese...
In Terraform, Sep 20, 2021envoy
How to setup Envoy proxy
Envoy is a minimalistic L7 proxy designed to be used along with the cloud native microservice applications. It’s an open-source container based project which can run on a minimum syst...
In Envoy, Sep 25, 2021ruby
How to Install Ruby on Amazon Linux 2
If you want to develop ruby application using some ruby frameworks like ruby on rails, padrino … on Amazon Linux 2 you will have to install ruby as a dependency. This topic will help ...
In Ruby, Mar 16, 2022How to check Ruby version
There are multiple ways you could find out which Ruby version you are running on your local machine.
In Ruby, Nov 11, 2021Solution: Ignoring GEM because its extensions are not built
Solutions to common issues in Ruby dev environment series: Solution: cannot load such file – webrick (LoadError) Solution: gem eventmachine fatal error: ‘openssl/ssl.h’ file not fou...
In Ruby, Nov 09, 2021Solution: Unknown ruby interpreter version (do not know how to handle): RUBY_VERSION
As a part of the solutions to common issues in Ruby dev environment series, here’s the link to the previous ones: Solution: cannot load such file – webrick (LoadError) Solution: gem...
In Ruby, Nov 07, 2021Solution: gem eventmachine fatal error: 'openssl/ssl.h' file not found
I’ll be doing a solutions to common issues in Ruby dev environment series, so here’s the link to the first post: Solution: cannot load such file – webrick (LoadError)
In Ruby, Nov 05, 2021Solution: cannot load such file -- webrick (LoadError)
As a DevOps engineer myself and three years of using a MacBook Pro, I’ve noticed that updating a major release of MacOS always comes with unwelcomed ruby dependencies and version erro...
In Ruby, Nov 03, 2021Install Ruby on Mac
There are four ways to install Ruby on all computing platforms, including package management systems, installers, managers, and of course building from source. RVM as a Ruby version m...
In MacOS, Oct 30, 2021How to install Ruby on Debian 11
Ruby as a programming language belongs to the group with a high demand along with the other popular programming languages. Nowadays his framework ruby on rails is highly used by devel...
In Ruby, Sep 27, 2021remmina
Remmina can't remote into AWS EC2 Windows Machine due to libfreerdp
If you need to access your Windows-based server through your local Linux machine you should consider using some of the RDPs software. A few days ago I needed to access a Microsoft SQL...
In RDP, Oct 01, 2021rdp
Remmina can't remote into AWS EC2 Windows Machine due to libfreerdp
If you need to access your Windows-based server through your local Linux machine you should consider using some of the RDPs software. A few days ago I needed to access a Microsoft SQL...
In RDP, Oct 01, 2021libfreerdp
Remmina can't remote into AWS EC2 Windows Machine due to libfreerdp
If you need to access your Windows-based server through your local Linux machine you should consider using some of the RDPs software. A few days ago I needed to access a Microsoft SQL...
In RDP, Oct 01, 2021windows server
Remmina can't remote into AWS EC2 Windows Machine due to libfreerdp
If you need to access your Windows-based server through your local Linux machine you should consider using some of the RDPs software. A few days ago I needed to access a Microsoft SQL...
In RDP, Oct 01, 2021cloud computing
7 Ways to Save Money in the Cloud
Cost optimization is just one of the five pillars of Well-Architected Framework, which is identical across the top 3 public cloud provider players. Although, deploying a billing alarm...
In Cloud, Oct 02, 2021cloud costs
7 Ways to Save Money in the Cloud
Cost optimization is just one of the five pillars of Well-Architected Framework, which is identical across the top 3 public cloud provider players. Although, deploying a billing alarm...
In Cloud, Oct 02, 2021gcp
7 Ways to Save Money in the Cloud
Cost optimization is just one of the five pillars of Well-Architected Framework, which is identical across the top 3 public cloud provider players. Although, deploying a billing alarm...
In Cloud, Oct 02, 2021drone ci
Add Drone CI Build Status to your Project
In some of the previous posts, I wrote about how to Send Drone CI build notifications with Slack.Here’s some quick steps on how to add the Drone CI build status to your favorite proje...
In Drone, Oct 08, 2021Send Drone CI build notifications with Slack
The following post will be about sending Drone CI build notification to Slack. In case you didn’t know already, since there are dozen of CI/CD tools out there, Drone CI is an open sou...
In Drone, Oct 04, 2021slack
Send Drone CI build notifications with Slack
The following post will be about sending Drone CI build notification to Slack. In case you didn’t know already, since there are dozen of CI/CD tools out there, Drone CI is an open sou...
In Drone, Oct 04, 2021notifications
Send Drone CI build notifications with Slack
The following post will be about sending Drone CI build notification to Slack. In case you didn’t know already, since there are dozen of CI/CD tools out there, Drone CI is an open sou...
In Drone, Oct 04, 2021ci/cd
Send Drone CI build notifications with Slack
The following post will be about sending Drone CI build notification to Slack. In case you didn’t know already, since there are dozen of CI/CD tools out there, Drone CI is an open sou...
In Drone, Oct 04, 2021drone
Add Drone CI Build Status to your Project
In some of the previous posts, I wrote about how to Send Drone CI build notifications with Slack.Here’s some quick steps on how to add the Drone CI build status to your favorite proje...
In Drone, Oct 08, 2021inodes
How to detect and free Inode Usage on Linux
While I was maintaining a monitoring service for an AWS-based infrastructure the service daemon stopped working. After some digging on the host where the service was hosted, I find ou...
In Linux, Oct 09, 2021service endpoints
Service Endpoints vs Private Links in Azure
Microsoft Azure provides many different options to approach networking, starting from Azure VPN, ExpressRoute, Azure Route Server, NVAs, to name a few. These are more likely to be imp...
In Azure, Oct 10, 2021private links
Service Endpoints vs Private Links in Azure
Microsoft Azure provides many different options to approach networking, starting from Azure VPN, ExpressRoute, Azure Route Server, NVAs, to name a few. These are more likely to be imp...
In Azure, Oct 10, 2021root
5 Ways to Protect Root Account in the Cloud
Security as one of the Five Pillars of the Well-Architected Framework has been underlooked, not just in the age of the cloud computing but before that as well. With cloud migration be...
In Cloud, Oct 12, 2021account
5 Ways to Protect Root Account in the Cloud
Security as one of the Five Pillars of the Well-Architected Framework has been underlooked, not just in the age of the cloud computing but before that as well. With cloud migration be...
In Cloud, Oct 12, 2021nomad
How to install Nomad on Fedora based distro
Previously I covered the Nomad installation on the most frequently used Linux distros: Amazon Linux 2 Debian RHEL
In Nomad, Oct 27, 2021How to install Nomad on RHEL based distro
As I mentioned in the previous topics I’m going to cover the Nomad installation on all popular Linux distros. So this tutorial will be aimed to show you how to install Nomad on RHEL b...
In Nomad, Oct 17, 2021How to install Nomad on Debian based distro
As a sequel of the Nomad installation series today I’m going to shed some light on how to install Nomad on every Debian-based distro. The installation process is quick and easy and th...
In Nomad, Oct 15, 2021How to install Nomad on AWS EC2 Amazon Linux 2 instance
Working with popular orchestration application services like Kubernetes and ECS is not that easy as it seems when it comes to scaling the app, the deployments, and managing the resour...
In AWS, Nomad, Oct 13, 2021rhel
How to install Terragrunt on Centos 7
To simplify and structure the terraform modules you can use terragrunt as a wrapper. In this tutorial we are going to see how to install terragrunt on Centos 7.
In Terragrunt, Jan 27, 2022How to install UFW on Amazon Linux 2
Maybe you will raise a question is it worth installing ufw on Amazon Linux? Some say that it’s enough to use the instance security groups but if you need some extra security on a serv...
In UFW, Dec 10, 2021How to install UFW on Centos 7
Most of the RHEL linux distros are coming with pre-installed firewalld as a default firewall. But if you are UFW fan and you don’t want to waste your time or resources on getting fami...
In UFW, Dec 08, 2021FirewallD allow MySQL remote access
On most of the RHEL based distributions, FirewallD comes as a default firewall and it’s configured to pass only ssh connections by default. Therefore in this tutorial, I’m going to sh...
In Firewalld, Dec 06, 2021How to install Firewalld on Amazon Linux 2
Protecting your EC2 instance can be accomplished in multiple ways, setting up rules through the AWS security group or installing a firewall directly on your EC2 instance. Today I’m go...
In Firewalld, Dec 02, 2021How to install Firewalld on Rocky Linux 8
Keeping your services and host itself secure is crucial. Nowadays there are a lot of attacks that can harm your host server, like brute force attacks, SQL injections, ssh, etc… So if ...
In Firewalld, Nov 30, 2021How to install Certbot on Amazon Linux 2
Using the AWS amazon linux 2 template for your EC2 instance is always a preferred way as an AWS-optimized and proprietary template. So if your web application requires an SSL certific...
In Certbot, Nov 26, 2021How to install Nomad on RHEL based distro
As I mentioned in the previous topics I’m going to cover the Nomad installation on all popular Linux distros. So this tutorial will be aimed to show you how to install Nomad on RHEL b...
In Nomad, Oct 17, 2021How to install Nomad on AWS EC2 Amazon Linux 2 instance
Working with popular orchestration application services like Kubernetes and ECS is not that easy as it seems when it comes to scaling the app, the deployments, and managing the resour...
In AWS, Nomad, Oct 13, 2021debian11
How to install Nomad on Debian based distro
As a sequel of the Nomad installation series today I’m going to shed some light on how to install Nomad on every Debian-based distro. The installation process is quick and easy and th...
In Nomad, Oct 15, 2021cli
Get Windows 10 version number from the CLI
Today’s topic gonna be all about the multiple way to get the version number for Windows 10. Even though there’s a dozen ways to do it, I’m gonna stick to the most basic ones without a...
In Windows 10, May 12, 2022Generate SHA512 password hash with a salt from the CLI
Personally, the only time I’ve been generating a SHA512 password hashes was when I was working with the Ansible builtin user module, sipmly because I needed to commit a password hash ...
In Linux, Apr 26, 2022Check for read-only filesystem in Linux
In today’s post we are going to find out how to check for read-only filesystem in Linux from the CLI.
In Linux, Mar 29, 2022Check last reboot time in Linux
In today’s post we are going to find out the last reboot time in Linux from the CLI.
In Linux, Mar 27, 2022How to check Redis connection with Telnet
A lot of useful checks can be made with telnet in terms of connectivity, sending test emails, access to databases, etc. Telnet is an application protocol based on TCP and it can allow...
In Redis, Mar 26, 2022Check system uptime in Linux MacOS and Windows from the Command Line
The following commands will help you find the system uptime for Linux, MacOS and Windows in the easiest way possible, from the command line.
In Linux, macOS, Windows, Mar 23, 2022Fix 'fallocate failed: Operation not supported'
While creating a swap on your linux machine, executing sudo fallocate -l 1G /swap-file-name may throw fallocate failed: Operation not supported. Here I’m gonna show you a quick fix fo...
In Linux, Mar 02, 2022How to install Podman on Ubuntu 21.10
In this tutorial, I’m going to show how to install Podman on Ubuntu 21.10 using the default Ubuntu 21.10 packages. Previously we clarified that installing Podman with the default Ubun...
In Podman, Feb 28, 2022How to install Redis on Ubuntu 21.10
Using Redis as popular caching storage and also persistent key value database is always a good idea. Here I’m going to show you how to install it on a fresh Ubuntu 21.10 instance.
In Redis, Feb 26, 2022How to Flush DNS Cache from the CLI
Clearing the DNS cache usually fixes issues related to not resolving new or updated existing domain records. Let’s see how it’s done from the command line though.
In Linux, Feb 25, 2022How to install Nginx on Ubuntu 21.10
Since Ubuntu 21.10 has been released there was an immediate interest in using it as an OS Server. In this tutorial, we are going to see how to install Nginx on Ubuntu 21.10.
In Nginx, Feb 20, 2022How to Run Django Application Server
Django is a python free and open-source framework that is widely used nowadays. It offers a lot of libraries and functions that can be easily invoked. Running Django app with a local ...
In Django, Feb 16, 2022How to install DBeaver on Debian 11
Installing DBeaver on Debian 11 follows pretty much the same steps from Ubuntu 21.10. The two methods of installing are: snap package
In DBeaver, Feb 14, 2022How to install DBeaver on Ubuntu 21.10
One of the great alternative for MySQL workbench is DBeaver. So instead of connecting only Mysql servers, DBeaver offers a lot of different database connections like PostgreSQL, SQLit...
In DBeaver, Feb 12, 2022base64 encode and decode from the CLI
base64 encoding and decoding has many use cases, but it’s important to understand that it’s different from encryption and decryption. While base64 encoding focuses on data usability s...
In base64, Jan 30, 2022How to Upgrade Ubuntu 20.04 to Ubuntu 21.10
The upgrading process from Ubuntu 20.04 to Ubuntu 21.10 takes some time but it’s a straightforward process if you stick close to the steps below. Before taking any actions please make...
In Ubuntu, Jan 23, 2022SFTP transfer files through command line non-interactive
This tutorial is aimed to show you how to download files from a remote sftp server and of course how to upload files to a remote sftp server. It’s useful if you are writing a bash or ...
In SFTP, Jan 13, 2022How to connect with SFTP through command line
Most of the shared hosting platforms are providing sftp access to the end-users as a secure file transfer protocol. There are a lot of free and open source GUI platforms for ftp, sftp...
In SFTP, Jan 11, 2022How to change permissions for Directories and Files recursively
Getting to know how to fix the directories and files permissions recursively, with a quick and easy method is always a good point. The crux of this tutorial is to understand how you c...
In Linux, Oct 25, 2021Check Internet Speed from CLI on Linux
In this day and age, experiencing a slow internet connection could be a huge deal, especially for most of us who work remotely. Since we can do almost anything from the CLI, let’s sav...
In Linux, Oct 18, 2021Get Public IP from CLI on Linux
Let’s speedrun the tutorial on how to get your public IP address from the command line interface for any whitelisting reason, on any Linux distro.
In Linux, Oct 16, 2021How to install Nomad on Debian based distro
As a sequel of the Nomad installation series today I’m going to shed some light on how to install Nomad on every Debian-based distro. The installation process is quick and easy and th...
In Nomad, Oct 15, 2021ip
Get Public IP from CLI on Linux
Let’s speedrun the tutorial on how to get your public IP address from the command line interface for any whitelisting reason, on any Linux distro.
In Linux, Oct 16, 2021centos
Install Telnet on CentOS 9 Stream
Telnet as a useful tool, allows you to establish a connection or check whether some connection is allowed or not. Here I’m gonna show you how to install Telnet on Centos 9 Stream, whi...
In Telnet, May 15, 2022Install Java on CentOS 9 Stream
As a Java developer on the new CentOS 9 Stream OS, you may wonder how to set up your java environment. The installation of Java on Centos 9 Stream can be achieved in a few steps. Let’...
In Java, May 13, 2022How to install Terragrunt on Centos 7
To simplify and structure the terraform modules you can use terragrunt as a wrapper. In this tutorial we are going to see how to install terragrunt on Centos 7.
In Terragrunt, Jan 27, 2022How to install UFW on Centos 7
Most of the RHEL linux distros are coming with pre-installed firewalld as a default firewall. But if you are UFW fan and you don’t want to waste your time or resources on getting fami...
In UFW, Dec 08, 2021How to install Nomad on RHEL based distro
As I mentioned in the previous topics I’m going to cover the Nomad installation on all popular Linux distros. So this tutorial will be aimed to show you how to install Nomad on RHEL b...
In Nomad, Oct 17, 2021rockylinux
How to install Nomad on RHEL based distro
As I mentioned in the previous topics I’m going to cover the Nomad installation on all popular Linux distros. So this tutorial will be aimed to show you how to install Nomad on RHEL b...
In Nomad, Oct 17, 2021internet
Check Internet Speed from CLI on Linux
In this day and age, experiencing a slow internet connection could be a huge deal, especially for most of us who work remotely. Since we can do almost anything from the CLI, let’s sav...
In Linux, Oct 18, 2021speed
Check Internet Speed from CLI on Linux
In this day and age, experiencing a slow internet connection could be a huge deal, especially for most of us who work remotely. Since we can do almost anything from the CLI, let’s sav...
In Linux, Oct 18, 2021terragrunt
Install Terragrunt on Amazon Linux 2
One of the best Terraform wrappers is Terragrunt so far. Terragrunt inherits a lot of useful commands and design structures from Terraform. Let’s see how to install Terragrunt on Amaz...
In Terragrunt, Apr 15, 2022How to install Terragrunt on Centos 7
To simplify and structure the terraform modules you can use terragrunt as a wrapper. In this tutorial we are going to see how to install terragrunt on Centos 7.
In Terragrunt, Jan 27, 2022How to install Terragrunt on Ubuntu
Working with terragrunt as a terraform wrapper will ease things and simplify the terraform templates. Here I will show you how to set up quickly on your Ubuntu machine.
In Terragrunt, Nov 24, 2021How to install Terragrunt on Debian 11
If you need to simplify the Terraform structure you can achieve it through Terragrunt. The crux is that you only need to define the Terraform modules and Terragrunt will take care of ...
In Terragrunt, Oct 19, 2021code
Resolve (code=exited, status=2) in Nginx
Sometimes after nginx service restart and you’re trying to get the service status, you might get the following status code line:Process: 10316 ExecStop=/sbin/start-stop-daemon --quiet...
In Linux, Oct 20, 2021exited
Resolve (code=exited, status=2) in Nginx
Sometimes after nginx service restart and you’re trying to get the service status, you might get the following status code line:Process: 10316 ExecStop=/sbin/start-stop-daemon --quiet...
In Linux, Oct 20, 2021status
Resolve (code=exited, status=2) in Nginx
Sometimes after nginx service restart and you’re trying to get the service status, you might get the following status code line:Process: 10316 ExecStop=/sbin/start-stop-daemon --quiet...
In Linux, Oct 20, 2021node js
How to install Node JS on Debian 11
There are a few methods to install Node js on Debian 11. Using PPA Using NVM From the Debian official packagesI’m going to pick up the last one because it’s a quick and easy to ins...
In Nodejs, Oct 21, 2021nodejs
Install NodeJS on Amazon Linux 2
Nodejs doesn’t exist in the default Amazon Linux 2 yum packages. So we should add the node official repo and use it for the installation. Let’s see how to install node js on Amazon Li...
In NodeJS, Apr 09, 2022Setup Nginx Proxy for Node.js app
Behind every major player in the cloud provider’s field, there is a hidden “magic” that makes our applications work. Most of the time, this magic is some kind of a proxy, mostly Nginx...
In Nginx, Oct 22, 2021node.js
How to Setup GraphQL with Node.js on Debian based distro
To gather information from the REST API designed app you need to send requests to multiple REST endpoints. So this kind of approach is scattered across multiple endpoints. GraphQL sol...
In GraphQL, Oct 23, 2021graphql
How to Setup GraphQL with Node.js on Debian based distro
To gather information from the REST API designed app you need to send requests to multiple REST endpoints. So this kind of approach is scattered across multiple endpoints. GraphQL sol...
In GraphQL, Oct 23, 2021container
How to restart a single container with docker-compose
Restarting docker-compose stack (docker-compose restart) it’s pretty easy and convinient, and if you somehow screw up something, docker-compose down/up will take care of it. But, now ...
In Docker, Jan 22, 2022Assign Static IP to a Docker Container
There are two types of static IPs, public and private IP addresses. We all know the public IP Docker mapping by now, using Nginx and port mapping. Today we are going to see how can we...
In Docker, Oct 24, 2021static ip
Assign Static IP to a Docker Container
There are two types of static IPs, public and private IP addresses. We all know the public IP Docker mapping by now, using Nginx and port mapping. Today we are going to see how can we...
In Docker, Oct 24, 2021find
How to change permissions for Directories and Files recursively
Getting to know how to fix the directories and files permissions recursively, with a quick and easy method is always a good point. The crux of this tutorial is to understand how you c...
In Linux, Oct 25, 2021access key
Solution: The AWS Access Key Id Does Not Exist in our Records
Working with multiple AWS account profiles could sometimes be not so pleasent experience, especially when handling different AWS named profiles for different purposes. The AWS Access ...
In AWS, Oct 26, 2021credentials
Solution: The AWS Access Key Id Does Not Exist in our Records
Working with multiple AWS account profiles could sometimes be not so pleasent experience, especially when handling different AWS named profiles for different purposes. The AWS Access ...
In AWS, Oct 26, 2021fedora
How to install Nomad on Fedora based distro
Previously I covered the Nomad installation on the most frequently used Linux distros: Amazon Linux 2 Debian RHEL
In Nomad, Oct 27, 2021infrastructure
Ways to Provision Infrastructure on Azure
Last week I wrote about the different Ways to Provision Infrastructure on AWS, and as you might expected I’m doing another one, but this time it’s all Azure.
In Azure, Nov 01, 2021Ways to Provision Infrastructure on AWS
Popular as it is, Infrastructure as Code also known as IaC, is a practice and process of managing and deploying infrastructure through code. Now, we got the flexibility to choose from...
In AWS, Oct 28, 2021iaac
Ways to Provision Infrastructure on Azure
Last week I wrote about the different Ways to Provision Infrastructure on AWS, and as you might expected I’m doing another one, but this time it’s all Azure.
In Azure, Nov 01, 2021Ways to Provision Infrastructure on AWS
Popular as it is, Infrastructure as Code also known as IaC, is a practice and process of managing and deploying infrastructure through code. Now, we got the flexibility to choose from...
In AWS, Oct 28, 2021brew
Install Go on macOS from the Terminal
Go, also known as Golang is a popular open source programming language developed by Google and used for general purpose. Although the official macOS installation supports downloading ...
In Go, macOS, Mar 31, 2022How To Uninstall Packages with Brew including all its dependencies
Homebrew, or shortly brew is the most popular package manager for MacOS. And, if you don’t know already, package managers are software tools used for managing apps on our local machin...
In Homebrew, Mar 07, 2022Install Visual Studio Code on Mac
Vscode is considered as one of the most used code editors nowadays. In this brief tutorial I will show you how to install it on Mac using Homebrew.
In MacOS, Nov 04, 2021Install Ruby on Mac
There are four ways to install Ruby on all computing platforms, including package management systems, installers, managers, and of course building from source. RVM as a Ruby version m...
In MacOS, Oct 30, 2021rvm
Install Ruby on Mac
There are four ways to install Ruby on all computing platforms, including package management systems, installers, managers, and of course building from source. RVM as a Ruby version m...
In MacOS, Oct 30, 2021skype
Install Skype on Mac
Skype as a world-known VoIP based software can be installed in multiple ways on Mac. Today I’m going to pick up one of the preferable ways of doing it, which is the easiest and the qu...
In MacOS, Oct 31, 2021aurora
How to Kill Thread or Query in AWS RDS
Stoping some threads or queries that may appear in the deadlock queue or locked from the InnoDB engine on AWS RDS is a different thing than self-hosted MySQL or MariaDB. They can pote...
In RDS, Mar 24, 2022AWS Error 1290 (HY000): The MySQL server is running with the --read-only
Using AWS Aurora auto-scaling will increase the resources to handle the workload and connections. So that way you can see a bunch of replicas that are taking care of the workload. Con...
In MySQL, Feb 10, 2022How to resolve AWS Aurora ERROR 3024 (HY000)
If you hold some heavy-load AWS Aurora database tables and you are trying to export some of the tables or import data, there is a big chance to face the following error ERROR 3024 (HY...
In AWS, Aurora, Nov 02, 2021rds
How to resolve AWS Aurora ERROR 3024 (HY000)
If you hold some heavy-load AWS Aurora database tables and you are trying to export some of the tables or import data, there is a big chance to face the following error ERROR 3024 (HY...
In AWS, Aurora, Nov 02, 2021vscode
Install Visual Studio Code on Mac
Vscode is considered as one of the most used code editors nowadays. In this brief tutorial I will show you how to install it on Mac using Homebrew.
In MacOS, Nov 04, 2021rabbitmq
Resolve RabbitMQ Node statistics not available in Cluster Node
Setting up RabbitMQ cluster with master and slave instances can invoke some node destabilizations like the error Node statistics not available. Here I’m going to show you few steps h...
In RabbitMQ, Nov 08, 2021rabbitmq-exchange
Resolve RabbitMQ Node statistics not available in Cluster Node
Setting up RabbitMQ cluster with master and slave instances can invoke some node destabilizations like the error Node statistics not available. Here I’m going to show you few steps h...
In RabbitMQ, Nov 08, 2021rabbitmqctl
Resolve RabbitMQ Node statistics not available in Cluster Node
Setting up RabbitMQ cluster with master and slave instances can invoke some node destabilizations like the error Node statistics not available. Here I’m going to show you few steps h...
In RabbitMQ, Nov 08, 2021grafana
Configure Docker logging driver with Grafana Loki
Grafana Loki is a log aggregation tool inspired by Prometheus, or simply put Prometheus for logs. In this tutorial I’m gonna show you how to install and configure the Loki logging dri...
In Docker, Apr 06, 2022How to install Grafana on Debian 11
Seemingly some enterprise monitoring solutions look that they can be suitable for your infrastructure but afterwards it shows up that your expectations are not satisfied. There are a ...
In Grafana, Nov 10, 2021apple
Apple M1 Chip Docker Error - no matching manifest for linux/arm64/v8
Most of the Docker images are not compatible with the newest Apple Silicon M1 chip throwing no matching manifest for linux/arm64/v8. Let’s see how to resolve the issue.
In Docker, Feb 18, 2022How to Install Apple Command Line Tools
Apple Command Line Tools are part of the Xcode, the official integrated development environment (IDE) for MacOS. The installation is a one-liner, so let’s just jump right into it.
In MacOS, Nov 13, 2021command
How to Install Apple Command Line Tools
Apple Command Line Tools are part of the Xcode, the official integrated development environment (IDE) for MacOS. The installation is a one-liner, so let’s just jump right into it.
In MacOS, Nov 13, 2021line
How to Install Apple Command Line Tools
Apple Command Line Tools are part of the Xcode, the official integrated development environment (IDE) for MacOS. The installation is a one-liner, so let’s just jump right into it.
In MacOS, Nov 13, 2021tools
How to Install Apple Command Line Tools
Apple Command Line Tools are part of the Xcode, the official integrated development environment (IDE) for MacOS. The installation is a one-liner, so let’s just jump right into it.
In MacOS, Nov 13, 2021logstash
Protect Elasticsearch stack from Apache Log4j vulnerability
As the Apache Log4j vulnerability is growing massively and its spread all over the internet a lot of worldwide companies are affected mostly on their java based applications. Elastics...
In Elasticsearch, Dec 16, 2021How to install Logstash on Debian 11
Every data processing service needs a data processing pipeline that will help you to gather data from different sources. Nowadays Logstash is one of the most efficient and required da...
In Logstash, Nov 14, 2021symfony
How to execute MySQL DB migrations with Symfony and Doctrine
If you are working on infrastructure with a lot of microservices as a developer you may face difficulties executing SQL queries in terms of keeping database structure clean and safe c...
In Symfony, MySQL, Nov 16, 2021doctrine
How to execute MySQL DB migrations with Symfony and Doctrine
If you are working on infrastructure with a lot of microservices as a developer you may face difficulties executing SQL queries in terms of keeping database structure clean and safe c...
In Symfony, MySQL, Nov 16, 2021network
How to fix Docker's 'error while removing network <> has active endpoints'
In today’s post we are going to list a few solutions on how to deal with the following Docker network error: ERROR: error while removing network: network <> has active endpoints...
In Docker, Apr 04, 2022HP Fix WI-FI driver not working in Windows 10
Installing WLAN (wifi) driver from the HP official drivers site might cause issues and does not appear in the windows device adapters. So if that’s the thing follow the instructions b...
In Windows, Mar 10, 2022How to fix Docker can't start service network not found
If you have already created a docker-compose stack and you are trying to restart the containers or start them you may face Docker error: Cannot start service ..: network $network-id n...
In Docker, Nov 18, 2021zsh
Which shell am I using - how to check
Linux comes with support for multiple flavors of shell, including bash, zsh, ksh, csh, and so on. This time I’ll be focusing on how to find out which shell you are using, which is the...
In Linux, Nov 21, 2021How to reload shell session
In order to update and see changes made in the shell environment, most of the time a reload is required. So, instead of restarting the machine and wasting a lot of time, a simple comm...
In Linux, Nov 19, 2021shell
Which shell am I using - how to check
Linux comes with support for multiple flavors of shell, including bash, zsh, ksh, csh, and so on. This time I’ll be focusing on how to find out which shell you are using, which is the...
In Linux, Nov 21, 2021How to reload shell session
In order to update and see changes made in the shell environment, most of the time a reload is required. So, instead of restarting the machine and wasting a lot of time, a simple comm...
In Linux, Nov 19, 2021cicd
Jenkins - same workspace for multiple jobs
In order to save some space on your Jenkins instance or if you need to create some backup jobs for multiple environments, you will need to enable shared space between multiple jobs. I...
In Jenkins, Nov 20, 2021vs code
How to update Visual Studio Code on Debian based distro
Some old VS Code versions are getting git issues, for instance, you are not able to pull or push to your repo due to authentication issues. If you try to authenticate through your Lin...
In Debian, Nov 22, 2021mtime
mtime timestamp and the 24h period cheatsheet
For those who might be questioning, mtime or short for modified timestamp, is a Linux file timestamp which usually goes hand in hand with the find command in the most common scenarios...
In Linux, Nov 23, 2021flock
File locking with flock 101
As a concept, file locking in Linux purpose is to control access to a shared resource between multiple processes, in a way to indicate which process is next in line so it could use th...
In Linux, Nov 25, 2021ssl
Certbot auto renew SSL certificate creating a cron job
If you are using a free SSL certificate from certbot, probably you are tired of the manual renewal. Here I’m going to show you how to automate the process of creating a cron job that ...
In Certbot, Jan 19, 2022Redirect HTTP to HTTPS in Apache
Securing your website by setting redirect from HTTP to HTTPS in Apache can be achieved easily if your SSL certificate is generated and ready to use. It can be done using a virtual hos...
In Nginx, Dec 28, 2021Redirect HTTP to HTTPS in Nginx
Nowadays almost every owner of a website wants to secure his site with an SSL certificate. Once that is achieved the second step is to redirect the whole HTTP traffic to HTTPS dependi...
In Nginx, Dec 26, 2021How to list, renew and delete Certbot certificates
Managing certbot certificates is often a underlooked operation since Certbot handles cert renewal automatically using a cronjob, so no worries there. But, what if we want to list whic...
In Certbot, Dec 03, 2021How to secure Domain with Let's Encrypt SSL certificate on Amazon Linux 2
As a sequel to the previous topic where we saw how to install Certbot on Amazon Linux 2, here I’m going to show you how to secure your domain with a free Let’s Encrypt SSL certificate...
In Certbot, Nov 28, 2021letsencrypt
How to secure Domain with Let's Encrypt SSL certificate on Amazon Linux 2
As a sequel to the previous topic where we saw how to install Certbot on Amazon Linux 2, here I’m going to show you how to secure your domain with a free Let’s Encrypt SSL certificate...
In Certbot, Nov 28, 2021amazon linux 2
Install jq on Amazon Linux 2
JQ one of my favorite lightweight and minimalistic JSON parser processor. When it comes playing with JSON outputs, and re-structuring JSON things, jq can make your impossible - possib...
In jq, May 17, 2022Install Postfix on Amazon Linux 2
Besides Exim, Postfix is another useful and free mail transfer agent that is under IBM public license. The installation is easy and simple so let’s see how to install Postfix on Amazo...
In Postfix, May 03, 2022Install Exim on Amazon Linux 2
Exim is a useful mail transfer agent easy to manage and set up. The installation process is easy as well, so let’s see how to install Exim on Amazon Linux 2.
In Exim, May 01, 2022Install Dig on Amazon Linux 2
Yet another useful DNS tool besides nslookup is dig. It can be used through the Linux command line that offers a quick check of the DNS records.
In DNS, Apr 29, 2022Install Nslookup on Amazon Linux 2
The need of checking DNS records quickly, through the cli can be achieved with nslookup. Let’s see how to install Nslookup on Amazon Linux 2.
In DNS, Apr 27, 2022Install Docker Compose on Amazon Linux 2
Installing the latest version of Docker Compose on Amazon Linux 2 is a pretty simple and straightforward process if Docker is installed previously. Let’s see the steps needed.
In Docker, Apr 25, 2022Install Screen on Amazon Linux 2
Screen is a Linux utility that allows you to run and use multiple shell sessions from a single ssh session. It’s commonly used for migrating a bunch of data through an ssh connection....
In Screen, Apr 23, 2022Install Redis CLI on Amazon Linux 2
Redis-CLI is a useful Terminal program that allows you to execute Redis commands, either on your local Redis or some remote Redis endpoint. Here I’m gonna show you how to install redi...
In Redis, Apr 21, 2022Install SCP on Amazon Linux 2
SCP is one of the most common tool for transferring files between remote and local machines. It can be also used for moving files or directories within the same machine. It uses a min...
In SCP, Apr 19, 2022Install Rsync on Amazon Linux 2
Sending files, and directories remotely can be achieved with a lot of utility tools. One of them is Rsync, which is a cool tool for remote transfer. Let’s see how to install it on Ama...
In Rsync, Apr 17, 2022Install Terragrunt on Amazon Linux 2
One of the best Terraform wrappers is Terragrunt so far. Terragrunt inherits a lot of useful commands and design structures from Terraform. Let’s see how to install Terragrunt on Amaz...
In Terragrunt, Apr 15, 2022Install openfortivpn on Amazon Linux 2
openfortivpn is a really cool open-source VPN client tool. Let’s see how to install it on Amazon Linux 2 instance.
In VPN, Apr 14, 2022Install HAProxy on Amazon Linux 2
HAProxy is one of the best free and open source software for using high availability load balancing and reverse proxy. It’s most suitable for HTTP and TCP based applications. Let’s se...
In HAProxy, Apr 13, 2022How to Set Up SSH Keys on Amazon Linux 2
While creating Amazon Linux 2 instance through the AWS console, there is a step that will provide you with the EC2 key pairs to connect to your instance. But if you need to set up som...
In SSH, Apr 11, 2022Install NodeJS on Amazon Linux 2
Nodejs doesn’t exist in the default Amazon Linux 2 yum packages. So we should add the node official repo and use it for the installation. Let’s see how to install node js on Amazon Li...
In NodeJS, Apr 09, 2022Enable EPEL on Amazon Linux 2
Using EPEL package repository can be very beneficial. Epel contains all the common packages that you may want to install. Unfortunately, EPEL is disabled in Amazon Linux 2. Let’s see ...
In AWS, Apr 07, 2022Install VestaCP on Amazon Linux 2
Managing your AWS ec2 instance with VestaCP comes easier if you are not familiar with Linux. Here I’m gonna tell you how to install VestaCP on Amazon Linux 2.
In VestaCP, Apr 05, 2022How to Install GO on Amazon Linux 2
Installing GO on Amazon Linux 2 can be done within a few minutes since the GO exists in the default Amazon Linux 2 yum packages. Let’s dive into it.
In GO, Apr 01, 2022How to Install SQLite on Amazon Linux 2
SQLite is one of the best minimalistic, lightweight, and powerful SQL database managers. It can be suitable for every application which doesn’t use a complex database structure. So to...
In SQLite, Mar 30, 2022How to Install Ruby on Amazon Linux 2
If you want to develop ruby application using some ruby frameworks like ruby on rails, padrino … on Amazon Linux 2 you will have to install ruby as a dependency. This topic will help ...
In Ruby, Mar 16, 2022How to Install Kubectl on Amazon Linux 2
Installing the kubectl from the official red hat based distributions and adding it through the default yum packages will throw failure: repodata/repomd.xml from kubernetes: [Errno 256...
In K8S, Mar 14, 2022How to Install OpenVPN on Amazon Linux 2
If you try to run yum install openvpn on an Amazon Linux 2 instance you will get: No package openvpn available. It means that it doesn’t exist to the existing yum packages. Let’s see ...
In VPN, Mar 12, 2022How to install Firewalld on Amazon Linux 2
Protecting your EC2 instance can be accomplished in multiple ways, setting up rules through the AWS security group or installing a firewall directly on your EC2 instance. Today I’m go...
In Firewalld, Dec 02, 2021How to secure Domain with Let's Encrypt SSL certificate on Amazon Linux 2
As a sequel to the previous topic where we saw how to install Certbot on Amazon Linux 2, here I’m going to show you how to secure your domain with a free Let’s Encrypt SSL certificate...
In Certbot, Nov 28, 2021firewalld
FirewallD allow MySQL remote access
On most of the RHEL based distributions, FirewallD comes as a default firewall and it’s configured to pass only ssh connections by default. Therefore in this tutorial, I’m going to sh...
In Firewalld, Dec 06, 2021How to install Firewalld on Amazon Linux 2
Protecting your EC2 instance can be accomplished in multiple ways, setting up rules through the AWS security group or installing a firewall directly on your EC2 instance. Today I’m go...
In Firewalld, Dec 02, 2021How to install Firewalld on Rocky Linux 8
Keeping your services and host itself secure is crucial. Nowadays there are a lot of attacks that can harm your host server, like brute force attacks, SQL injections, ssh, etc… So if ...
In Firewalld, Nov 30, 2021rocky linux 8
How to install Firewalld on Rocky Linux 8
Keeping your services and host itself secure is crucial. Nowadays there are a lot of attacks that can harm your host server, like brute force attacks, SQL injections, ssh, etc… So if ...
In Firewalld, Nov 30, 2021curl
Add jq and curl on Alpine Docker image
The official Alpine Docker Image doesn’t contain jq and curl by default. If you need to parse some JSON content or perform some curl checks, you can add them in the Dockerfile that is...
In Docker, Jan 05, 2022How to download files with curl
curl and wget are the most popular command-line tools (with curl being a library) for downloading remote content from the CLI. On one side, wget is simple to use as it gets, downloadi...
In Linux, Dec 01, 2021certificates
How to list, renew and delete Certbot certificates
Managing certbot certificates is often a underlooked operation since Certbot handles cert renewal automatically using a cronjob, so no worries there. But, what if we want to list whic...
In Certbot, Dec 03, 2021tls
How to list, renew and delete Certbot certificates
Managing certbot certificates is often a underlooked operation since Certbot handles cert renewal automatically using a cronjob, so no worries there. But, what if we want to list whic...
In Certbot, Dec 03, 2021composer
How to install PHP composer within Dockerfile
Dockerizing your PHP application probably would require some external commands within your base docker image. That’s why you will need to have a Dockerfile and put all the additional ...
In Docker, Dec 04, 2021dockerfile
Add jq and curl on Alpine Docker image
The official Alpine Docker Image doesn’t contain jq and curl by default. If you need to parse some JSON content or perform some curl checks, you can add them in the Dockerfile that is...
In Docker, Jan 05, 2022How to install PHP composer within Dockerfile
Dockerizing your PHP application probably would require some external commands within your base docker image. That’s why you will need to have a Dockerfile and put all the additional ...
In Docker, Dec 04, 2021disaster
Disaster Recovery 101: RPO vs RTO
RPO (Recovery Point Objective) and RTO (Recovery Time Objective) are two of the most crucial and key parameters as part of a disaster recovery plan. Even though RTO and RPO sound alik...
In DR, Dec 05, 2021recovery
Disaster Recovery 101: RPO vs RTO
RPO (Recovery Point Objective) and RTO (Recovery Time Objective) are two of the most crucial and key parameters as part of a disaster recovery plan. Even though RTO and RPO sound alik...
In DR, Dec 05, 2021rto
Disaster Recovery 101: RPO vs RTO
RPO (Recovery Point Objective) and RTO (Recovery Time Objective) are two of the most crucial and key parameters as part of a disaster recovery plan. Even though RTO and RPO sound alik...
In DR, Dec 05, 2021rpo
Disaster Recovery 101: RPO vs RTO
RPO (Recovery Point Objective) and RTO (Recovery Time Objective) are two of the most crucial and key parameters as part of a disaster recovery plan. Even though RTO and RPO sound alik...
In DR, Dec 05, 2021expose
Expose vs Publish ports in Docker
The general idea for communication between microservices (whatever is HTTP, message or event-driven communication) is related to certain protocols and ports on which each microservice...
In Docker, Dec 07, 2021publish
Expose vs Publish ports in Docker
The general idea for communication between microservices (whatever is HTTP, message or event-driven communication) is related to certain protocols and ports on which each microservice...
In Docker, Dec 07, 2021ports
Expose vs Publish ports in Docker
The general idea for communication between microservices (whatever is HTTP, message or event-driven communication) is related to certain protocols and ports on which each microservice...
In Docker, Dec 07, 2021ufw
How to install UFW on Amazon Linux 2
Maybe you will raise a question is it worth installing ufw on Amazon Linux? Some say that it’s enough to use the instance security groups but if you need some extra security on a serv...
In UFW, Dec 10, 2021How to install UFW on Centos 7
Most of the RHEL linux distros are coming with pre-installed firewalld as a default firewall. But if you are UFW fan and you don’t want to waste your time or resources on getting fami...
In UFW, Dec 08, 2021centos 7
How to Install Podman Compose on Centos 7
When it comes to installing podman-compose on centos 7 it follows the same procedure as on the other rhel based distros and there are three ways to achieve it. You only need to make s...
In Podman, Jan 15, 2022How to install UFW on Centos 7
Most of the RHEL linux distros are coming with pre-installed firewalld as a default firewall. But if you are UFW fan and you don’t want to waste your time or resources on getting fami...
In UFW, Dec 08, 2021state
Access host network from inside of a Docker container
This might be a really weird or edge case scenario, but what If we need to access host service(s) from inside a Docker container. For instance, we already have configured and running ...
In Docker, Dec 11, 2021Refreshing Terraform state
Refreshing Terraform state is done by adding the -refresh-only flag (since terraform refresh is depricated) when running plan and apply operations. To start off, what does it mean and...
In Terraform, Dec 09, 2021aws-alb
AWS|How to allow source IP addresses to access specific URL path using an Application Load Balancer
Most likely, if you use ECS as your application orchestration service it will require some basic knowledge to manage Application Load Balancers short ALBs. Essentially managing the ac...
In AWS, Dec 12, 2021load balancer
AWS|How to allow source IP addresses to access specific URL path using an Application Load Balancer
Most likely, if you use ECS as your application orchestration service it will require some basic knowledge to manage Application Load Balancers short ALBs. Essentially managing the ac...
In AWS, Dec 12, 2021windows 10
Get Windows 10 version number from the CLI
Today’s topic gonna be all about the multiple way to get the version number for Windows 10. Even though there’s a dozen ways to do it, I’m gonna stick to the most basic ones without a...
In Windows 10, May 12, 2022HP Fix WI-FI driver not working in Windows 10
Installing WLAN (wifi) driver from the HP official drivers site might cause issues and does not appear in the windows device adapters. So if that’s the thing follow the instructions b...
In Windows, Mar 10, 2022Install Podman on Windows 10
The trick for installation and running Podman on Windows 10 follows the same idea as Install Docker on Windows 10 without Docker Desktop.
In Podman, Dec 15, 2021Install Docker on Windows 10 without Docker Desktop
In today’s topic I’m gonna cover on how to install and run Docker on Windows 10 without Docker Desktop. This means we’ll be using WSL (Windows Subsystem for Linux).
In Docker, Dec 13, 2021log4j
Scan Docker Images for Apache Log4j2 vulnerability
Docker Hub already announced public Log4jShell detection which is now live on Docker Official Images. But for those of you who are still using some of the old or custom images, there ...
In Docker, Dec 20, 2021Protect Elasticsearch stack from Apache Log4j vulnerability
As the Apache Log4j vulnerability is growing massively and its spread all over the internet a lot of worldwide companies are affected mostly on their java based applications. Elastics...
In Elasticsearch, Dec 16, 2021How to check Apache Log4j vulnerability in Jenkins
There are a lot of open forums and discussions due to the Log4j zero-day flaw these days. Log4j is an open-source java-based library developed by Apache Software Foundation and it’s u...
In Jenkins, Dec 14, 2021vulnerability
Protect Elasticsearch stack from Apache Log4j vulnerability
As the Apache Log4j vulnerability is growing massively and its spread all over the internet a lot of worldwide companies are affected mostly on their java based applications. Elastics...
In Elasticsearch, Dec 16, 2021windows 11
Install Podman on Windows 11
The installation guide for running Podman on Windows 11 follows the same idea as Install Docker on Windows 11 without Docker Desktop.
In Podman, Dec 31, 2021Install Docker on Windows 11 without Docker Desktop
As with Windows 10, let’s see how we could install Docker on Windows 11 without GUI.
In Docker, Dec 27, 2021How to install Windows 11 on VirtualBox
Windows 11 has been out there for almost 3 months, so let’s see how good the virtualbox installation will go.
In Windows 11, Dec 21, 2021How to fix Windows 11 'does not meet the requirements' error on VirtualBox
As with most of the new OS releases on Mac, Windows or Linux, my best practice is to test them first in a virtual environment, usually using VirtualBox. The reason you might stumble u...
In Windows 11, Dec 17, 2021dns
Install Dig on Amazon Linux 2
Yet another useful DNS tool besides nslookup is dig. It can be used through the Linux command line that offers a quick check of the DNS records.
In DNS, Apr 29, 2022Install Nslookup on Amazon Linux 2
The need of checking DNS records quickly, through the cli can be achieved with nslookup. Let’s see how to install Nslookup on Amazon Linux 2.
In DNS, Apr 27, 2022How to Flush DNS Cache from the CLI
Clearing the DNS cache usually fixes issues related to not resolving new or updated existing domain records. Let’s see how it’s done from the command line though.
In Linux, Feb 25, 2022Install dig and nslookup on Alpine Linux
Deploying docker containers based on alpine images or using alpine on your server is always a good idea as it’s a small, simple Linux OS. But if you want to perform some DNS checks yo...
In DNS, Jan 03, 2022How to create CNAME for root domain
Working as a cloud engineer you may ask yourself, is it possible to create a CNAME record for your root domain? The answer will be no for most of the hosting providers but that’s not ...
In DNS, Dec 18, 2021domain
How to create CNAME for root domain
Working as a cloud engineer you may ask yourself, is it possible to create a CNAME record for your root domain? The answer will be no for most of the hosting providers but that’s not ...
In DNS, Dec 18, 2021cloudflare
Save data transfer costs with Cloudflare and Azure
Cloudflare Bandwidth Alliance represents a group of cloud and network providers that are willing to help us as their customers to reduce our data transfer charges. It’s interesting to...
In Azure, Cloudflare, Mar 15, 2022How to create CNAME for root domain
Working as a cloud engineer you may ask yourself, is it possible to create a CNAME record for your root domain? The answer will be no for most of the hosting providers but that’s not ...
In DNS, Dec 18, 2021cname record
How to create CNAME for root domain
Working as a cloud engineer you may ask yourself, is it possible to create a CNAME record for your root domain? The answer will be no for most of the hosting providers but that’s not ...
In DNS, Dec 18, 2021postman
How to install Postman on Ubuntu 20.04
There are some ways to install Postman on Ubuntu 20.04. As always, we want to keep the work simple and straight to the point. So I’m going to show you the easiest way to install Postm...
In Ubuntu, Dec 22, 2021ubuntu 20.04
Install Podman Compose on Ubuntu 20.04
Installation of podman-compose on ubuntu 20.04 is pretty simple, quick, and can be achieved in three ways. Before jumping on the installation part make sure that you have python3 and ...
In Podman, Jan 09, 2022How to install Postman on Ubuntu 20.04
There are some ways to install Postman on Ubuntu 20.04. As always, we want to keep the work simple and straight to the point. So I’m going to show you the easiest way to install Postm...
In Ubuntu, Dec 22, 2021oracle
Run Always Free Instances in the Oracle Cloud
I wouldn’t place Oracle Cloud in my top 5 cloud providers list, and as we know the cloud isn’t cheap nor free, but it seems that Oracle are stepping up the competitive game by offerin...
In Oracle, Dec 25, 2021redirect
Redirect HTTP to HTTPS in Apache
Securing your website by setting redirect from HTTP to HTTPS in Apache can be achieved easily if your SSL certificate is generated and ready to use. It can be done using a virtual hos...
In Nginx, Dec 28, 2021Redirect HTTP to HTTPS in Nginx
Nowadays almost every owner of a website wants to secure his site with an SSL certificate. Once that is achieved the second step is to redirect the whole HTTP traffic to HTTPS dependi...
In Nginx, Dec 26, 2021http
Redirect HTTP to HTTPS in Apache
Securing your website by setting redirect from HTTP to HTTPS in Apache can be achieved easily if your SSL certificate is generated and ready to use. It can be done using a virtual hos...
In Nginx, Dec 28, 2021Redirect HTTP to HTTPS in Nginx
Nowadays almost every owner of a website wants to secure his site with an SSL certificate. Once that is achieved the second step is to redirect the whole HTTP traffic to HTTPS dependi...
In Nginx, Dec 26, 2021https
Enable HTTPS redirection in Azure Functions
HTTPS redirection are quite common these days from security and SEO viewpoint. Today’s topic gonna be about how to enable the redirection in Azure Functions.
In Azure, Mar 21, 2022Redirect HTTP to HTTPS in Apache
Securing your website by setting redirect from HTTP to HTTPS in Apache can be achieved easily if your SSL certificate is generated and ready to use. It can be done using a virtual hos...
In Nginx, Dec 28, 2021Redirect HTTP to HTTPS in Nginx
Nowadays almost every owner of a website wants to secure his site with an SSL certificate. Once that is achieved the second step is to redirect the whole HTTP traffic to HTTPS dependi...
In Nginx, Dec 26, 2021httpd
Redirect HTTP to HTTPS in Apache
Securing your website by setting redirect from HTTP to HTTPS in Apache can be achieved easily if your SSL certificate is generated and ready to use. It can be done using a virtual hos...
In Nginx, Dec 28, 2021decrypt
Decrypt iam_user_login_profile password in Terraform
It’s almost always not a good idea to decrypt aws_iam_user_login_profile password to Terraform output since there are better approaches, which will not be covered in this topic today....
In Terraform, Dec 29, 2021password
Ansible user module and password hashing
As far as I know, there are two secure ways (discussable) you could include a password as part of the Ansible user module. Let’s go throught it.
In Ansible, Apr 28, 2022Generate SHA512 password hash with a salt from the CLI
Personally, the only time I’ve been generating a SHA512 password hashes was when I was working with the Ansible builtin user module, sipmly because I needed to commit a password hash ...
In Linux, Apr 26, 2022Create AWS IAM User Login Profile with PGP encrypted password in Terraform
Managing and deploying AWS IAM User Login Profiles in Terraform requires a base-64 encoded PGP public key or a keybase, as stated in the official documentation. But, there is no info ...
In Terraform, Jan 04, 2022Decrypt iam_user_login_profile password in Terraform
It’s almost always not a good idea to decrypt aws_iam_user_login_profile password to Terraform output since there are better approaches, which will not be covered in this topic today....
In Terraform, Dec 29, 2021vpc
AWS Associate VPC with Private Hosted Zone
Working with multiple AWS accounts can lead to timeouts between the different account services. Behind the VPC peering and the routing table connection, a very important thing is to s...
In AWS, Dec 30, 2021route 53
AWS Associate VPC with Private Hosted Zone
Working with multiple AWS accounts can lead to timeouts between the different account services. Behind the VPC peering and the routing table connection, a very important thing is to s...
In AWS, Dec 30, 2021wordpress
Change WordPress Domain URL through WP-CLI
While migrating your WordPress site or syncing the production database with staging you need to change the domain URL from the database. Instead of crawling within the WP database, I ...
In WordPress, Jan 01, 2022wp cli
Change WordPress Domain URL through WP-CLI
While migrating your WordPress site or syncing the production database with staging you need to change the domain URL from the database. Instead of crawling within the WP database, I ...
In WordPress, Jan 01, 2022ssm
Resolve AWS SSM plugin with name Standard_Stream not found
AWS SSM is a nice feature if you don’t wanna deal with majority of the SSH issues along the way. Today’s topic is all about resolving the:SessionId: devcoops-<some_string>: Plug...
In AWS, Jan 02, 2022plugin
Resolve AWS SSM plugin with name Standard_Stream not found
AWS SSM is a nice feature if you don’t wanna deal with majority of the SSH issues along the way. Today’s topic is all about resolving the:SessionId: devcoops-<some_string>: Plug...
In AWS, Jan 02, 2022standard_stream
Resolve AWS SSM plugin with name Standard_Stream not found
AWS SSM is a nice feature if you don’t wanna deal with majority of the SSH issues along the way. Today’s topic is all about resolving the:SessionId: devcoops-<some_string>: Plug...
In AWS, Jan 02, 2022dig
Install Dig on Amazon Linux 2
Yet another useful DNS tool besides nslookup is dig. It can be used through the Linux command line that offers a quick check of the DNS records.
In DNS, Apr 29, 2022Install dig and nslookup on Alpine Linux
Deploying docker containers based on alpine images or using alpine on your server is always a good idea as it’s a small, simple Linux OS. But if you want to perform some DNS checks yo...
In DNS, Jan 03, 2022nslookup
Install Nslookup on Amazon Linux 2
The need of checking DNS records quickly, through the cli can be achieved with nslookup. Let’s see how to install Nslookup on Amazon Linux 2.
In DNS, Apr 27, 2022Install dig and nslookup on Alpine Linux
Deploying docker containers based on alpine images or using alpine on your server is always a good idea as it’s a small, simple Linux OS. But if you want to perform some DNS checks yo...
In DNS, Jan 03, 2022alpine
Install dig and nslookup on Alpine Linux
Deploying docker containers based on alpine images or using alpine on your server is always a good idea as it’s a small, simple Linux OS. But if you want to perform some DNS checks yo...
In DNS, Jan 03, 2022iam
Create AWS IAM User Login Profile with PGP encrypted password in Terraform
Managing and deploying AWS IAM User Login Profiles in Terraform requires a base-64 encoded PGP public key or a keybase, as stated in the official documentation. But, there is no info ...
In Terraform, Jan 04, 2022user login profile
Create AWS IAM User Login Profile with PGP encrypted password in Terraform
Managing and deploying AWS IAM User Login Profiles in Terraform requires a base-64 encoded PGP public key or a keybase, as stated in the official documentation. But, there is no info ...
In Terraform, Jan 04, 2022pgp
Create AWS IAM User Login Profile with PGP encrypted password in Terraform
Managing and deploying AWS IAM User Login Profiles in Terraform requires a base-64 encoded PGP public key or a keybase, as stated in the official documentation. But, there is no info ...
In Terraform, Jan 04, 2022jq
Install jq on Amazon Linux 2
JQ one of my favorite lightweight and minimalistic JSON parser processor. When it comes playing with JSON outputs, and re-structuring JSON things, jq can make your impossible - possib...
In jq, May 17, 2022JSON to plain text using JQ
JSON stands for JavaScript Object Notation and represents easy-to-read lightweight data format. And jq is basically described as sed for JSON data, hence used for JSON data parcing. H...
In JSON, Mar 09, 2022Add jq and curl on Alpine Docker image
The official Alpine Docker Image doesn’t contain jq and curl by default. If you need to parse some JSON content or perform some curl checks, you can add them in the Dockerfile that is...
In Docker, Jan 05, 2022alpine linux
Add jq and curl on Alpine Docker image
The official Alpine Docker Image doesn’t contain jq and curl by default. If you need to parse some JSON content or perform some curl checks, you can add them in the Dockerfile that is...
In Docker, Jan 05, 2022slack notifications
Send Slack notifications from a Bash script
Slack is one of the most popular and used messaging apps by companies of any kind of business size, from small companies and startups to large enterprises. From DevOps point of view, ...
In Linux, Jan 06, 2022podman compose
Install Podman Compose on Ubuntu 22.04
As Podman is ramping up within the containers world, the need for Podman Compose is getting higher as well. Here I’m gonna show you three ways on how to install Podman Compose on Ubun...
In Podman, May 19, 2022Install Podman Compose on Debian 11
The growth and use of Podman is really raging higher and higher. I hope one day it will be arm to arm with Docker. Today I assume that you have Podman installed on Debian 11 already. ...
In Podman, May 09, 2022How to Install Podman Compose on Centos 7
When it comes to installing podman-compose on centos 7 it follows the same procedure as on the other rhel based distros and there are three ways to achieve it. You only need to make s...
In Podman, Jan 15, 2022Install Podman Compose on Ubuntu 20.04
Installation of podman-compose on ubuntu 20.04 is pretty simple, quick, and can be achieved in three ways. Before jumping on the installation part make sure that you have python3 and ...
In Podman, Jan 09, 2022Install Podman Compose on Amazon Linux
As the podman is becoming a suitable way for replacing docker he also offers a compose file for managing multiple services as docker-compose. There are three ways to install it and I’...
In Podman, Jan 07, 2022azure portal
Configure auto logout from the Azure Portal
In case you didn’t know by now, Azure Portal offers a decent ammount of customization, including option to auto logout after a period of time.
In Azure, Jan 08, 2022auto logout
Configure auto logout from the Azure Portal
In case you didn’t know by now, Azure Portal offers a decent ammount of customization, including option to auto logout after a period of time.
In Azure, Jan 08, 2022future posts
How to show future dated posts in Jekyll
By default, Jekyll doesn’t display posts with future dates. Sometimes we want to test them before publishing, and for that reason there is a plain solution.
In Jekyll, Jan 10, 2022sftp
SFTP transfer files through command line non-interactive
This tutorial is aimed to show you how to download files from a remote sftp server and of course how to upload files to a remote sftp server. It’s useful if you are writing a bash or ...
In SFTP, Jan 13, 2022How to connect with SFTP through command line
Most of the shared hosting platforms are providing sftp access to the end-users as a secure file transfer protocol. There are a lot of free and open source GUI platforms for ftp, sftp...
In SFTP, Jan 11, 2022ip ranges
How to get regional Azure public IP address ranges
Public Azure cloud IP ranges and service tags could be important thing when working with services and NSGs (Network Security Groups). The list could be downloaded as a JSON file in a ...
In Azure, Jan 12, 2022nofile limit
How to increase the open files limit in Linux
The default open files (nofile) limit is 1024. Let’s see how we could confirm and increase it on user and system-wide level.
In Linux, Jan 16, 2022ulimit
How to increase the open files limit in Linux
The default open files (nofile) limit is 1024. Let’s see how we could confirm and increase it on user and system-wide level.
In Linux, Jan 16, 2022scale
How to scale docker containers
When it comes working with an master - replica services docker offers a scaling compose command which is very useful. Here I’m going to show you how to use it with an example.
In Docker, Jan 17, 2022docker scale
How to scale docker containers
When it comes working with an master - replica services docker offers a scaling compose command which is very useful. Here I’m going to show you how to use it with an example.
In Docker, Jan 17, 2022http2
Enable HTTP/2 for Azure App Service
HTTP/2 was released in 2015 (7 years ago) which is faster and more reliable than HTTP1. In this post I’m gonna show you how easy it can get to upgrade from HTTP1 to HTTP2 for Azure Ap...
In Azure, Mar 25, 2022How to enable HTTP/2 in Nginx
HTTP/2 was published almost 7 years ago, HTTP/3 being an internet draft standard since October 2020, and yet here we are, most of us still using HTTP/1.1. Considering how things quick...
In Nginx, Jan 18, 2022renew
Certbot auto renew SSL certificate creating a cron job
If you are using a free SSL certificate from certbot, probably you are tired of the manual renewal. Here I’m going to show you how to automate the process of creating a cron job that ...
In Certbot, Jan 19, 2022cron job
Certbot auto renew SSL certificate creating a cron job
If you are using a free SSL certificate from certbot, probably you are tired of the manual renewal. Here I’m going to show you how to automate the process of creating a cron job that ...
In Certbot, Jan 19, 2022k8s
Multiple ways to run Kubernetes clusters locally
Kubernetes, the most popular container orchestration platform out there, needs no introduction. Let’s explore a couple of ways and tools on deploying K8s clusters on your local machine.
In Kubernetes, Jan 20, 2022local cluster
Multiple ways to run Kubernetes clusters locally
Kubernetes, the most popular container orchestration platform out there, needs no introduction. Let’s explore a couple of ways and tools on deploying K8s clusters on your local machine.
In Kubernetes, Jan 20, 2022process
Docker Container run in background
While running a docker container in detached mode d maybe you have experienced exiting the container immediately. Here I’m going to show you some ways how to keep it running in the ba...
In Docker, Jan 21, 2022tail
Docker Container run in background
While running a docker container in detached mode d maybe you have experienced exiting the container immediately. Here I’m going to show you some ways how to keep it running in the ba...
In Docker, Jan 21, 2022restart
How to Monitor and Restart unhealthy Docker Containers
Last week, I wrote about How to restart a single container with docker-compose. The approach is manual, hence will be repetitive and error-prone. And since we want to automate almost ...
In Docker, Jan 24, 2022How to restart a single container with docker-compose
Restarting docker-compose stack (docker-compose restart) it’s pretty easy and convinient, and if you somehow screw up something, docker-compose down/up will take care of it. But, now ...
In Docker, Jan 22, 2022docker-compose
Install Docker Compose on Amazon Linux 2
Installing the latest version of Docker Compose on Amazon Linux 2 is a pretty simple and straightforward process if Docker is installed previously. Let’s see the steps needed.
In Docker, Apr 25, 2022Resolve Docker's 'Version in docker-compose.yml is unsupported' error
Let’s take a look at the not so common Docker Compose error:"Configuration error - Version in "./docker-compose.yml" is unsupported.You might be seeing this error because you're using...
In Docker, Apr 20, 2022How to fix 'WARNING: Connection pool is full' in Docker Compose
If you have been working with docker-compose stacks for a while, you might have come across the following warning message: WARNING: Connection pool is full, discarding connection <...
In Docker, Feb 23, 2022How to install Docker Compose on Ubuntu 21.10
This article is strictly focused on installing docker-compose on Ubuntu 21.10, so please make sure that you have Docker installed before jumping on the installation steps.
In Docker, Feb 22, 2022Apple M1 Chip Docker Error - no matching manifest for linux/arm64/v8
Most of the Docker images are not compatible with the newest Apple Silicon M1 chip throwing no matching manifest for linux/arm64/v8. Let’s see how to resolve the issue.
In Docker, Feb 18, 2022How to Monitor and Restart unhealthy Docker Containers
Last week, I wrote about How to restart a single container with docker-compose. The approach is manual, hence will be repetitive and error-prone. And since we want to automate almost ...
In Docker, Jan 24, 2022How to restart a single container with docker-compose
Restarting docker-compose stack (docker-compose restart) it’s pretty easy and convinient, and if you somehow screw up something, docker-compose down/up will take care of it. But, now ...
In Docker, Jan 22, 2022containers
How to Monitor and Restart unhealthy Docker Containers
Last week, I wrote about How to restart a single container with docker-compose. The approach is manual, hence will be repetitive and error-prone. And since we want to automate almost ...
In Docker, Jan 24, 2022monitor
How to Monitor and Restart unhealthy Docker Containers
Last week, I wrote about How to restart a single container with docker-compose. The approach is manual, hence will be repetitive and error-prone. And since we want to automate almost ...
In Docker, Jan 24, 2022screen share
How to fix black screen on screen share in Ubuntu
During an online session, I spotted that the screen share on Ubuntu stopped working. The first thought that came to my mind was the application itself. But later I realized that no ma...
In Ubuntu, Jan 25, 2022graphics
How to rotate screen position in Ubuntu through CLI
Nowadays as technology develops more and more, laptops are becoming more sophisticated. Most of today’s laptops offer a finger-sensitive screens so you can manage to flip over the mon...
In Ubuntu, Jan 29, 2022How to fix black screen on screen share in Ubuntu
During an online session, I spotted that the screen share on Ubuntu stopped working. The first thought that came to my mind was the application itself. But later I realized that no ma...
In Ubuntu, Jan 25, 2022How to fix Gmail SMTP's 'Please log in via your web browser and then try again'
SMTP configuration has always been an annoying task, especially for the inexperienced engineers. Needless to say, setting up mail server from scratch is a whole other beast. Today’s f...
In SMTP, Jan 26, 2022gmail
MySQL Check for Corrupted Tables
Exporting and importing MySQL databases and tables sometimes can cause corruption. But there are a lot of different reasons why the MySQL table can get corrupted. Here in this tutoria...
In MYSQL, Feb 02, 2022How to fix Telnet SMTP 'must issue STARTTLS command first' error
If you have already been testing the Telnet’s gmail smtp, you must have seen the following error:530 5.7.0 Must issue a STARTTLS command first. - gsmtpThis means that you have didn’t ...
In SMTP, Feb 01, 2022How to fix Gmail SMTP's 'Please log in via your web browser and then try again'
SMTP configuration has always been an annoying task, especially for the inexperienced engineers. Needless to say, setting up mail server from scratch is a whole other beast. Today’s f...
In SMTP, Jan 26, 2022smtp
MySQL Check for Corrupted Tables
Exporting and importing MySQL databases and tables sometimes can cause corruption. But there are a lot of different reasons why the MySQL table can get corrupted. Here in this tutoria...
In MYSQL, Feb 02, 2022How to fix Telnet SMTP 'must issue STARTTLS command first' error
If you have already been testing the Telnet’s gmail smtp, you must have seen the following error:530 5.7.0 Must issue a STARTTLS command first. - gsmtpThis means that you have didn’t ...
In SMTP, Feb 01, 2022How to remove frozen emails from the Exim mail queue
Messages or emails that are sent to a non-existent email account can sit in the mail queue and maybe cause issues or stuck the relevant ones. After some period of time, usually 7 or 8...
In Exim, Jan 31, 2022How to Send Emails via Telnet
Telnet could be very useful when testing SMTP servers for email delivery. Let’s explore the steps required in order to send emails successfully.
In SMTP, Jan 28, 2022How to fix Gmail SMTP's 'Please log in via your web browser and then try again'
SMTP configuration has always been an annoying task, especially for the inexperienced engineers. Needless to say, setting up mail server from scratch is a whole other beast. Today’s f...
In SMTP, Jan 26, 2022login
How to fix Gmail SMTP's 'Please log in via your web browser and then try again'
SMTP configuration has always been an annoying task, especially for the inexperienced engineers. Needless to say, setting up mail server from scratch is a whole other beast. Today’s f...
In SMTP, Jan 26, 2022web
How to fix Gmail SMTP's 'Please log in via your web browser and then try again'
SMTP configuration has always been an annoying task, especially for the inexperienced engineers. Needless to say, setting up mail server from scratch is a whole other beast. Today’s f...
In SMTP, Jan 26, 2022browser
How to fix Gmail SMTP's 'Please log in via your web browser and then try again'
SMTP configuration has always been an annoying task, especially for the inexperienced engineers. Needless to say, setting up mail server from scratch is a whole other beast. Today’s f...
In SMTP, Jan 26, 2022telnet
Install Telnet on CentOS 9 Stream
Telnet as a useful tool, allows you to establish a connection or check whether some connection is allowed or not. Here I’m gonna show you how to install Telnet on Centos 9 Stream, whi...
In Telnet, May 15, 2022How to check Redis connection with Telnet
A lot of useful checks can be made with telnet in terms of connectivity, sending test emails, access to databases, etc. Telnet is an application protocol based on TCP and it can allow...
In Redis, Mar 26, 2022MySQL Check for Corrupted Tables
Exporting and importing MySQL databases and tables sometimes can cause corruption. But there are a lot of different reasons why the MySQL table can get corrupted. Here in this tutoria...
In MYSQL, Feb 02, 2022How to fix Telnet SMTP 'must issue STARTTLS command first' error
If you have already been testing the Telnet’s gmail smtp, you must have seen the following error:530 5.7.0 Must issue a STARTTLS command first. - gsmtpThis means that you have didn’t ...
In SMTP, Feb 01, 2022How to Send Emails via Telnet
Telnet could be very useful when testing SMTP servers for email delivery. Let’s explore the steps required in order to send emails successfully.
In SMTP, Jan 28, 2022screen
Install Screen on Amazon Linux 2
Screen is a Linux utility that allows you to run and use multiple shell sessions from a single ssh session. It’s commonly used for migrating a bunch of data through an ssh connection....
In Screen, Apr 23, 2022How to rotate screen position in Ubuntu through CLI
Nowadays as technology develops more and more, laptops are becoming more sophisticated. Most of today’s laptops offer a finger-sensitive screens so you can manage to flip over the mon...
In Ubuntu, Jan 29, 2022base64
base64 encode and decode from the CLI
base64 encoding and decoding has many use cases, but it’s important to understand that it’s different from encryption and decryption. While base64 encoding focuses on data usability s...
In base64, Jan 30, 2022encode
base64 encode and decode from the CLI
base64 encoding and decoding has many use cases, but it’s important to understand that it’s different from encryption and decryption. While base64 encoding focuses on data usability s...
In base64, Jan 30, 2022decode
base64 encode and decode from the CLI
base64 encoding and decoding has many use cases, but it’s important to understand that it’s different from encryption and decryption. While base64 encoding focuses on data usability s...
In base64, Jan 30, 2022exim
Install Exim on Amazon Linux 2
Exim is a useful mail transfer agent easy to manage and set up. The installation process is easy as well, so let’s see how to install Exim on Amazon Linux 2.
In Exim, May 01, 2022How to remove frozen emails from the Exim mail queue
Messages or emails that are sent to a non-existent email account can sit in the mail queue and maybe cause issues or stuck the relevant ones. After some period of time, usually 7 or 8...
In Exim, Jan 31, 2022mail server
How to remove frozen emails from the Exim mail queue
Messages or emails that are sent to a non-existent email account can sit in the mail queue and maybe cause issues or stuck the relevant ones. After some period of time, usually 7 or 8...
In Exim, Jan 31, 2022mail queue
How to remove frozen emails from the Exim mail queue
Messages or emails that are sent to a non-existent email account can sit in the mail queue and maybe cause issues or stuck the relevant ones. After some period of time, usually 7 or 8...
In Exim, Jan 31, 2022frozen email
How to remove frozen emails from the Exim mail queue
Messages or emails that are sent to a non-existent email account can sit in the mail queue and maybe cause issues or stuck the relevant ones. After some period of time, usually 7 or 8...
In Exim, Jan 31, 2022starttls
MySQL Check for Corrupted Tables
Exporting and importing MySQL databases and tables sometimes can cause corruption. But there are a lot of different reasons why the MySQL table can get corrupted. Here in this tutoria...
In MYSQL, Feb 02, 2022How to fix Telnet SMTP 'must issue STARTTLS command first' error
If you have already been testing the Telnet’s gmail smtp, you must have seen the following error:530 5.7.0 Must issue a STARTTLS command first. - gsmtpThis means that you have didn’t ...
In SMTP, Feb 01, 2022postgis
How to fix 'type: geography does not exist' error in PostgreSQL
Restoring PostgreSQL databases could be sometimes tricky and most likely so include a few errors. In today’s issue resolving series, we are going to deal with the following error: typ...
In PostgreSQL, Feb 03, 2022geography
How to fix 'type: geography does not exist' error in PostgreSQL
Restoring PostgreSQL databases could be sometimes tricky and most likely so include a few errors. In today’s issue resolving series, we are going to deal with the following error: typ...
In PostgreSQL, Feb 03, 2022cache
Install Redis on CentOS 9 Stream
Redis is the most popular and most used cache, message broker, and in-memory key value database store service nowadays. So today I’m going to show you how to install Redis on CentOS 9...
In Redis, May 07, 2022How to install Redis on Ubuntu 21.10
Using Redis as popular caching storage and also persistent key value database is always a good idea. Here I’m going to show you how to install it on a fresh Ubuntu 21.10 instance.
In Redis, Feb 26, 2022How to Flush DNS Cache from the CLI
Clearing the DNS cache usually fixes issues related to not resolving new or updated existing domain records. Let’s see how it’s done from the command line though.
In Linux, Feb 25, 2022How to configure basic caching in Nginx
As the cache need grows for a big data applications, technology market offers a lot of different caching solutions. Today I want to show you how to set up basic caching and cache your...
In Nginx, Feb 04, 2022proxy_cache
How to configure basic caching in Nginx
As the cache need grows for a big data applications, technology market offers a lot of different caching solutions. Today I want to show you how to set up basic caching and cache your...
In Nginx, Feb 04, 2022individual table
How to restore an individual table in PostgreSQL
Backup and restore operations are convinient if we are working with small and medium-sized data. But, what happens when we need to restore a single table from a large database?! Most ...
In PostgreSQL, Feb 05, 2022indexes
How to list Indexes in PostgreSQL
This week is all about listing things in PostgreSQL, and I’m gonna start with indexes. Indexes are basically tables that points to data in other tables, therefore speeding up the quer...
In PostgreSQL, Feb 07, 2022docker daemon
Resolve couldn't connect to docker daemon at http+docker //localhost - is it running?
Using Docker with a non-root user can cause issues connected with the docker daemon. The docker daemon binds to a Unix socket, so the docker client will try to communicate to the daem...
In Docker, Feb 08, 2022stored
How to list Stored Procedures in PostgreSQL
Stored procedures or simply put procedures are just SQL codes that can be saved for later use. There are few ways you could list them though, found below.
In PostgreSQL, Feb 09, 2022procedures
How to list Stored Procedures in PostgreSQL
Stored procedures or simply put procedures are just SQL codes that can be saved for later use. There are few ways you could list them though, found below.
In PostgreSQL, Feb 09, 2022triggers
How to list Triggers in PostgreSQL
Triggers are types of stored procedures that run automatically whenever an event occurs, something like webhooks. And, a few ways to list them.
In PostgreSQL, Feb 11, 2022dbeaver
How to install DBeaver on Debian 11
Installing DBeaver on Debian 11 follows pretty much the same steps from Ubuntu 21.10. The two methods of installing are: snap package
In DBeaver, Feb 14, 2022How to install DBeaver on Ubuntu 21.10
One of the great alternative for MySQL workbench is DBeaver. So instead of connecting only Mysql servers, DBeaver offers a lot of different database connections like PostgreSQL, SQLit...
In DBeaver, Feb 12, 2022ubuntu 21.10
How to install Podman on Ubuntu 21.10
In this tutorial, I’m going to show how to install Podman on Ubuntu 21.10 using the default Ubuntu 21.10 packages. Previously we clarified that installing Podman with the default Ubun...
In Podman, Feb 28, 2022How to install Redis on Ubuntu 21.10
Using Redis as popular caching storage and also persistent key value database is always a good idea. Here I’m going to show you how to install it on a fresh Ubuntu 21.10 instance.
In Redis, Feb 26, 2022How to install Nginx on Ubuntu 21.10
Since Ubuntu 21.10 has been released there was an immediate interest in using it as an OS Server. In this tutorial, we are going to see how to install Nginx on Ubuntu 21.10.
In Nginx, Feb 20, 2022How to install DBeaver on Ubuntu 21.10
One of the great alternative for MySQL workbench is DBeaver. So instead of connecting only Mysql servers, DBeaver offers a lot of different database connections like PostgreSQL, SQLit...
In DBeaver, Feb 12, 2022sql
How to install DBeaver on Debian 11
Installing DBeaver on Debian 11 follows pretty much the same steps from Ubuntu 21.10. The two methods of installing are: snap package
In DBeaver, Feb 14, 2022How to install DBeaver on Ubuntu 21.10
One of the great alternative for MySQL workbench is DBeaver. So instead of connecting only Mysql servers, DBeaver offers a lot of different database connections like PostgreSQL, SQLit...
In DBeaver, Feb 12, 2022sequences
How to list Sequences in PostgreSQL
Sequences in PostgreSQL are types of objects in a database that generates sequence of integers with a specific requirements. Here’s few ways to list them though.
In PostgreSQL, Feb 13, 2022django
How to Run Django Application Server
Django is a python free and open-source framework that is widely used nowadays. It offers a lot of libraries and functions that can be easily invoked. Running Django app with a local ...
In Django, Feb 16, 2022python
Resolve pip install connection error: ceritificate validate failed
In one of my previous pip posts I wrote about how to Resolve pip install package_name error: Couldn’t find a version that satisfies the requirement, and today we are going to fix anot...
In Python, Apr 22, 2022 Resolve pip install error: Couldn't find a version that satisfies the requirement
There is a good reason you might stumble upon this post, so let’s see how can we resolve the following pip install some_package command error:ERROR: Could not find a version that sati...
In Python, Apr 16, 2022How to Run Django Application Server
Django is a python free and open-source framework that is widely used nowadays. It offers a lot of libraries and functions that can be easily invoked. Running Django app with a local ...
In Django, Feb 16, 2022pip
Resolve pip install connection error: ceritificate validate failed
In one of my previous pip posts I wrote about how to Resolve pip install package_name error: Couldn’t find a version that satisfies the requirement, and today we are going to fix anot...
In Python, Apr 22, 2022 Resolve pip install error: Couldn't find a version that satisfies the requirement
There is a good reason you might stumble upon this post, so let’s see how can we resolve the following pip install some_package command error:ERROR: Could not find a version that sati...
In Python, Apr 16, 2022How to Run Django Application Server
Django is a python free and open-source framework that is widely used nowadays. It offers a lot of libraries and functions that can be easily invoked. Running Django app with a local ...
In Django, Feb 16, 2022timescaledb
How to Install, Enable and List TimescaleDB version in PostgreSQL
TimescaleDB is a PostgreSQL extension that enables easier approach when working with time-series data. Today we are going to see how can we install, enable / disable, get the Timescal...
In PostgreSQL, Feb 17, 2022upgrade
How to Upgrade and Downgrade Extensions in PostgreSQL
Extensions in PostgreSQL are basically packages with additional features. The popular ones include TimescaleDB, PostGIS, pg_stat_statements, ZomboDB and Postgres_fdw. Today’s focus go...
In PostgreSQL, Feb 19, 2022downgrade
How to Upgrade and Downgrade Extensions in PostgreSQL
Extensions in PostgreSQL are basically packages with additional features. The popular ones include TimescaleDB, PostGIS, pg_stat_statements, ZomboDB and Postgres_fdw. Today’s focus go...
In PostgreSQL, Feb 19, 2022extensions
How to Upgrade and Downgrade Extensions in PostgreSQL
Extensions in PostgreSQL are basically packages with additional features. The popular ones include TimescaleDB, PostGIS, pg_stat_statements, ZomboDB and Postgres_fdw. Today’s focus go...
In PostgreSQL, Feb 19, 2022warning
How to fix 'WARNING: Connection pool is full' in Docker Compose
If you have been working with docker-compose stacks for a while, you might have come across the following warning message: WARNING: Connection pool is full, discarding connection <...
In Docker, Feb 23, 2022connection pool
How to fix 'WARNING: Connection pool is full' in Docker Compose
If you have been working with docker-compose stacks for a while, you might have come across the following warning message: WARNING: Connection pool is full, discarding connection <...
In Docker, Feb 23, 2022mariadb
Repair and Optimize MySQL Databases
In some of the previous posts, I’ve explained how to check if the mysql tables are corrupted. So this topic will shed some light on how to auto-repair and optimize all mysql databases...
In MYSQL, Mar 20, 2022MySQL Fix: 'Waiting for table metadata lock'
Working with high load SQL queries or big transactions, you may face: Waiting for table metadata lock. Here I’m gonna list some useful solutions that might help you.
In MySQL, Feb 24, 2022aws aurora
MySQL Fix: 'Waiting for table metadata lock'
Working with high load SQL queries or big transactions, you may face: Waiting for table metadata lock. Here I’m gonna list some useful solutions that might help you.
In MySQL, Feb 24, 2022ansibleundefinedvariable
How to deal with AnsibleUndefinedVariable is undefined error
Although Ansible has a low learning curve, obvisouly there’s always a big difference between learning on your own versus working on a medium to large scale size (enterprise) projects....
In Ansible, Feb 27, 2022error
Fix 'Output refers to sensitive values' error in Terraform
Before Terraform ver. 0.14 you could have undoubtedly leak any secret as being a part of an output value. This usually happens in a CI/CD pipeline. These days Terraform will throw an ...
In Terraform, May 18, 2022How to deal with AnsibleUndefinedVariable is undefined error
Although Ansible has a low learning curve, obvisouly there’s always a big difference between learning on your own versus working on a medium to large scale size (enterprise) projects....
In Ansible, Feb 27, 2022vars_file
vars_files vs include_vars in Ansible
In the last Ansible post I’ve noted that there’s a difference when choosing between vars_files and include_vars. So, let’s explore the differences on a surface level.
In Ansible, Mar 01, 2022include_vars
vars_files vs include_vars in Ansible
In the last Ansible post I’ve noted that there’s a difference when choosing between vars_files and include_vars. So, let’s explore the differences on a surface level.
In Ansible, Mar 01, 2022swap
Fix 'fallocate failed: Operation not supported'
While creating a swap on your linux machine, executing sudo fallocate -l 1G /swap-file-name may throw fallocate failed: Operation not supported. Here I’m gonna show you a quick fix fo...
In Linux, Mar 02, 2022fallocate
Fix 'fallocate failed: Operation not supported'
While creating a swap on your linux machine, executing sudo fallocate -l 1G /swap-file-name may throw fallocate failed: Operation not supported. Here I’m gonna show you a quick fix fo...
In Linux, Mar 02, 2022syslog
Where to find Stored Syslog Messages
When it comes to Syslog messages in Linux it’s important to know that they are handled by two services: systemd-journald daemon - gathers all the messages from the kernel including b...
In Linux, Mar 04, 2022systemctl
Where to find Stored Syslog Messages
When it comes to Syslog messages in Linux it’s important to know that they are handled by two services: systemd-journald daemon - gathers all the messages from the kernel including b...
In Linux, Mar 04, 2022managed policy
How to Attach AWS Managed Policy to an IAM Role in Terraform
AWS Managed Policies are IAM policies created and managed by AWS. Today I’m going to show you how to attach a managed policy in Terraform.
In Terraform, Mar 05, 2022iam role
How to Attach AWS Managed Policy to an IAM Role in Terraform
AWS Managed Policies are IAM policies created and managed by AWS. Today I’m going to show you how to attach a managed policy in Terraform.
In Terraform, Mar 05, 2022kill
How to restart processes with Kill in Linux
You may ask yourself why using kill command to restart processes when here is systemctl. But some of you will get stuck in a position where you will not be able to restart some stuck ...
In Linux, Mar 06, 2022homebrew
How To Uninstall Packages with Brew including all its dependencies
Homebrew, or shortly brew is the most popular package manager for MacOS. And, if you don’t know already, package managers are software tools used for managing apps on our local machin...
In Homebrew, Mar 07, 2022package manager
How To Uninstall Packages with Brew including all its dependencies
Homebrew, or shortly brew is the most popular package manager for MacOS. And, if you don’t know already, package managers are software tools used for managing apps on our local machin...
In Homebrew, Mar 07, 2022fastcgi
How to resolve Nginx 'an upstream response is buffered to a temporary file'
After connecting Nginx with ELK stack to handle requests I spot a lot of an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/9/66/00000034785 while read...
In Nginx, Mar 08, 2022buffers
How to resolve Nginx 'an upstream response is buffered to a temporary file'
After connecting Nginx with ELK stack to handle requests I spot a lot of an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/9/66/00000034785 while read...
In Nginx, Mar 08, 2022wifi
HP Fix WI-FI driver not working in Windows 10
Installing WLAN (wifi) driver from the HP official drivers site might cause issues and does not appear in the windows device adapters. So if that’s the thing follow the instructions b...
In Windows, Mar 10, 2022wlan
HP Fix WI-FI driver not working in Windows 10
Installing WLAN (wifi) driver from the HP official drivers site might cause issues and does not appear in the windows device adapters. So if that’s the thing follow the instructions b...
In Windows, Mar 10, 2022hp
HP Fix WI-FI driver not working in Windows 10
Installing WLAN (wifi) driver from the HP official drivers site might cause issues and does not appear in the windows device adapters. So if that’s the thing follow the instructions b...
In Windows, Mar 10, 2022repos
How to remove already committed secrets from Git repositories
One of the most common secure practices in Git is to never commit any secrets in git repos. But, what happen if you did, or someone else made that rookie mistake?! Let’s see how to re...
In Git, Mar 11, 2022secrets
How to remove already committed secrets from Git repositories
One of the most common secure practices in Git is to never commit any secrets in git repos. But, what happen if you did, or someone else made that rookie mistake?! Let’s see how to re...
In Git, Mar 11, 2022bfg
How to remove already committed secrets from Git repositories
One of the most common secure practices in Git is to never commit any secrets in git repos. But, what happen if you did, or someone else made that rookie mistake?! Let’s see how to re...
In Git, Mar 11, 2022openvpn
How to Install OpenVPN on Amazon Linux 2
If you try to run yum install openvpn on an Amazon Linux 2 instance you will get: No package openvpn available. It means that it doesn’t exist to the existing yum packages. Let’s see ...
In VPN, Mar 12, 2022vpn
How to Install OpenVPN on Amazon Linux 2
If you try to run yum install openvpn on an Amazon Linux 2 instance you will get: No package openvpn available. It means that it doesn’t exist to the existing yum packages. Let’s see ...
In VPN, Mar 12, 2022vault
Ansible Vault password integration with Bitwarden
Ansible Vault encrypts Ansible data files mostly variables, so you could protect things such as passwords and keys. It uses a single password for encryption and decryption which initi...
In Ansible, Mar 13, 2022bitwarden
Ansible Vault password integration with Bitwarden
Ansible Vault encrypts Ansible data files mostly variables, so you could protect things such as passwords and keys. It uses a single password for encryption and decryption which initi...
In Ansible, Mar 13, 2022database
Install Redis on CentOS 9 Stream
Redis is the most popular and most used cache, message broker, and in-memory key value database store service nowadays. So today I’m going to show you how to install Redis on CentOS 9...
In Redis, May 07, 2022How to Export All MySQL Databases
Keeping the database structure in one place and safe can sometimes be useful regarding disaster recovery. Exporting all MySQL databases into one SQL file it’s not a common thing but i...
In MYSQL, Mar 18, 2022bc
How to install bc on Linux MacOS and Windows
bc or short for basic calculator is almost 50 years old calculator scripting language which I stumble upon as a prerequisite when testing AWS S3 upload speed. Let’s cover the installa...
In bc, Mar 19, 2022windows
PowerShell equivalent of the touch command in Linux
There might be a point in your IT career where you need to switch to a Windows OS dev machine whatever you like it not because the CTO decided to put all eggs in the Microsoft / Azure...
In PowerShell, May 02, 2022Check system uptime in Linux MacOS and Windows from the Command Line
The following commands will help you find the system uptime for Linux, MacOS and Windows in the easiest way possible, from the command line.
In Linux, macOS, Windows, Mar 23, 2022How to install bc on Linux MacOS and Windows
bc or short for basic calculator is almost 50 years old calculator scripting language which I stumble upon as a prerequisite when testing AWS S3 upload speed. Let’s cover the installa...
In bc, Mar 19, 2022functions
Enable HTTPS redirection in Azure Functions
HTTPS redirection are quite common these days from security and SEO viewpoint. Today’s topic gonna be about how to enable the redirection in Azure Functions.
In Azure, Mar 21, 2022