In this article, I am going to share a shell script to help you get the TTL (time to live) and Memory Usage of all the keys available in Redis DB Every tool/technology that we use in infrastructure comes with a certain cost of management. Redis, a memory-intensive caching solution[...]
Read moreAuthor: Sarav AK
Ansible Retry Examples - Retry a task until condition met | DevopsJunction
in this article, we are going to see how to retry an ansible task until it meets a certain condition or validation. It is more like do sometask until somecondition kind of setup available in all the programming and scripting languages Ansible lets you execute a task until a condition[...]
Read moreHow to restart all deployments in namespace - Kubectl | Devops Junction
Restart Namespace all Deployments after k8s v1.15 You can simply use the kubectl rollout restart command that takes care of restarting all the deployments in a namespace If you specify only the namespace and not a specific deployment, all the deployments in the namespace would be restarted kubectl rollout restart[...]
Read moreAWS EKS Load Balancer from Kubernetes Service | Devops Junction
In this article, we are going to see how to create internal and external load balancers using the Kubernetes service on EKS When we think about making an application or deployment available externally or internally over a Domain name We think of Kubernetes Ingress but that's not the only way to[...]
Read moreCreating EKS Cluster with SPOT instances - Terraform | Devops Junction
In this article, we are going to see how to create an EKS Cluster with SPOT and OnDemand instances using Terraform. If you have prior experience with AWS, you might know what is SPOT instances and ondemand instances are. Let us start with a quick introduction towards SPOT instances. Quick[...]
Read moreTerraform ebs_block_device example - Multiple EBS volumes AWS EC2
In this article, we will see an example of how to use ebs_block_device mapping with AWS EC2 instance This article would use the template of Multiple EC2 instance creation using for_each and count together. It is highly recommended that you read our previous article on how to create multiple ec2[...]
Read moreCreating S3 presigned URLs using Python Boto3 - On AWS Lambda
In this article, we are going to see how to create pre-signed S3 URLs using Boto3 Python and deploy the program to Lambda for accessibility and reusability. So this article could be a good example for starting your serverless journey too. with no further ado, let us move on to[...]
Read moreAnsible List Examples - How to create and append items to List
In this article, we are going to learn about Ansible List. and How to create Ansible List and append items to it. The LIST is a type in data structure and is widely used in all programming languages. It is to store a group of heterogeneous elements. We are NOT[...]
Read moreAnsible Playbook to install KAFKA on Ubuntu - How to | Devops Junction
In this article, we are going to see how to install Kafka on ubuntu with Ansible. We created a simple playbook to download and install Kafka and start it. Here is the list of tasks the playbook is designed to do Perform apt update Install JRE needed for Kafka and[...]
Read moreCreating EKS Cluster with Karpenter Auto scaling - Terraform | Kubernetes
Kubernetes has been a disruptive change in IT Infrastructure. It had been widely adopted across the industry Managed Kubernetes are the best choice if you do not want to face the hurdles of setting up K8s from scratch Unless you want to deep learn Kubernetes. AWS a market leader in[...]
Read more