Thursday, July 9, 2020
What Is Chef
What Is Chef What Is Chef? A Tool Used For Configuration Management Back Home Categories Online Courses Mock Interviews Webinars NEW Community Write for Us Categories Artificial Intelligence AI vs Machine Learning vs Deep LearningMachine Learning AlgorithmsArtificial Intelligence TutorialWhat is Deep LearningDeep Learning TutorialInstall TensorFlowDeep Learning with PythonBackpropagationTensorFlow TutorialConvolutional Neural Network TutorialVIEW ALL BI and Visualization What is TableauTableau TutorialTableau Interview QuestionsWhat is InformaticaInformatica Interview QuestionsPower BI TutorialPower BI Interview QuestionsOLTP vs OLAPQlikView TutorialAdvanced Excel Formulas TutorialVIEW ALL Big Data What is HadoopHadoop ArchitectureHadoop TutorialHadoop Interview QuestionsHadoop EcosystemData Science vs Big Data vs Data AnalyticsWhat is Big DataMapReduce TutorialPig TutorialSpark TutorialSpark Interview QuestionsBig Data TutorialHive TutorialVIEW ALL Blockchain Blockchain TutorialWhat is BlockchainHyperledger FabricWhat Is EthereumEthereum TutorialB lockchain ApplicationsSolidity TutorialBlockchain ProgrammingHow Blockchain WorksVIEW ALL Cloud Computing What is AWSAWS TutorialAWS CertificationAzure Interview QuestionsAzure TutorialWhat Is Cloud ComputingWhat Is SalesforceIoT TutorialSalesforce TutorialSalesforce Interview QuestionsVIEW ALL Cyber Security Cloud SecurityWhat is CryptographyNmap TutorialSQL Injection AttacksHow To Install Kali LinuxHow to become an Ethical Hacker?Footprinting in Ethical HackingNetwork Scanning for Ethical HackingARP SpoofingApplication SecurityVIEW ALL Data Science Python Pandas TutorialWhat is Machine LearningMachine Learning TutorialMachine Learning ProjectsMachine Learning Interview QuestionsWhat Is Data ScienceSAS TutorialR TutorialData Science ProjectsHow to become a data scientistData Science Interview QuestionsData Scientist SalaryVIEW ALL Data Warehousing and ETL What is Data WarehouseDimension Table in Data WarehousingData Warehousing Interview QuestionsData warehouse architectureTalend T utorialTalend ETL ToolTalend Interview QuestionsFact Table and its TypesInformatica TransformationsInformatica TutorialVIEW ALL Databases What is MySQLMySQL Data TypesSQL JoinsSQL Data TypesWhat is MongoDBMongoDB Interview QuestionsMySQL TutorialSQL Interview QuestionsSQL CommandsMySQL Interview QuestionsVIEW ALL DevOps What is DevOpsDevOps vs AgileDevOps ToolsDevOps TutorialHow To Become A DevOps EngineerDevOps Interview QuestionsWhat Is DockerDocker TutorialDocker Interview QuestionsWhat Is ChefWhat Is KubernetesKubernetes TutorialVIEW ALL Front End Web Development What is JavaScript â" All You Need To Know About JavaScriptJavaScript TutorialJavaScript Interview QuestionsJavaScript FrameworksAngular TutorialAngular Interview QuestionsWhat is REST API?React TutorialReact vs AngularjQuery TutorialNode TutorialReact Interview QuestionsVIEW ALL Mobile Development Android TutorialAndroid Interview QuestionsAndroid ArchitectureAndroid SQLite DatabaseProgramming A Tool U... DevOps (84 Blogs) Become a Certified Professional AWS Global Infrastructure Introduction To DevOps What is DevOps? A Beginner's Guide To Understanding DevOps And Its EvolutionWhat Are Important Pre-Requisites For DevOps Professionals?DevOps in various domains â" How DevOps solves the problem?DevOps Real Time Scenarios â" Know What Happens Real TimeWaterfall vs Agile: Which Is Better For You And Why?DevOps vs Agile! Everything You Need To KnowMystery of DevOpsInfrastructure as Code â" What is it and Why is it it important?Linux commands in DevOps: Must Know For Every DevOps ProfessionalDevOps Tutorial : Introduction To DevOpsTop 10 DevOps Tools You Must Know In 2020Understanding DevOps Tools Development, Testing Deployment Technologies Involved In DevOps Git A Tool Used For Configuration Management Last updated on May 22,2019 53K Views Saurabh Saurabh is a technology enthusiast working as a Research Analyst at Edureka.... Saurabh is a technology enthusiast working as a Research Analyst at Edureka. His areas of interest are - DevOps, Artificial Intelligence, Big Data and...1 Comments Bookmark 1 / 3 Blog from Chef Become a Certified Professional Chef is a tool used for Configuration Management and is closely competing with Puppet. In this blog, I will explain What is Chef, Configuration Management and how Chef achieves Configuration Managementwith a use-case.What Is Chef?Chef is an automation tool that provides a way to define infrastructure as code. Infrastructure as code (IAC) simply means that managing infrastructure by writing code (Automating infrastructure) rather than using manual processes. It can also be termed as programmable infrastructure. Chef uses a pure-Ruby, domain-specific language (DSL) for writing system configurations. Below are the types of automation done by Chef, irrespective of the size of infrastructure:Infrastructure configurationApplication deploymentConfigurations are managed across your networkLike Puppet which has a Master-Sl ave architecture even Chef has a Client-Server architecture. But Chef has an extra component called Workstation. I will talk about workstation in my next blog. Refer the diagram below:In Chef, Nodes are dynamically updated with the configurations in the Server. This is called Pull Configuration which means that we dont need to execute even a single command on the Chef server to push the configuration on the nodes, nodes will automatically update themselves with the configurations present in the Server. My next blog on Chef Tutorial will explain the Chef architecture along with all the Chef components in detail.Now, let us look at reasons behind the popularity of Chef.What Is Chef Chef Key MetricsChef supports multiple platforms like AIX, RHEL/CentOS, FreeBSD, OS X, Solaris, Microsoft Windows and Ubuntu. Additional client platforms include Arch Linux, Debian and Fedora.Chef can be integrated with cloud-based platforms such as Internap, Amazon EC2, Google Cloud Platform, OpenStack, S oftLayer, Microsoft Azure and Rackspace to automatically provision and configure new machines.Chef has an active, smart and fast growing community support.Because of Chefs maturity and flexibility, it is being used by giants like Mozilla, Expedia, Facebook, HP Public Cloud, Prezi, Xero, Ancestry.com, Rackspace, Get Satisfaction, IGN, Marshall University, Socrata, University of Minnesota, Wharton School of the University of Pennsylvania, Bonobos, Splunk, Citi, DueDil, Disney, and Cheezburger.According to Phil Dibowitz, Production Engineer, FacebookThere are three dimensions of scale we generally look at for infrastructure the number of servers, the volume of different configurations across those systems, and the number of people required to maintain those configurations. Chef provided an automation solution flexible enough to bend to our scale dynamics without requiring us to change our workflow.Without a doubt Chef is one of the most famous Configuration Management tools and is clo sely competing with Puppet. But, before diving deep into What is Chef, its only fair that I first explain what is Configuration Management and why it is important.Configuration ManagementDont worry, there wont be any heavy definition of Configuration Management in this blog :) Let us understand Configuration Management this way suppose you have to deploy a software on top of hundreds of systems. This software can be an operating system or a code or it can be an updateof an existing software. You can do this task manually, but what happens if you have to finish this task overnight because tomorrow might be aBig Billion Day sale in the company or some MegaSale etc. in which heavy traffic is expected. Even if you were able to do this manually there is a high possibility of multiple errors on your big day. What if the software you updated on hundreds of systems is not working, then how will you revert back to the previous stable version, willyou be able to do this task manually? AF-cou rse not!To solve this problem, Configuration Management was introduced. By using Configuration Management tools like Chef, Puppet, etc. you can automate this task. All you have to do is to specify the configurations in one centralized server and accordingly all the nodes will be configured. It allows access to an accurate historical record of system state for project management and audit purposes. So basically, we need to specify the configurations once on the central server and replicatethat on thousands of nodes. Configuration Management helps in performing the below tasks in a very structured and easy way:Figuring out which components to change when requirements change.Redoing an implementation because the requirements have changed since the last implementation.Reverting to a previous version of the component if you have replaced with a new but flawed version.Replacing the wrong component because you couldnt accurately determine which component was supposed to be replaced.Refer m y blog on Puppet tolearn how NYSE saved millions of dollars with the help of Configuration ManagementThere are broadly two ways to manage your configurations namely Push and Pull configurations.Pull Configuration: In this type of Configuration Management, the nodes poll a centralized server periodically for updates. These nodes are dynamically configured so basically they are pulling configurations from the centralized server. Pull configuration is used by tools like Chef, Puppet etc. Push Configuration: In this type of Configuration Management, the centralized Server pushes the configurations to the nodes. Unlike Pull Configuration, there are certain commands that have to be executed in the centralized server in order to configure the nodes. Push Configuration is used by tools like Ansible.Learn various components of Configuration Managementin my Puppet Tutorial BlogNow is the correct time I take you ahead in this quest of understanding What is Chef by explaining how Chef achieves Configuration Management.What Is Chef Configuration Management With ChefWe have understoodwhat is Chef, now I will explain you how Chef achieves Configuration Management with a use-case. Gannett is a publicly traded American media holding company. It is the largest U.S. newspaper publisher as measured by total daily circulation. Gannetts traditional deployment workflow was characterized by multiple handoffs and manual tests. Let us see what were the problems they faced with this process:Maintaining accurate, repeatable builds was difficult.There were many build failures and tests were often running in the wrong environments.Deployment and provisioning times could range from a few days to several weeks.Operations team didnt have access to the cloud or development environments. Every group used its own tool-set, and there was no accountability to finance or security. No one knew how much an application actually cost. Security had no way to audit the software stacks.Gannett was ready for the change. Developers wanted to deploy their applications quickly. Operations wanted a stable infrastructure where they could build and deploy in a repeatable way. Finance wanted to know the true cost of an application. Security wanted to view and audit all stacks and to be able to track changes.Gannett saw that cloud as a service offered many advantages. Developers had access to standardized resources. It was easier to handle peaky traffic because of clouds compute-on-demand model, and handoffs were minimized. Chef allows you to dynamically provision and de-provision your infrastructure on demand to keep up with peaks in usage and traffic. It enables new services and features to be deployed and updated more frequently, with little risk of downtime. With Chef, you can take advantage of all the flexibility and cost savings that cloud offers.Let us see what were the functions performed by Chef at Gannett:Gannett started building VPC (Virtual Private Cloud) for development environ ment that would mimic the production. None of the tools that they were already using were appropriate. But they found that Chef worked well with the cloud and both Linux and Windows environment. They used Chef to build a development environment that perfectly matched production environment.For an application to move into the VPC, it had to be provisioned and deployed with Chef.Security would be involved early on and would manage the mandatory controls for access to Chef and for maintaining system security standards.Now is the time to understand what were the results of this process:Gannetts deployment became quicker and more reliable. Application provisioning and deployment, which once took weeks, after using Chef it took minutes.All new applications were deployed on the cloud with Chef. These applications were deployed to all environments in the same way that they were deployed to production. Also, testing occurred in each environment, so that the deployments were reliable.All infr astructure was treated as code, which greatly increases visibility into any changes that occurred. Development, Operations, Security and Finance all were benefited from this.After What is Chefmy next blog i.e. Chef Tutorialfocuses onthe architecture of Chefalong with its components. I have also explained how to deploy Apache2 using Chef.If you found this blog on What is Chef relevant,check out theDevOps training by Edureka,a trusted online learning companywith a network of more than250,000satisfied learnersspread acrossthe globe. The Edureka DevOps Certification Training coursehelps learners gain expertise in various DevOps processes and tools such asPuppet, Jenkins, Nagios and GIT for automating multiple steps in SDLC.Recommended videos for you DevOps Tutorial For Beginners Watch Now What is DevOps A Beginners Guide To DevOps Watch Now DevOps is Going to Replace SDLC! Learn Why Watch Now DevOps-Redefining your IT Strategy Watch Now Top DevOps Interview Questions And Answers Watch Now Puppet Tutorial DevOps Tool For Configuration Management Watch Now Ansible Tutorial For Beginners Ansible Playbook Watch Now Devops : Automate Your Infrastructure With Puppet Watch Now 5 Best Practices In DevOps Culture Watch Now What is Docker DevOps Tool For Containerization Watch Now Continuous Integration With Jenkins Watch Now What is Git A Complete Git Tutorial For Beginners Watch Now What is Jenkins? Continuous Integration With Jenkins Watch NowRecommended blogs for you Understanding DevOps Tools Development, Testing Deployment Technologies Involved In DevOps Read Article DevOps Real Time Scenarios Know What Happens Real Time Read Article AWS CodeStar Tutorial: First Glance At AWS CodeStar Read Article Top 6 DevOps Skills That Organizations Are Looking For Read Article Docker Networking Explore How Containers Communicate With Each Other Read Article How To Set Kubernetes Ingress Controller on AWS Read Article Git Submodules vs. Googleâs Repo Tool Read Article Li nux commands in DevOps: Must Know For Every DevOps Professional Read Article Kubernetes Tutorial A Comprehensive Guide For Kubernetes Read Article CI CD Pipeline Learn how to Setup a CI CD Pipeline from Scratch Read Article DevOps Tutorial : Introduction To DevOps Read Article DevOps Engineer Resume Example Building An Impressive DevOps Resume Read Article Docker Compose For Containerizing A MEAN Stack Application Read Article Jenkins Master and Slave Architecture A Complete Guide Read Article DevOps Roles: Which Of Them Is Your Dream? Read Article AWS CodeDeploy: How To Automate Code Deployment? Read Article Azure DevOps Tutorial : Why Should You Use DevOps On Azure? Read Article DevOps is Neither a Method nor a Tool, its a Culture Read Article Exploring Ansible Tower With A Hands-On Read Article What is Docker Container? Containerize Your Application Using Docker Read Article Comments 1 Comment Trending Courses in DevOps DevOps Certification Training72k Enrolled LearnersWe ekend/WeekdayLive Class Reviews 5 (28700)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.