{"id":400,"date":"2014-11-14T05:10:00","date_gmt":"2014-11-14T05:10:00","guid":{"rendered":""},"modified":"2019-09-19T17:26:48","modified_gmt":"2019-09-19T11:56:48","slug":"chef-journey","status":"publish","type":"post","link":"https:\/\/opstree.com\/blog\/2014\/11\/14\/chef-journey\/","title":{"rendered":"Chef Journey"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align:left;\">I&#8217;m starting a blog series on chef where I would be taking you to a journey of managing my current infrastructure using Chef. To start with these are the high level tasks lists that I&#8217;ve in mind:<\/p>\n<ul style=\"text-align:left;\">\n<li>User Management : User&#8217;s creation or deletion on an environment(Dev\/QA\/Staging\/Production) should be managed by chef, along with kind of access on the environment i.e read-only access, root access, or adding a user to some groups.<\/li>\n<li>VPN Setup : Currently we are using openvpnas for managing secured access to our environment, it is manual right now so the vpn set-up will also be done by chef.<\/li>\n<li>Apache Setup : We are using apache as web server that sits in front of our app server and also provides SSL.<\/li>\n<li>Jar App : We have a SOA based set-up in which we have multiple micro java services, so we would be using chef to manage those jar app i.e deploying those jar app&#8217;s, starting\/stopping those jar app&#8217;s.<\/li>\n<li>Tomcat : Another major component type in our application are web apps that are hosted on tomcat server, the tomcat server is not managed as a service instead we create tomcat as an app user along with tomcat management scripts.<\/li>\n<li>Mongo : We use replicated mongo as No SQL database in our application.<\/li>\n<li>Logstash : For managing logs we are using log stash in a clustered set-up where all the log agents publish the logs to a central server and then served by Kibana, so this complete setup should also be managed by chef<\/li>\n<li>ActiveMQ : We are using ActiveMQ for our queuing purpose<\/li>\n<\/ul>\n<div style=\"text-align:left;\">\n<p>This list is not complete surely, I&#8217;ll be adding many more tasks in this list as I proceed in setting up my environment using chef as this is the first time I&#8217;ll be doing a set-up using Chef, but this list will be a good starting point.<\/p>\n<p>Before jumping into creating the Chef cookbooks, runlists or data bags I&#8217;ve to setup the base infrastructure of Chef that is Chef Server to which all chef agents talk to, a chef workstation which would be updating the server with the configurations and a git repo to keep track of all my configuration as shown in the image given below.<\/p>\n<\/div>\n<div style=\"text-align:left;\"><\/div>\n<div class=\"separator\" style=\"clear:both;text-align:center;\"><a href=\"https:\/\/opstree.com\/blog\/\/wp-content\/uploads\/2014\/11\/7dad5-chefsetup.png\" style=\"margin-left:1em;margin-right:1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"151\" src=\"https:\/\/opstree.com\/blog\/\/wp-content\/uploads\/2014\/11\/7dad5-chefsetup.png?w=300\" width=\"320\"><\/a><\/div>\n<div style=\"text-align:left;\">\n<p>In the next blog I&#8217;ll talk about how I&#8217;ll set-up a chef server. Let me know if you have any inputs for me or suggestion that how I should proceed with the chef set-up.<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m starting a blog series on chef where I would be taking you to a journey of managing my current infrastructure using Chef. To start with these are the high level tasks lists that I&#8217;ve in mind: User Management : User&#8217;s creation or deletion on an environment(Dev\/QA\/Staging\/Production) should be managed by chef, along with kind &hellip; <a href=\"https:\/\/opstree.com\/blog\/2014\/11\/14\/chef-journey\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Chef Journey&#8221;<\/span><\/a><\/p>\n","protected":false},"author":72934568,"featured_media":29900,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[225871,28070474],"tags":[768739297,185240932,768739308,676319253],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/opstree.com\/blog\/wp-content\/uploads\/2025\/11\/DevSecOps-1.jpg","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfDBOm-6s","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/posts\/400"}],"collection":[{"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/users\/72934568"}],"replies":[{"embeddable":true,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/comments?post=400"}],"version-history":[{"count":2,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/posts\/400\/revisions"}],"predecessor-version":[{"id":739,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/posts\/400\/revisions\/739"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/media\/29900"}],"wp:attachment":[{"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/media?parent=400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/categories?post=400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/tags?post=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}