Jhooq
open-menu closeme
Home
Ansible
Kubernetes
Terraform
Google Cloud
YouTube
Tools
About
Contact
github twitter linkedin rss
  • Copy files to EC2 and S3 bucket using Terraform

    calendar Apr 28, 2023 · 6 min read  ·
    Last Modified : Apr 28, 2023
    Share on: twitter facebook linkedin copy
    Copy files to EC2 and S3 bucket using Terraform

    This blog post will guide you on how to use Terraform-Provisioners to copy/upload files to EC2 as well as the S3 bucket. Table of Content Pre-requisites Setup AWS credentials in the Terraform file Setup an EC2 instance, a security group, and SSH key pair resources. Use file provisioner to upload the file to EC2 Upload …


    Read More
  • Troubleshooting Error creating EC2 Subnet InvalidSubnet Range The CIDR is Invalid

    calendar Apr 27, 2023 · 5 min read  ·
    Last Modified : Apr 27, 2023
    Share on: twitter facebook linkedin copy
    Troubleshooting Error creating EC2 Subnet InvalidSubnet Range The CIDR is Invalid

    In this blog post we will take a look on how to fix the issue of Error: Creating EC2 Subnet: InvalidSubnet.Range: The CIDR '100.1.1.0/24' is Invalid Error: creating EC2 Subnet: InvalidSubnet.Range: The CIDR '100.1.1.0/24' is invalid Table of Content Introduction Understanding the Error InvalidSubnet.Range Error CIDR …


    Read More
  • Troubleshooting InvalidParameter Security group and subnet belong to different networks

    calendar Apr 27, 2023 · 3 min read  ·
    Last Modified : Apr 27, 2023
    Share on: twitter facebook linkedin copy
    Troubleshooting InvalidParameter Security group and subnet belong to different networks

    I got stuck with the error InvalidParameter: Security group sg-08e153383fca86934 and subnet subnet-00e3adcfceb3cf8ee belong to different networks when I was working on one of AWS project where I need to set-up following using Terraform - VPC Subnet Internet Gate, NAT Route Table EC2 Instance Security group Here is the …


    Read More
  • How to set-up Cron Jobs in Docker Containers?

    calendar Apr 26, 2023 · 9 min read  ·
    Last Modified : Apr 26, 2022
    Share on: twitter facebook linkedin copy
    How to set-up Cron Jobs in Docker Containers?

    Cron jobs are undoubtedly among the easiest and most often used methods for task scheduling. It is easy to see why every Linux user is familiar with cron jobs: they are highly helpful Simple to set up Need very little maintenance. We will go through using Cron Jobs in Docker containers in this tutorial. Table of …


    Read More
  • Docker Copy File from Host to Container - docker cp, Bind Mounts, Docker Compose and Dockerfile COPY (Complete Guide)

    calendar Apr 25, 2023 · 15 min read  ·
    Last Modified : Oct 10, 2026
    Share on: twitter facebook linkedin copy
    Docker Copy File from Host to Container - docker cp, Bind Mounts, Docker Compose and Dockerfile COPY (Complete Guide)

    When working with Docker containers, one of the most common tasks is to copy a file from the local host into a container - a config file you want to try, a certificate, a script, a database dump. And almost as often, the other way round - a log file or a generated report out of the container onto your laptop. In this …


    Read More
  • Docker Compose command with multiple commands and multiple lines - sh -c, the list form, $$ and depends_on (tested on Compose v2.38)

    calendar Apr 24, 2023 · 11 min read  ·
    Last Modified : Oct 14, 2026
    Share on: twitter facebook linkedin copy
    Docker Compose command with multiple commands and multiple lines - sh -c, the list form, $$ and depends_on (tested on Compose v2.38)

    TL;DR Wrap the commands in a shell: command: sh -c "echo one && echo two". Compose does not run a shell for you. Without sh -c, Compose silently drops everything after &&, ; or |. command: echo one && echo two printed only one, and docker compose config shows the parsed command as …


    Read More
  • Ansible git clone - clone public and private repositories with the git module (key_file, accept_hostkey, version, depth, force, update), tested on ansible-core 2.21

    calendar Apr 21, 2023 · 11 min read  ·
    Last Modified : Oct 17, 2026
    Share on: twitter facebook linkedin copy
    Ansible git clone - clone public and private repositories with the git module (key_file, accept_hostkey, version, depth, force, update), tested on ansible-core 2.21

    TL;DR Public repository: ansible.builtin.git with repo, dest and version. The first run reports changed=true and the commit it checked out; the second run reports changed=false because the module compares the commit before and after. Private repository over SSH: add key_file pointing at a deploy key on the target and …


    Read More
  • ansible --limit - Run a Playbook on One Host, a Group or a Pattern (Exclude with !, Intersect with &, Wildcards, Ranges, @retry File) with Real Output from ansible-core 2.21

    calendar Apr 17, 2023 · 19 min read  ·
    Last Modified : Oct 17, 2026
    Share on: twitter facebook linkedin copy
    ansible --limit - Run a Playbook on One Host, a Group or a Pattern (Exclude with !, Intersect with &, Wildcards, Ranges, @retry File) with Real Output from ansible-core 2.21

    TL;DR --limit (or -l) is an intersection: the play runs on the hosts matched by its hosts: line and by your pattern. It can shrink the host list, never grow it. The patterns: web1 (one host), db (a group), web1,db2 (a list), 'web*' (wildcard), 'all:!db' (exclude), 'prod:&web' (intersect), 'web[0:1]' (position in …


    Read More
  • Easy Fix for 'zsh command not found ansible' Error After Installing Ansible with Pip

    calendar Apr 16, 2023 · 4 min read  ·
    Last Modified : Apr 16, 2023
    Share on: twitter facebook linkedin copy
    Easy Fix for 'zsh command not found ansible' Error After Installing Ansible with Pip

    It's conceivable that the directory where pip installed Ansible is not in your system's PATH environment variable if you used pip to install Ansible and are getting the error message - 1zsh: command not found: ansible. There are a few options for fixing this issue depending on your local Ansible configuration. So …


    Read More
  • Demystifying Hosts, Inventory Roles, and Tasks

    calendar Apr 15, 2023 · 5 min read  ·
    Last Modified : Apr 15, 2023
    Share on: twitter facebook linkedin copy
    Demystifying Hosts, Inventory Roles, and Tasks

    Are you interested in finding out how to automate your IT infrastructure and manage your servers with Ansible? You've come to the proper location if so! We'll go in-depth on the in this blog article and demonstrate how to use the following - Inventory file - What are Hosts or Inventory Files? Tasks - How to define …


    Read More
    • ««
    • «
    • 8
    • 9
    • 10
    • 11
    • 12
    • »
    • »»

Categories

TERRAFORM 65 AWS 50 KUBERNETES 29 DOCKER 28 ANSIBLE 14 HELM CHART 12 GOOGLE CLOUD 8 DEVOPS 7 BLOGGING 6 SSL 6 GITHUB 5 SPRING BOOT 5 AZURE 4 QUARKUS 4
All Categories

AI1 ANSIBLE14 AWS50 AZURE4 BLOGGING6 DEVOPS7 DOCKER28 GITHUB5 GOOGLE CLOUD8 GRADLE1 HADOOP1 HELM CHART12 HIBERNATE1 JENKINS2 KUBERNETES29 KUBESPRAY3 LINUX COMMANDS1 NGINX2 PROMETHEUS-GRAFANA3 QUARKUS4 SPRING BOOT5 SSL6 TERRAFORM65 VAGRANT3
[A~Z][0~9]

Series

TERRAFORM 63 AWS 39 KUBERNETES 29 DOCKER 28 ANSIBLE 13 HELM CHART 12 GOOGLE CLOUD 8 AZURE 4 DEVOPS 4 JENKINS 2 AI 1 LINUX COMMANDS 1

Tags

KUBERNETES 21 HELM CHART 11 BLOGGING 4 QUARKUS 4 DOCKER 3 GITHUB 3 SSL 3 CAREER 2 KUBESPRAY 2 SPRING BOOT 2 ANSIBLE 1 GIT 1 HADOOP 1 INDEX 1
All Tags

ANSIBLE1 BLOGGING4 CAREER2 DOCKER3 GIT1 GITHUB3 HADOOP1 HELM CHART11 INDEX1 KUBERNETES21 KUBESPRAY2 NGINX1 QUARKUS4 SPRING BOOT2 SSL3 TERRAFORM1
[A~Z][0~9]

Recent Posts

  • Kubernetes IP Address Planning: 22 Problems the Free IP Calculator Solves on EKS, GKE, AKS and On-Premises (kubeadm, Mirantis MKE, RKE2, OpenShift, Tanzu, Talos), with the Numbers and a Screenshot for Each
  • git rebase --exec Explained - Run Your Tests on Every Commit Before You Push, with Real Output, the Failure Path, and the Three Things That Bit Me
  • helm template Explained - Render a Helm Chart Locally Without a Cluster (Helm 4): Values Files, --set, --show-only, --output-dir, and the Traps That Bite
  • Should You Do a Cloud Certification? The Four Reasons I Tell People Not to Collect Them, What the Exams Cost in 2026, and the One Case Where a Certificate Is Worth the Money
  • Three AWS Solutions Architect Associate Questions From My Shorts, Answered Properly - Migrating Web, Batch and Legacy Apps; Cutting EC2 Cost for a 2-Week Shutdown Without Losing Memory; Internet for Private Subnets (with the Prerequisites the 30-Second Answers Skip)
  • What to Learn Before (and Alongside) Cloud - the Six Non-Cloud Skills Every DevOps, SRE and Cloud Engineer Uses Daily: Code and Git, Scripting, CI/CD, Automation, Infrastructure as Code, Networking and Security
  • Google Cloud External HTTP Load Balancer Step by Step - Forwarding Rule, Proxy, URL Map, Backend Service, Health Check and Instance Group in the Console and in Terraform, and Why the First curl Returned 502 (GCP Part 9)
  • Google Cloud IAM Explained - Principals, Roles and Permissions, Owner vs Editor vs Viewer (Now Legacy) vs the New Admin, Writer and Reader Roles, and What an Editor Can Really Do (GCP Part 4)

Rahul Wagh

Jhooq
Its all about Open Source and DevOps, here I talk about Kubernetes, Docker, Java, Spring boot and practices.
Read More


Jhooq

Copyright 2019-  JHOOQ. All Rights Reserved

to-top
Privacy Policy