Day 5 Assignment-1

What is Chef

Chef is an automation tool that provides a way to define infrastructure as code. Infrastructure as code simply means that managing infrastructure by writing code rather than using manual processes. It can also be termed as programmable infrastructure. Chef uses a pure-Ruby, domain-specific language.

10 Advantages of Chef

  • Accelerating Software Delivery.
  • Increasing Service Resiliency.
  • Improving Risk Management.
  • Accelerating Cloud Adoption.
  • Manage Cloud as well as Data Center.
  • A streamlined IT operations and workflow.
  • Helps to manage both data and cloud environment.
  • Flexible.
  • Deliver all infrastructure continuously.
  • Easy to use and understand.
  • Stable.

How to install Chef Workstation

  1. Install Chef by using command wget https://packages.chef.io/stable/el/7/chefdk-0.11.2-1.el7.x86_64.rpm
  2. Install Chef DK by using command rpm -ivh chefdk-0.11.2-1.el7.x86_64.rpm

Example

//content.txt

This is my first app.

//index.html

<h1> Welcome to my page <h1>

exeucte this file using chef command

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x