Chef Configuration Management Interview Questions and Answers Part – 4
1. What is Chef?Answer: It is a powerful automation platform that provides a way to transforms infrastructure into code. A chef is a tool for which you write scripts that are…
Read more »
Chef Configuration Management Interview Questions and Answers Part – 3
What is a resource? Read-only data identified by a type and a name. A description of some piece of a system and its desired state. – ANS An ordered series…
Read more »
Chef Terminology and Definition Guide
Chef Server: a central server that stores information and manages provisioning of the nodes Chef Node: an individual server that is managed by a Chef Server Chef Workstation: a controller…
Read more »
Chef Infra Server and Administrator Guide and Reference
Chef Infra Server Install and Configuration Chef Infra Workstation Install and Configuration using Knife Chef Node Install and Configuration using Chef Client in Windows How to run chef-client in why-run…
Read more »
Chef Tutorials: Understanding a Chef Cookbook Anatomy with Example
Following Reference Has been taken out from this url Attributes Resources Definition Files Libraries Providers Recipes Templates Cookbook Doc Files Cookbook Metadata File
Read more »
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 Chef Lab and…
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 add a dependency…
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 name of the…
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 executing Che recipe…
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 server in CentOs…
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. Step 2 –…
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 be used for…
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 a variable that…
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 AWS provider is…
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 TF_VAR_region variable can…
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 configured to use…
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 »