{"id":2916,"date":"2019-08-30T09:40:08","date_gmt":"2019-08-30T09:40:08","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=2916"},"modified":"2020-05-01T10:53:31","modified_gmt":"2020-05-01T10:53:31","slug":"codedeploy","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/codedeploy\/","title":{"rendered":"CodeDeploy"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>AWS service to automate software deployments to\nEC2\/ on-premises instance <\/li><li>Makes it easier for you to rapidly release new\nfeatures<\/li><li>Helps you avoid downtime during application\ndeployment<\/li><li>Handles the complexity of updating applications.<\/li><\/ul>\n\n\n\n<p><strong>CodeDeploy Deployment Types<\/strong><\/p>\n\n\n\n<p>CodeDeploy provides two deployment type options:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>In-place deployment: It iinvolves<ul><li>Stopping application on every instance in\ndeployment group<\/li><\/ul><ul><li>Installing latest application revision<\/li><\/ul><ul><li>Starting the new version <\/li><\/ul><\/li><li>Blue\/green deployment <ul><li>On EC2\/On-Premises <ul><li>instances in a original deployment group are\nsubstituted by replacement environment<\/li><\/ul><\/li><\/ul><ul><li>On AWS Lambda<ul><li>Traffic is transferred from current serverless\nenvironment to updated Lambda function version. <\/li><\/ul><\/li><\/ul><ul><li>On ECS<ul><li>&nbsp;Traffic\nis shifted from original containerized application version in ECS to\nreplacement set <\/li><\/ul><\/li><\/ul><\/li><\/ul>\n\n\n\n<p><strong>Sample CodeDeploy in-place deployment<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"334\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-222.png\" alt=\"\" class=\"wp-image-3895\"\/><\/figure><\/div>\n\n\n\n<ol class=\"wp-block-list\"><li>build deployable content on local development\nmachine and AppSpec or application specification file. <ol><li>&nbsp;AppSpec\nfile defines deployment actions CodeDeploy should execute. <\/li><\/ol><ol><li>bundle deployable content and AppSpec file\n(called an application revision or revision) into archive file, and upload to\nS3 bucket\/GitHub repository <\/li><\/ol><\/li><li>Make available details about deployment like S3\nbucket\/GitHub repository for pulling revision from and to be deployed to EC2\ninstance. Set of EC2 instances are called deployment group having tagged EC2\ninstances <\/li><li>After successful upload of new application\nrevision, set it as the target revision for deployment group<\/li><li>CodeDeploy agent pulls the new target revision\nfrom S3 bucket\/GitHub repository after polling<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>AWS service to automate software deployments to EC2\/ on-premises instance Makes it easier for you to rapidly release new features Helps you avoid downtime during application deployment Handles the complexity of updating applications. CodeDeploy Deployment Types CodeDeploy provides two deployment type options: In-place deployment: It iinvolves Stopping application on every instance in deployment group Installing&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2476,"menu_order":30,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[7,426],"class_list":["post-2916","page","type-page","status-publish","hentry","category-amazon-aws","tag-aws","tag-codedeploy"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CodeDeploy - 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\/codedeploy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CodeDeploy - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"AWS service to automate software deployments to EC2\/ on-premises instance Makes it easier for you to rapidly release new features Helps you avoid downtime during application deployment Handles the complexity of updating applications. CodeDeploy Deployment Types CodeDeploy provides two deployment type options: In-place deployment: It iinvolves Stopping application on every instance in deployment group Installing...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/codedeploy\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-01T10:53:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2019\/09\/image-222.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=\"1 minute\" \/>\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\/codedeploy\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/codedeploy\/\",\"name\":\"CodeDeploy - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2019-08-30T09:40:08+00:00\",\"dateModified\":\"2020-05-01T10:53:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/codedeploy\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/codedeploy\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/codedeploy\/#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\":\"CodeDeploy\"}]},{\"@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":"CodeDeploy - 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\/codedeploy\/","og_locale":"en_US","og_type":"article","og_title":"CodeDeploy - Testprep Training Tutorials","og_description":"AWS service to automate software deployments to EC2\/ on-premises instance Makes it easier for you to rapidly release new features Helps you avoid downtime during application deployment Handles the complexity of updating applications. CodeDeploy Deployment Types CodeDeploy provides two deployment type options: In-place deployment: It iinvolves Stopping application on every instance in deployment group Installing...","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/codedeploy\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-05-01T10:53:31+00:00","og_image":[{"url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2019\/09\/image-222.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/codedeploy\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/codedeploy\/","name":"CodeDeploy - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2019-08-30T09:40:08+00:00","dateModified":"2020-05-01T10:53:31+00:00","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/codedeploy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/codedeploy\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/codedeploy\/#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":"CodeDeploy"}]},{"@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\/2916","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=2916"}],"version-history":[{"count":4,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2916\/revisions"}],"predecessor-version":[{"id":5107,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2916\/revisions\/5107"}],"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=2916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=2916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=2916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}