Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!
We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!
Learn from Guru Rajesh Kumar and double your salary in just one year.
Chef
Chef is a configuration management technology used to automate the infrastructure provisioning. It is developed on the basis of Ruby DSL language. It is used to streamline the task of configuration and managing the company’s server. It has the capability to get integrated with any of the cloud technology . The chef has working with cookbooks and recipes
10 Advantage of Chef
- Accelerating Software Delivery.
- Increasing Service Resiliency.
- Improving Risk Management.
- Accelerating Cloud Adoption.
- Managing Both Data Center and Cloud Environments.
- Delivering All Your Infrastructure – Any App, Everywhere, Continuously.
- Final Thoughts.
- Consistency and Scalability
- Faster Deployement and Reduced Risks
- Integrates with Any Cloud Technology
How to install Chef Workstation
- Go the Chef workstation page
- Click on the package for window/linux or any other version we want.
- After clicking on download, we will get a link.
- wget https://packages.chef.io/files/stable/chef-workstation/22.5.923/el/7/chef-workstation-22.5.923-1.el7.x86_64.rpm
- Copy this to the putty, server and download the packages of the chef.
- Workstation will be installed
One Example Program of Recipe
vi first.rb
file ‘/opt/first.txt’
file ‘/opt/first.txt’ do
action :delete
end
file ‘/opt/content.txt’ do
content “This is my first program of chef”
mode 755
owner “root”
end
chef-apply first.rb