
Using SOPS with AWS KMS - Encrypt and Decrypt files | Devops Junction
Secret Management is an essential part of infrastructure and DevOps. how do you store your Secrets and Environment variables define how safe your infrastructure is As a good engineering practice, most companies guide their developers to not hard code the secrets and...

AWS S3 LS Examples - List and Browse S3 buckets | Devops Junction
Amazon Simple Storage Service (AWS S3) is a highly scalable and cost-effective object storage service provided by Amazon Web Services (AWS). It allows users to store and retrieve vast amounts of data, making it a popular choice for developers, businesses, and...

EC2 Instance Connect Endpoint - SSH the easy way | Devops Junction
How do you SSH to an EC2 instance which is on a Private Subnet? You would say either of the following options Create a Bastion Host in Public Subnet then SSH to the Bastion Host and then SSH to the EC2 instance in Private Subnet Setting up EC2 instance Connect and...

Backup RDS database snapshots to S3 | Devops Junction
Relation Database Service (RDS) is a managed database option provided by AWS. It is a great option for those who want to use a relational database without having to manage the underlying infrastructure. RDS provides a number of database engines to choose from...

AWS s3api CLI command - Introduction and Examples | Devops Junction
AWS S3 (Simple Storage Service) is a highly scalable and durable object storage service offered by Amazon Web Services (AWS). AWS S3 is one of the most used service offerings of AWS and it is built to provide high-performance and zero-latency object(file) storage with...

How Kubernetes Replicasets help as a Version Control | Devops Junction
Do you know Kubernetes replica sets can be used as version control or revision control system? If you have used the kubectl rollout command to check the revisions of the deployment. or to undo the last deployment, you might already be aware that the deployments do...

Kubernetes Service - Basics with Examples | Devops Junction
In the world of Kubernetes, Services are the backbone of networking. there are multiple types of services in Kubernetes Every Service is different and used for different use cases, In this article I am trying to talk about the Fine-grained details of each service. If...

Recover Deleted Files from Versioned S3 buckets. - Tool | Devops Junction
In this article, we are going to see how to recover deleted files from an S3 bucket. But this works only for buckets which having Versioning enabled When you do not have versioning enabled on an S3 bucket and you delete an object, it would be a permanent irreversible...

Kubernetes CronJob - How to handle concurrency and duplicates | Devops Junction
Kubernetes cronjobs are useful to schedule a task to run at a specific time just like the crontab in Linux Just like any scheduling, Kubernetes cronjobs comes with a set of advanced features which can be configured to an optimal level. Before you are using Kubernetes...

Filter and Delete in In-Flight Messages - SQS - AWS | Devops Junction
In this article, we are going to learn how to filter and delete specific messages in the SQS queue before they are read by the consumer Sometimes we accidentally push the wrong messages to SQS or for some reason we want to stop the messages in the middle before the...

Kubernetes Headless Service - Introduction and examples | Devops Junction
Kubernetes headless service is a Kubernetes service that does not assign an IP address to itself. Instead, it returns the IP addresses of the pods associated with it directly to the DNS system, allowing clients to connect to individual pods directly. This means that...

GIT Pre commit hook and Secret validation - Tools | Devops Junction
A recent Security incident at Github where the engineering team accidentally committed their private security key into their public repository alarmed other engineers and organizations Tech Giant and a pioneer and catalyst of Git, themselves have made a blunder. that...

Kubectl PortForward Examples - How to PortForward in K8s | Devops Junction
Kubectl is a command-line tool used for managing Kubernetes clusters. It provides a way to interact with the Kubernetes API, deploy applications, and monitor resources running on a Kubernetes cluster. One of the valuable features of kubectl is the port forwarding...

K8s Probes - Liveness, Readiness, Startup Examples | Devops Junction
Kubernetes probes are a mechanism for determining the health of a container running within a pod. Kubernetes supports three types of probes: Liveness, Readiness, Startup. Each of these probes serves a different purpose and helps Kubernetes manage the container...

Kubectl Scale down Pods and Save Cost - Kubernetes | Devops Junction
As the industry is going heavy on Kubernetes, as more and more monoliths are converted to microservices and onboarded to Kubernetes, as the number of namespace and nodes increase in your Kubernetes cluster, the cost of running Kubernetes would also increase...
Articles for DevOps Beginner
Clone EC2 instance using Terraform - How to | Devops Junction
This is a familiar requirement for everyone I believe. How to clone an EC2 instance and create a new instance with the same configuration. While we...
Pulumi AWS Example - Creating VPC, Subnets, EC2, Bastion host
In this article, we are going to see how to set up compute infrastructure consisting of virtual private cloud, subnets, internet gateway, NAT...
Terraform For Each Examples - How to use for_each | Devops Junction
In this post, we’ll try to cover Terraform looping constructs. We’ll cover the looping constructs that specifically work at the resource level. They...
Terraform Create Multiple EC2 with different Configs - for_each and count together
Those who have been using Terraform might already know that you can create multiple numbers of the same resources with the help of count or for_each...
Terraform AWS EC2 user_data example - aws_instance| Devops Junction
In this article we are going to see how to create AWS EC2 instance with user_data. While launching AWS Ec2 instances we might want to add some...
How to Deploy Tomcat on Kubernetes Step by Step
Overview In this post, we are going to see how to deploy tomcat on Kubernetes. How to Deploy Tomcat based web application into Kubernetes. We are...
Terraform AWS Example - Create EC2 instance with Terraform
Terraform, An outstanding and innovative product from hashicorp and it is a leader in Infrastructure as Code tools Segment. Before I go any...
Ansible EC2 Example - Create EC2 instance with Ansible
Infrastructure as Code is getting all attention it deserves and everyone is trying to find their way to the `Completely automated Infrastructure...
Docker network between containers - Docker Networking Example
In this post we are going to see How to establish docker network between containers, How to Link Docker Containers, How to Access one Container from...
Ansible Playbook Examples - Sample Ansible Playbooks | Devops Junction
In this post, we are going to see examples of Ansible playbook and various different modules and playbook examples with various modules and multiple...
Packer AWS Example with Terraform
In this article, we are going to see a quick packer aws example setup and provide the steps to create an AWS Image (AMI) using Packer and we are...
Ansible AD HOC Command Examples - Ansible Cheat Sheet | Devops Junction
Ansible Vagrant Example - Testing Ansible with Vagrant | Devops Junction
In this article, we are going to see how to use Vagrant to create a development of Virtual machines and start practising Ansible. This is A Beginner...