Tags
azure
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, 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 quickly create an Azure VM backup using the Azure CLI
In the last post, i was writing about taking Azure Virtual Machines disk snapshots, and why it’s not a good idea to replace backups with snapshots. For today’s post, i’ll write about ...
In Azure, Nov 01, 2019How to create a snapshot of an Azure VM using the Azure CLI
Snapshot is a popular term in the virtual storage world. Snapshots are a full, point-in-time copies of a system, mostly virtual machines disks, known as VHDs. We could use snapshots t...
In Azure, Oct 30, 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 create and configure Azure Bastion
A bastion host, or also known as a Jumpbox, is a server which is exposed on the public (demilitarized zone) network for a special purpose. The bastion host is designed and configured ...
In Azure, Oct 25, 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 quickly create an Azure VM backup using the Azure CLI
In the last post, i was writing about taking Azure Virtual Machines disk snapshots, and why it’s not a good idea to replace backups with snapshots. For today’s post, i’ll write about ...
In Azure, Nov 01, 2019How to create a snapshot of an Azure VM using the Azure CLI
Snapshot is a popular term in the virtual storage world. Snapshots are a full, point-in-time copies of a system, mostly virtual machines disks, known as VHDs. We could use snapshots t...
In Azure, Oct 30, 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
How 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 Mac, 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 Mac, 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 Mac, Jul 07, 2021Install 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
How 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
How 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
How 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 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 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 Mac, Jul 22, 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 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 Mac, Jul 16, 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/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
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, 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 quickly create an Azure VM backup using the Azure CLI
In the last post, i was writing about taking Azure Virtual Machines disk snapshots, and why it’s not a good idea to replace backups with snapshots. For today’s post, i’ll write about ...
In Azure, Nov 01, 2019How to create a snapshot of an Azure VM using the Azure CLI
Snapshot is a popular term in the virtual storage world. Snapshots are a full, point-in-time copies of a system, mostly virtual machines disks, known as VHDs. We could use snapshots t...
In Azure, Oct 30, 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 create and configure Azure Bastion
A bastion host, or also known as a Jumpbox, is a server which is exposed on the public (demilitarized zone) network for a special purpose. The bastion host is designed and configured ...
In Azure, Oct 25, 2019docker
How 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/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
How 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
How to install Docker Compose on Debian 11
We previously saw how to install Docker on Debian 11. As a sequel, I’m going to round it off with the docker compose installation on Debian 11.
In Docker, 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
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 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 Mac, 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 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 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
Reboot VMs with Ansible
Speaking of configuration management, Ansible is the most popular open-source automation tool out there. It’s mostly used for automating day to day operation activities, from installi...
In Ansible, Sep 14, 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
How 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
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, 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
How 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 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 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, 2021virtualbox
How 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 Mac, Jul 07, 2021docker cp
How to copy files/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
How to copy files/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 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 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 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
Clean 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
How 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 Mac, Jul 16, 2021redis
How 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
How 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 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 Mac, Jul 22, 2021apache
How 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 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
Convert 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
How 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
How 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
How 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 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
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, 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
How 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
How to install Docker Compose on Debian 11
We previously saw how to install Docker on Debian 11. As a sequel, I’m going to round it off with the docker compose installation on Debian 11.
In Docker, 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 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 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 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
Convert 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 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
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, 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, 2021