{"id":12235,"date":"2014-02-28T20:01:58","date_gmt":"2014-02-28T14:31:58","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=12235"},"modified":"2015-09-17T16:53:53","modified_gmt":"2015-09-17T11:23:53","slug":"blue-green-deployment-with-aws-opsworks","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/blue-green-deployment-with-aws-opsworks\/","title":{"rendered":"Blue-Green Deployment with AWS OpsWorks"},"content":{"rendered":"<p style=\"text-align: justify;\">Blue-Green deployment is a technique in which a new parallel &#8220;green&#8221; environment is brought up, tested and then its switched with current &#8220;blue&#8221; Production environment. Which basically means all user traffic is now routed to new parallel &#8220;green&#8221; environment from current &#8220;blue&#8221; Production. This technique is often followed to ensure zero downtime and high quality deployments.<\/p>\n<p style=\"text-align: justify;\">OpsWorks is an application management service provided by Amazon that lets its users setup Production ready application in minimal time possible with basic knowledge of <a title=\"Chef DevOps\" href=\"http:\/\/www.tothenew.com\/devops-chef-puppet-docker\">configuration management tool Chef<\/a>. Its architecture is such that is divides application infrastructure into different layers like load balancer layer, application layer, database layer, monitoring layer and custom layer where it allows to fully customize each part of it.<\/p>\n<p style=\"text-align: justify;\">The best part is Amazon OpsWorks has inbuilt support for Blue-Green deployments. Which allows its users to clone their entire architecture just with a click of mouse.<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2014\/02\/clone.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-12236\" title=\"clone\" src=\"\/blog\/wp-ttn-blog\/uploads\/2014\/02\/clone.png\" alt=\"\" width=\"465\" height=\"252\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">And the next step is to route all traffic to Cloned &#8220;green&#8221; architecture, which can be done by change DNS mapping of the domain via R53. And thats it Blue-Green deployment done right.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Blue-Green deployment is a technique in which a new parallel &#8220;green&#8221; environment is brought up, tested and then its switched with current &#8220;blue&#8221; Production environment. Which basically means all user traffic is now routed to new parallel &#8220;green&#8221; environment from current &#8220;blue&#8221; Production. This technique is often followed to ensure zero downtime and high quality [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":5},"categories":[1174],"tags":[1344,1345,1343,1346],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/12235"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=12235"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/12235\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=12235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=12235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=12235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}