Explained Chef AKA Chef Infra Architecture

How Chef node and Chef Server Works? Chef Internal – How Chef maintain the state of each resources internally?

Read More

Chef Lab and Excercise – Test Your Chef Skills

Chef Lab and Excercise – Recipe – Part 1 Chef Lab and Excercise – Recipe – Part 2 Chef Lab and Excercise – Cookbooks – Part 3…

Read More

How to share code between Chef recipes using module?

The simplest thing would be is moving this do stuff to library. my_cookbook/libraries/myhelper.rb: Then you can use this module in recipes like that: Just make sure you…

Read More

How to call another chef recipe within same or other Cookbook?

How to call another chef recipe within same or other Cookbook? How to call another chef recipe within same Cookbook? You can use include_recipe with a file…

Read More

Chef Errors and Solutions Database

Chef Error: Could not find cookbook cookbooks_test in your cookbook path, sk Chef Error: Network Error: getaddrinfo: nodename nor servname provided, or Chef Error: Getting Error while…

Read More

Chef Lab and Excercise – roles – Part 4

Create a role and assign any two cookbooks to role and setup a 2 nodes assigned to role and conerse the role.

Read More

Chef Lab and Excercise – Cookbooks – Part 3

Write a cookbook using install version of latest tomcat and deploy a Jenkins.war file into tomcat web directory. Write a cookbook using you can install apache http…

Read More

EC2 – EBS Volume Demo:

In this tutorial we are going to Explore and setup extra volume to EC2 instance Step 1 – Login to AWS console, launch EC2 launch wizard page….

Read More

Terraform Output Variable Tutorials with Example

Terraform will store hundreds or even thousands of attribute values for all the defined resources in our infrastructure in state file. An outputed attributes can not only…

Read More

Terraform Tutorials: Variables – Data Type – Boolean

The last of the available variable types is boolean. They give the option to employ simple true or false values. For example, you might wish to have…

Read More

Terraform Tutorials: Variables – Data Type – Map

In this example, the instance_tags variable is defined with a type of map(string), and it is given a default value of { Name = “my-instance” }. The…

Read More

Terraform variable using TF_VAR environment variables example

How to set Terraform Variables in Windows? Terraform will read environment variables in the form of TF_VAR_name to find the value for a variable. For example, the…

Read More

Terraform Tutorials: Variables – Data Type – String

In this example, the instance_name variable is defined with a type of string, and it is given a default value of “my-instance”. The AWS provider is then…

Read More

Example Terraform Code for AWS provider, resources aws_key_pair

This command would generate a public and private key $ ssh-keygen -f terraform_ec2_key This resources would import aws key pair

Read More

Terraform state explained!!!

By – christophchamp Terraform keeps the remote state of the infrastructure It stores it in a file called terraform.tfstate There is also a backup of the previous state in terraform.tfstate.backup When you execute terraform…

Read More

How To Create a PDF using PHP

Step 1. Create a file index.php file. Copy this code. then, create a makepdf.php file. Step 2. Go to this link: https://github.com/mpdf/mpdf. Which includes mPDF is a…

Read More

What is SEO?

SEO means (search engine optimization) is a process whereby we optimize our page and our website at the top of Google page. Google is the most popular…

Read More

Introduction to PHP Data Object PDO in PHP

There are three main API options when considering connecting to a MySQL database server. PHP’s MySQL Extension. PHP’s mysqli Extension. PHP Data Object (PDO). PHP Data Object…

Read More

Update the taints on one or more nodes in Kubernetes

What is meaning of taint? a trace of a bad or undesirable substance or quality. What is tainted? spoiled; damaged in quality, taste, or value: Follwing are…

Read More

How to create an XML sitemap in website

Now that if you’ve got your Google Webmaster set up now going to create a sitemap right away. The easiest way to do that is to Search…

Read More

Google Terminology in SEO

Now let’s go for Google terminology. So there is such a thing that’s: Googlebot: Software crawling the web: It’s not a bot it’s basically just software and…

Read More