How to read Secret from Jenkins Secret

How to read Secret from Jenkins Secret

Introduction – In Jenkins “Jenkins Secret” is used to store user credentials and similar secrets, like API keys, access tokens, or just usernames and passwords used in Jenkins pipeline or jobs. Jenkins uses AES to encrypt and protect secrets, credentials, and their respective encryption keys. These encryption keys are stored in $JENKINS_HOME/secrets/ along with the …

Read More Read More

Packer – How packer has simplified Cloud provisioning

Packer – How packer has simplified Cloud provisioning

What is Packer  – Packer (HashiCorp) is an open source tool for creating identical machine images for multiple platforms from a single source configuration. Packer is lightweight, creating machine images for multiple platforms in parallel. Packer does not replace configuration management like Chef or Puppet. In fact, when building images, Packer can use tools like …

Read More Read More

IaC ~ Terraform and Pulumi

IaC ~ Terraform and Pulumi

Terraform and Pulumi Before reading this blog I would recommend to read this blog – https://www.indiangnu.org/2017/top-5-infrastructure-as-code-iac-software/ Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions. Key feature of Terraform and Pulumi are.. IaC (Infrastructure as Code) for …

Read More Read More

Azure VM Inventory report

Azure VM Inventory report

Hi, This script will help you to pull Azure VM details. You can use this script for various purpose. This script makes use of AzureRM module, please install below prerequisite modules :- Install-Module -Name AzureRM.ComputeInstall-Module -Name AzureRM.Network

Template and Powered OFF VM’s Report from vCenter server

Template and Powered OFF VM’s Report from vCenter server

This powershell script will help you to pull report of powered off VM’s and the old templates. You can run this script from your desktop directly or from your vCenter server. You need to provide vCenter server list as input. Script will ask for credentials during runtime and output will be stored in csv file.

PowerShell and .Net version report on remote computers

PowerShell and .Net version report on remote computers

Hi Friends, Here is powershell script to pull out report of PowerShell and .Net version on remote computer. $computers = Get-Content -Path “C:\serverlist.txt” ForEach($computer in $computers){ If(!(Test-Connection -ComputerName $computer -Count 1 -Quiet)) { Write-Host -ForegroundColor Red “$computer is offline. Proceeding with next computer” continue } else { Invoke-Command -ComputerName $computer -ScriptBlock { $Lookup = @{ …

Read More Read More

Openstack and networking Options

Openstack and networking Options

Introduction – Before we start talking about Openstack and Networking options lets compare few Cloud and there terms..   Openstack AWS Azure Cloud virtual networking Project VPC(Virtual Private Cloud) Azure VNet (Virtual Network) Identity Mgmt Keystone AWS Key Management Service Azure KeyVault Block Storage (Virtual Disk) Glance Amazon Elastic Block Storage (EBS) Azure Page Blobs …

Read More Read More

LXC – Linux Container

LXC – Linux Container

Introduction- What are the different Container technology? Container technology has started after 2013. There is a high potential of getting confused about available container types like Docker , LXC/LXD and CoreOS rocket. What’s LXC? LXC (Linux Containers) is an operating-system-level virtualization method for running multiple isolated Linux systems (containers) on a control host using a …

Read More Read More

How to login to Windows and Run command from Linux

How to login to Windows and Run command from Linux

Introduction – In many cloud application you need to login to Windows from Linux server and run Windows native command or Powershell command to perform certain task. There are two options to do this. 1) Winexe (outdated)- NOTE – You can use it if it works for you! Winexe remotely executes commands on Windows NT/2000/XP/2003 …

Read More Read More

Top 5 Infrastructure as Code (IaC) software

Top 5 Infrastructure as Code (IaC) software

Introduction – World is moving toward hybrid/multi-Cloud solutions and it is important for every Enterprise/Organizations to use different Cloud providers effectively!. Multi-Cloud strategy will help companies to save cost, make infrastructure highly available and businness continuity plan (disaster recovery) etc. Infrastructure as Code (IaC) is a type of IT infrastructure that operations teams can automatically …

Read More Read More