{"id":452,"date":"2015-10-27T01:33:54","date_gmt":"2015-10-27T01:33:54","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2015\/10\/27\/provision-a-aws-ec2-vm-using-chef\/"},"modified":"2021-02-27T09:50:25","modified_gmt":"2021-02-27T09:50:25","slug":"provision-a-aws-ec2-vm-using-chef","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/","title":{"rendered":"Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3108 size-full\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/10\/provision-a-aws-ec2-vm-usin.png\" alt=\"provision-a-aws-ec2-vm-using-chef\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/10\/provision-a-aws-ec2-vm-usin.png 600w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/10\/provision-a-aws-ec2-vm-usin-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Provision a AWS ec2 vm using chef<\/p>\n<p><strong>Step 1: <a href=\"tutorials\/how-to-install-chefdk-in-rhel-ubantu-mac-and-windows\" target=\"_blank\" rel=\"noopener\">Install chefdk<\/a><\/strong><\/p>\n<p><strong>Step 2: <a href=\"tutorials\/setup-aws-credentails-using-aws-command-line-interface\" target=\"_blank\" rel=\"noopener\">Setup AWS Credentails<\/a><\/strong><\/p>\n<p><strong>Step X: <a href=\"tutorials\/configure-the-knife-command\" target=\"_blank\" rel=\"noopener\">Setup your knife config<\/a><\/strong><\/p>\n<p>Step X: Make sure following is set and exported in env.<\/p>\n<p>&nbsp;<\/p>\n<pre style=\"margin-top: 0px; margin-bottom: 2.1em; padding: 0.8em 1em; border: 1px solid #05232b; font-stretch: inherit; line-height: 1.45em; font-family: Menlo, Monaco, 'Andale Mono', 'lucida console', 'Courier New', monospace; font-size: 13px; vertical-align: baseline; box-shadow: rgba(0, 0, 0, 0.0588235) 0px 0px 10px; border-radius: 0.4em; color: #93a1a1; overflow: auto; background: url('http:\/\/jtimberman.housepub.org\/images\/noise.png?1423629076') 0% 0% #002b36;\"><code style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Menlo, Monaco, 'Andale Mono', 'lucida console', 'Courier New', monospace; vertical-align: baseline;\">AWS_ACCESS_KEY_ID=secrets AWS_SECRET_ACCESS_KEY=secrets AWS_DEFAULT_REGION=us-east-1 AWS_SSH_KEY=your_ssh_key_name AWS_ACCESS_KEY=secrets AWS_SECRET_KEY=secrets<\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre style=\"margin-top: 0px; margin-bottom: 2.1em; padding: 0.8em 1em; border: 1px solid #05232b; font-stretch: inherit; line-height: 1.45em; font-family: Menlo, Monaco, 'Andale Mono', 'lucida console', 'Courier New', monospace; font-size: 13px; vertical-align: baseline; box-shadow: rgba(0, 0, 0, 0.0588235) 0px 0px 10px; border-radius: 0.4em; color: #93a1a1; overflow: auto; background: url('http:\/\/jtimberman.housepub.org\/images\/noise.png?1423629076') 0% 0% #002b36;\"><code style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Menlo, Monaco, 'Andale Mono', 'lucida console', 'Courier New', monospace; vertical-align: baseline;\"><\/code><\/pre>\n<p><strong>Step 3: Genrate a new repository using the chef generate command<\/strong><strong><a href=\"scm\/configuration-management-tools\/setup-aws-credentails-using-aws-command-line-interface.html\" target=\"_blank\" rel=\"noopener\"><br \/>\n<\/a><\/strong><\/p>\n<p>&gt; chef generate repo chefdk-provision-demo<br \/>\n&gt; cd chefdk-provision-demo<\/p>\n<p><strong>Step 4: Generate a provision cookbook. This is the required name, and it must be in the current directory.<\/strong><br \/>\n&gt; chef generate cookbook provision<\/p>\n<p><strong>Step 5: Edit the default recipe, $EDITOR provision\/recipes\/default.rb with following code&#8230;<\/strong><\/p>\n<pre>context = ChefDK::ProvisioningData.context with_driver 'aws::us-west-2' options = { ssh_username: 'admin', use_private_ip_for_ssh: false, bootstrap_options: { key_name: 'jtimberman', image_id: 'ami-0d5b6c3d', instance_type: 'm3.medium', }, convergence_options: context.convergence_options, } machine context.node_name do machine_options options action context.action converge true end<\/pre>\n<p>Understand the code:<br \/>\n&gt; To break this down, first we get the ChefDK provisioning context that will pass in options to chef-provisioning.<br \/>\n&gt; Then we tell chef-provisioning to use the AWS driver, and in the us-west-2 region.<br \/>\n&gt; The options hash is used to setup the instance.<br \/>\n&gt; We\u2019re using Debian 8, which uses the admin user to log in, an SSH key that exists in the AWS region, the actual AMI, and finally the instance type.<br \/>\n&gt; Then, we\u2019re going to set the convergence options automatically from ChefDK. This is the important part that will ensure the node has the right run list.<\/p>\n<p><strong>Step 6: Generate a Policyfile.rb and And edit its content, $EDITOR Policyfile.rb.<\/strong><br \/>\n&gt; chef generate policyfile<br \/>\n&gt; vi policyfile.rb<\/p>\n<pre>name            \"chefdk-provision-demo\" default_source  :community run_list        \"recipe[libuuid-user]\" cookbook        \"libuuid-user\"<\/pre>\n<p>Here we\u2019re simply getting the libuuid-user cookbook from Supermarket and applying the default recipe to the nodes that have this policy.<\/p>\n<p><strong>Step 7: The next step is to install the Policyfile. This generates the Policyfile.lock.json, and downloads the cookbooks to the cache, ~\/.chefdk\/cache\/cookbooks. If this isn\u2019t run, chef will complain, with a reminder to run it.<\/strong><\/p>\n<p>&gt; chef install<\/p>\n<p>Step 8: Finally, we can provision a testing system with this policy:<\/p>\n<p>&gt; chef provision testing &#8211;sync -n debian-libuuid<\/p>\n<p><strong>Reference:<\/strong><br \/>\n<a href=\"http:\/\/jtimberman.housepub.org\/blog\/2015\/05\/15\/quick-tip-chefdk-provision\/\" target=\"_blank\" rel=\"noopener\">http:\/\/jtimberman.housepub.org\/blog\/2015\/05\/15\/quick-tip-chefdk-provision\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Provision a AWS ec2 vm using chef Step 1: Install chefdk Step 2: Setup AWS Credentails Step X: Setup your [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":3108,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[46,88],"tags":[162,1399,1400,1404,1405,407,1122,545,1402,593,1397,1401,1403,1406,732,213,968,662],"class_list":["post-452","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-amazon-elastic-cloud","category-chef","tag-aws","tag-aws-ec2","tag-aws-ec2-vm","tag-aws-ec2-vm-guide","tag-aws-ec2-vm-tutorial","tag-chef","tag-guide","tag-how","tag-how-to-provision-a-aws-ec2-vm","tag-process","tag-provision","tag-provision-a-aws-ec2-vm-using-chef","tag-provision-a-aws-ec2-vm-using-chef-tutorials","tag-provisioning-aws-ec2-vm","tag-steps","tag-tutorial","tag-virtual-machine","tag-vm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial - scmGalaxy<\/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.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Provision a AWS ec2 vm using chef Step 1: Install chefdk Step 2: Setup AWS Credentails Step X: Setup your [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-27T01:33:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-27T09:50:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/10\/provision-a-aws-ec2-vm-usin.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"scmgalaxy K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scmgalaxy K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/\"},\"author\":{\"name\":\"scmgalaxy K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"headline\":\"Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial\",\"datePublished\":\"2015-10-27T01:33:54+00:00\",\"dateModified\":\"2021-02-27T09:50:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/\"},\"wordCount\":317,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/provision-a-aws-ec2-vm-usin.png\",\"keywords\":[\"AWS\",\"AWS ec2\",\"AWS ec2 vm\",\"AWS ec2 vm Guide\",\"AWS ec2 vm Tutorial\",\"Chef\",\"Guide\",\"How\",\"How to Provision a AWS ec2 vm\",\"Process\",\"provision\",\"Provision a AWS ec2 vm using chef\",\"Provision a AWS ec2 vm using chef Tutorials\",\"Provisioning AWS ec2 vm\",\"Steps\",\"Tutorial\",\"Virtual machine\",\"VM\"],\"articleSection\":[\"Amazon (Elastic Cloud)\",\"Chef\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/\",\"name\":\"Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/provision-a-aws-ec2-vm-usin.png\",\"datePublished\":\"2015-10-27T01:33:54+00:00\",\"dateModified\":\"2021-02-27T09:50:25+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/provision-a-aws-ec2-vm-usin.png\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/provision-a-aws-ec2-vm-usin.png\",\"width\":600,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/provision-a-aws-ec2-vm-using-chef\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\",\"name\":\"scmgalaxy K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"caption\":\"scmgalaxy K\"},\"sameAs\":[\"http:\\\/\\\/www.DevOpsSchool.com\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/scmgalaxy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial - scmGalaxy","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.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/","og_locale":"en_US","og_type":"article","og_title":"Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial - scmGalaxy","og_description":"Provision a AWS ec2 vm using chef Step 1: Install chefdk Step 2: Setup AWS Credentails Step X: Setup your [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/","og_site_name":"scmGalaxy","article_published_time":"2015-10-27T01:33:54+00:00","article_modified_time":"2021-02-27T09:50:25+00:00","og_image":[{"width":600,"height":400,"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/10\/provision-a-aws-ec2-vm-usin.png","type":"image\/png"}],"author":"scmgalaxy K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scmgalaxy K","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/"},"author":{"name":"scmgalaxy K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"headline":"Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial","datePublished":"2015-10-27T01:33:54+00:00","dateModified":"2021-02-27T09:50:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/"},"wordCount":317,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/10\/provision-a-aws-ec2-vm-usin.png","keywords":["AWS","AWS ec2","AWS ec2 vm","AWS ec2 vm Guide","AWS ec2 vm Tutorial","Chef","Guide","How","How to Provision a AWS ec2 vm","Process","provision","Provision a AWS ec2 vm using chef","Provision a AWS ec2 vm using chef Tutorials","Provisioning AWS ec2 vm","Steps","Tutorial","Virtual machine","VM"],"articleSection":["Amazon (Elastic Cloud)","Chef"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/","name":"Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/10\/provision-a-aws-ec2-vm-usin.png","datePublished":"2015-10-27T01:33:54+00:00","dateModified":"2021-02-27T09:50:25+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/10\/provision-a-aws-ec2-vm-usin.png","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2015\/10\/provision-a-aws-ec2-vm-usin.png","width":600,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/provision-a-aws-ec2-vm-using-chef\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Provision a AWS ec2 vm using chef | Step by Step Guide | AWS ec2 vm Tutorial"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102","name":"scmgalaxy K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","caption":"scmgalaxy K"},"sameAs":["http:\/\/www.DevOpsSchool.com"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/scmgalaxy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=452"}],"version-history":[{"count":3,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/452\/revisions"}],"predecessor-version":[{"id":3322,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/452\/revisions\/3322"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media\/3108"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}