Sometimes we wonder, why we pay this much amount to the Cloud provider/s. While building the infrastructure, TCO is one of the critical factor. TCO means, Total Cost of Ownership. We need to do a lot of things to maintain…
All about s3cmd, the CLI to manage Amazon Simple Storage (S3)
This can help you on following: How to use S3cmd to manage your Object Storage? How to Sync Files and Directories to AWS S3 using s3cmd Tool? Getting started with AWS s3cmd command by examples. How to use Object Storage…
How to swap two variables in Python?
Hi Folks! In certain situations, you need to swap the variables in python scripts. So, let’s say a=5, and b=10. After swapping a=10 and b=5. Before Swapping:a=5b=10 After swapping:a=10b=5 Now I’ll show you few interesting methods to swap two variables…
How to add files/folders to an existing TAR archive?
Is it possible to append on existing TAR archive? Yes we can add additional files/folders to an already existing TAR archive. The ‘TAR’ saves many files together into a single tape or disk archive, and can restore individual files from the…
PromQL Wildcard Examples
Why this post? If you have Prometheus cluster as your central metrics platform for your servers and the applications, you might came across situations like, have to write custom queries for fetching the data from Prometheus or for creating custom…
How to save/backup existing iptables rules to a file – Iptables commands
Introduction Iptables or iptables rules plays an important role in server administration part. You can secure your servers by using iptables rules. Normally, if you’re maintaining the IPTables configuration file (/etc/sysconfig/iptables) you do not need to worry about this. You…
Apache Kafka Components and CLI Cheat Sheet
In event streaming technique, Kafka plays an important role. We are living in a very fast growing technological era and the analysis of our data is very important to give better user experience and build a more customer friendly business.…