{"id":2962,"date":"2019-08-30T09:54:45","date_gmt":"2019-08-30T09:54:45","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=2962"},"modified":"2020-05-01T11:00:16","modified_gmt":"2020-05-01T11:00:16","slug":"opsworks","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/","title":{"rendered":"OpsWorks"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>It is a configuration management service <\/li><li>configure and operate applications in AWS by\nusing <ul><li>Chef\n<\/li><\/ul><ul><li>Puppet<\/li><\/ul><\/li><li>AWS Impelementation of CHEF configuration\nmanagement &amp; automation system; allows to provision infra, but abstracts\nsome details.<\/li><li>It is good choice amongst Cloudformation (has\noverhead of JSON and configurability) and Elastic Beanstalk (it has more power\nand customization)<\/li><li>There are 2 variants: AWS OpsWorks Stacks and\nAWS OpsWorks for Chef Automate.<\/li><li>OpsWorks Stacks Chef Automate can use Chef\ncookbooks <\/li><li>Puppet Enterprise configure Puppet Enterprise\nmaster server in AWS.<\/li><\/ul>\n\n\n\n<p><strong>OpsWorks Structure<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>OpsWorks Stack \u2013 group of resources as per need <\/li><li>OpsWorks Layer &#8211; set of shared functionailty\napplied to a group of components<\/li><li>OpsWorks Instance &#8211; actaul units of compute;\ninherits some from stack\/layer<\/li><li>OpsWorks Application \u2013 software application\ndeployed into instances<\/li><\/ul>\n\n\n\n<p><strong>OpsWorks Details<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>OpsWorks Agent \u2013 <ul><li>For\nCHEF<\/li><\/ul><ul><li>responsible\nfor machine configuration <\/li><\/ul><ul><li>also\nfor machine reconfiguration as per recipes <\/li><\/ul><\/li><li>OpsWorks Automation Engine &#8211; responsible for\ncreating, deleting, updating EC2 instances and other services; handle load\nbalancing, Auto<\/li><li>scaling, Auto healing, Lifecycle events<\/li><li>Recipes \u2013 enlists OpsWorks about end result to\nbe<\/li><li>Cookbooks has recipes and related data to\nsupport it<\/li><\/ul>\n\n\n\n<p><strong>OpsWorks for Puppet Enterprise<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Can create AWS-managed Puppet master servers<\/li><li>&nbsp;A Puppet\nmaster server can <ul><li>manages\nnodes <\/li><\/ul><ul><li>stores\nfacts about those nodes<\/li><\/ul><ul><li>serve\nas central repository for Puppet modules. <\/li><\/ul><\/li><li>Puppet modules are Puppet code for\ninfrastructure configuration, which are<ul><li>Reusable<\/li><\/ul><ul><li>shareable\nunits <\/li><\/ul><\/li><li>For custom modules<ul><li>Download\ncommunity modules from Puppet Forge<\/li><\/ul><ul><li>Can\nalso use Puppet Development Kit<\/li><\/ul><\/li><li>manage module deployment with Puppet Code\nManager.<\/li><li>Use Puppet to automate how nodes are <ul><li>Configured<\/li><\/ul><ul><li>Deployed<\/li><\/ul><ul><li>Managed<\/li><\/ul><\/li><li>Full-stack automation is provided which includes<ul><li>software\nand operating system configurations<\/li><\/ul><ul><li>package\ninstallations<\/li><\/ul><ul><li>database\nsetups<\/li><\/ul><ul><li>change\nmanagement<\/li><\/ul><ul><li>policy\nenforcement<\/li><\/ul><ul><li>monitoring\n<\/li><\/ul><\/li><\/ul>\n\n\n\n<p><strong>OpsWorks for Chef Automate<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Create AWS-managed Chef servers having Chef\nAutomate premium features<\/li><li>Uses Chef DK <\/li><li>other Chef tooling can also be used<\/li><li>A Chef server is used to <ul><li>manage\nnodes in AWS<\/li><\/ul><ul><li>stores\ninformation about those nodes<\/li><\/ul><ul><li>serve\nas central repository for Chef cookbooks<\/li><\/ul><\/li><li>Cookbooks contain recipes executed by Chef Infra\nclient agent on each node <\/li><li>Available Chef tools to manage nodes and\ncookbooks on a Chef server<ul><li>knife\n<\/li><\/ul><ul><li>Test\nKitchen <\/li><\/ul><\/li><li>Chef Automate installs and manages <ul><li>Chef\nAutomate<\/li><\/ul><ul><li>Chef\nInfra<\/li><\/ul><ul><li>Chef\nInSpec <\/li><\/ul><\/li><li>Can also use community-authored or custom Chef cookbooks  <\/li><\/ul>\n\n\n\n<p><strong>OpsWorks Stacks<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>A stack is groups of AWS resources like group of instances<\/li><li>OpsWorks Stacks, creates and manages stacks and applications. <\/li><li>Deploy and monitor applications in stacks. <\/li><li>Manage AWS resources in specialized groups called layers. <\/li><li>A layer is a set of EC2 instances serving a particular purpose like database, web hosting <\/li><li>Does not require or create Chef servers<\/li><li>Can be accessed globally <\/li><li>use to create and manage instances globally<\/li><li>Can integrate with IAM for resource access control<\/li><li>Stacks can <ul><li>monitor instance health<\/li><\/ul><ul><li>provision new instances, if needed<\/li><li>makes use of Auto Healing and Auto Scaling. <\/li><\/ul><\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"327\" height=\"400\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-241-327x400.png\" alt=\"\" class=\"wp-image-3943\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-241-327x400.png 327w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-241.png 378w\" sizes=\"auto, (max-width: 327px) 100vw, 327px\" \/><\/figure><\/div>\n\n\n\n<p>Opsworks Events<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Events can run manually using events stack run\ncommand functionality; When event occurs it runs set of recipes assigned to\nthat event.<\/li><li>Every layer has event specific&nbsp; recipes<\/li><li>Event of SETUP, after instance finished booting<\/li><li>Event of CONFIGURE happens when <ul><li>instance\nenters or leaves online<\/li><\/ul><ul><li>associate\nor disassociate EIP<\/li><\/ul><ul><li>attach\nor detach LB to a layer <\/li><\/ul><\/li><li>Event of DEPLOY if deploy command is executed <\/li><li>Event of UNDEPLOY happens when<ul><li>Execute\nUndeploy command<\/li><\/ul><ul><li>delete\nan application<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nEvent\nof SHUTDOWN \u2013 happens with instance shutdown, but before termination, for cleanup\n\n\n\n\n<\/p>\n\n\n\n<p><strong>Opsworks Events<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Events can run manually using events stack run\ncommand functionality; When event occurs it runs set of recipes assigned to\nthat event.<\/li><li>Every layer has event specific&nbsp; recipes<\/li><li>Event of SETUP, after instance finished booting<\/li><li>Event of CONFIGURE happens when <ul><li>instance\nenters or leaves online<\/li><\/ul><ul><li>associate\nor disassociate EIP<\/li><\/ul><ul><li>attach\nor detach LB to a layer <\/li><\/ul><\/li><li>Event of DEPLOY if deploy command is executed <\/li><li>Event of UNDEPLOY happens when<ul><li>Execute\nUndeploy command<\/li><\/ul><ul><li>delete\nan application<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nEvent\nof SHUTDOWN \u2013 happens with instance shutdown, but before termination, for cleanup\n\n\n\n\n<\/p>\n\n\n\n<p> Event of SHUTDOWN \u2013 happens with instance shutdown, but before termination, for cleanup <\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is a configuration management service configure and operate applications in AWS by using Chef Puppet AWS Impelementation of CHEF configuration management &amp; automation system; allows to provision infra, but abstracts some details. It is good choice amongst Cloudformation (has overhead of JSON and configurability) and Elastic Beanstalk (it has more power and customization) There&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2476,"menu_order":45,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[7,392],"class_list":["post-2962","page","type-page","status-publish","hentry","category-amazon-aws","tag-aws","tag-opsworks"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OpsWorks - Testprep Training Tutorials<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OpsWorks - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"It is a configuration management service configure and operate applications in AWS by using Chef Puppet AWS Impelementation of CHEF configuration management &amp; automation system; allows to provision infra, but abstracts some details. It is good choice amongst Cloudformation (has overhead of JSON and configurability) and Elastic Beanstalk (it has more power and customization) There...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-01T11:00:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-241-327x400.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/\",\"name\":\"OpsWorks - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2019-08-30T09:54:45+00:00\",\"dateModified\":\"2020-05-01T11:00:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AWS Certified Developer Associate (DVA-C01)\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"OpsWorks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OpsWorks - Testprep Training Tutorials","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/","og_locale":"en_US","og_type":"article","og_title":"OpsWorks - Testprep Training Tutorials","og_description":"It is a configuration management service configure and operate applications in AWS by using Chef Puppet AWS Impelementation of CHEF configuration management &amp; automation system; allows to provision infra, but abstracts some details. It is good choice amongst Cloudformation (has overhead of JSON and configurability) and Elastic Beanstalk (it has more power and customization) There...","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-05-01T11:00:16+00:00","og_image":[{"url":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-241-327x400.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/","name":"OpsWorks - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2019-08-30T09:54:45+00:00","dateModified":"2020-05-01T11:00:16+00:00","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/opsworks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"AWS Certified Developer Associate (DVA-C01)","item":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/"},{"@type":"ListItem","position":3,"name":"OpsWorks"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=2962"}],"version-history":[{"count":4,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2962\/revisions"}],"predecessor-version":[{"id":5119,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2962\/revisions\/5119"}],"up":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2476"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=2962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=2962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=2962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}