In this article, we are going to see how to use ansible pre tasks and post tasks with examples. What is Ansible pre_tasks? Ansible pretask is a conditional execution block that runs before running the play. It can be a task with some prerequisites check (or) validation Some examples we[...]
Read moreAuthor: Sarav AK
Ansible Copy Examples - How to copy files and directories with Ansible
In this article, we are going to see practical examples of Ansible copy. We will be seeing various examples of ansible copy To keep things simple we have created the playbook that you can test in your localhost itself, In other words, ansible control machine you can change the hosts[...]
Read moreSpringBoot Kubernetes Example - Jenkins & IBM Cloud | Devops Junction
In this article, we are going to see how to deploy the SpringBoot application to Kubernetes using Jenkins. The platform we are choosing is IBM Cloud. We are going to see SpringBoot Kubernetes Example setup on IBM Cloud using Jenkins Pipeline. We will be creating Docker images, setting up Kubernetes,[...]
Read moreSQSCLI - GUI Desktop App to Browse / Peek SQS Messages
SQSCLI is a desktop application we have developed to help AWS users to browse SQS messages and peak into SQS Queues This is a GUI-based application designed to leverage your AWS CLI profile configured in your local system. Here is a snapshot of the SQSCLI interface. For higher security, we[...]
Read moreGet CPU and Memory Usage of NODES and PODS - Kubectl | K8s
Ever since I started using Kubernetes I have always been on the pursuit of finding the right tools to monitor. and I did find a lot of products from the Open source community and here are my favourites Kube Prometheus Stack KubeCost Kubernetes Dashboard Lens IDE Kubewatch Jaeger Despite having[...]
Read moreHow to use ansible with S3 - Ansible aws_s3 examples | Devops Junction
S3 has become the cheap and best object storage and it is used widely across enterprises and products, to securely save and access data over the internet. We have various ways to interact with the S3 bucket, to upload, download and copy objects back and forth to S3. SDKs ([...]
Read moreStore terraform state file on Terraform cloud Remote | Devops Junction
In this article, I am going to discuss how we can keep safe our terraform state file using terraform cloud. As a pioneer/Practioner of Terraform CLI, we hold responsible for Terraform state file which is the source of truth for our infrastructure. What if we lose this state file or[...]
Read moreAWS Lambda Python Example - With ALB Integration | Devops Junction
In this article, we are going to see how you can deploy your simple python application to AWS Lambda and access it publically using an Application Load balancer. Lambda is a great feature from AWS to host your source code without having to worry about setting up server infrastructure. It[...]
Read moreHow to Block IP in AWS VPC - by IP or CIDR Range | Devops Junction
Let's suppose your AWS infrastructure is under DDOS attack and your Load balancers and Applications are flooded with requests. The Immediate action you can take is to block the IP you have identified. If you have monitoring tools and Log management tools like Datadog, EFK, Splunk etc. they can be[...]
Read moreList Elastic Cache Connections using redis-cli & VPC flow logs | AWS
Elastic Cache Redis is one of the most used AWS managed services so no implementation and backup and maintenance hassles but at times you might need to some monitoring or auditing. Let's suppose you want to list all the connections to the REDIS cache to find out which applications are[...]
Read more