{"id":15676,"date":"2014-09-30T23:57:20","date_gmt":"2014-09-30T18:27:20","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=15676"},"modified":"2014-09-30T23:57:20","modified_gmt":"2014-09-30T18:27:20","slug":"create-auto-scaling-groups-from-running-amazon-ec2-instances","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/","title":{"rendered":"Create Auto Scaling Groups from Running Amazon EC2 Instances"},"content":{"rendered":"<p><span style=\"color: #000000\">Once Again My blog is about Auto-Scaling.Where we can setup the Auto-Scaling for the running instance. As this could one of the scenarios where you need to implement\u00a0Auto Scaling for your existing applications, and want to do so without having to shut down your instances.And same was announced by AWS in month jan 2014.<\/span><\/p>\n<p><span style=\"color: #000000\">To create an Auto Scaling group using an instance ID,Enter below given command with following parameters.<\/span><\/p>\n<ul>\n<li>auto-scaling-group-name : Test<\/li>\n<li>instance-id : i-0dee875F<\/li>\n<li>load-balancer-names :Testing<\/li>\n<li>availability-zones :us-east-1a<\/li>\n<li>max-size 3<\/li>\n<li>min-size 1<\/li>\n<li>desired-capacity 2<\/li>\n<\/ul>\n<p>[js]aws autoscaling create-auto-scaling-group &#8211;auto-scaling-group-name test &#8211;instance-id i-0dee875e &#8211;load-balancer-names Testing &#8211;availability-zones &quot;us-east-1a&quot; &#8211;max-size 3 &#8211;min-size 1 &#8211;desired-capacity 2 [\/js]<\/p>\n<p><span>Command to describe auto scaling group<\/span><\/p>\n<p>[js]aws autoscaling describe-auto-scaling-groups &#8211;output text [\/js]<\/p>\n<p><span>Command to describe launch configuration<\/span><\/p>\n<p>[js]aws autoscaling describe-launch-configurations &#8211;output text[\/js]<\/p>\n<p><span style=\"color: #000000\">Note : In this process there is no need to create the Launch Coniguration ,While creating the Autoscaling group using above mentioned command ,It will automatically create the launch configuration and will parse all needed parameters from the running configuration.<\/span><\/p>\n<address>Thanks<\/address>\n<address>Prashant Sharma<\/address>\n","protected":false},"excerpt":{"rendered":"<p>Once Again My blog is about Auto-Scaling.Where we can setup the Auto-Scaling for the running instance. As this could one of the scenarios where you need to implement\u00a0Auto Scaling for your existing applications, and want to do so without having to shut down your instances.And same was announced by AWS in month jan 2014. To [&hellip;]<\/p>\n","protected":false},"author":120,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":2,"footnotes":""},"categories":[1174],"tags":[],"class_list":["post-15676","post","type-post","status-publish","format-standard","hentry","category-aws-2"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Once Again My blog is about Auto-Scaling.Where we can setup the Auto-Scaling for the running instance. As this could one of the scenarios where you need to implement Auto Scaling for your existing applications, and want to do so without having to shut down your instances.And same was announced by AWS in month jan 2014. To\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Prashant Sharma\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Create Auto Scaling Groups from Running Amazon EC2 Instances | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Once Again My blog is about Auto-Scaling.Where we can setup the Auto-Scaling for the running instance. As this could one of the scenarios where you need to implement Auto Scaling for your existing applications, and want to do so without having to shut down your instances.And same was announced by AWS in month jan 2014. To\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Create Auto Scaling Groups from Running Amazon EC2 Instances | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Once Again My blog is about Auto-Scaling.Where we can setup the Auto-Scaling for the running instance. As this could one of the scenarios where you need to implement Auto Scaling for your existing applications, and want to do so without having to shut down your instances.And same was announced by AWS in month jan 2014. To\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/create-auto-scaling-groups-from-running-amazon-ec2-instances\\\/#article\",\"name\":\"Create Auto Scaling Groups from Running Amazon EC2 Instances | TO THE NEW Blog\",\"headline\":\"Create Auto Scaling Groups from Running Amazon EC2 Instances\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/prashant-sharma\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2014-09-30T23:57:20+05:30\",\"dateModified\":\"2014-09-30T23:57:20+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/create-auto-scaling-groups-from-running-amazon-ec2-instances\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/create-auto-scaling-groups-from-running-amazon-ec2-instances\\\/#webpage\"},\"articleSection\":\"AWS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/create-auto-scaling-groups-from-running-amazon-ec2-instances\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/#listItem\",\"name\":\"AWS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/#listItem\",\"position\":2,\"name\":\"AWS\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/create-auto-scaling-groups-from-running-amazon-ec2-instances\\\/#listItem\",\"name\":\"Create Auto Scaling Groups from Running Amazon EC2 Instances\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/create-auto-scaling-groups-from-running-amazon-ec2-instances\\\/#listItem\",\"position\":3,\"name\":\"Create Auto Scaling Groups from Running Amazon EC2 Instances\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/#listItem\",\"name\":\"AWS\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/prashant-sharma\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/prashant-sharma\\\/\",\"name\":\"Prashant Sharma\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/create-auto-scaling-groups-from-running-amazon-ec2-instances\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b323e7299ad62c86e5be8760ed5746d614dc352e6c25661acd529affebcab0b9?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Prashant Sharma\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/create-auto-scaling-groups-from-running-amazon-ec2-instances\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/create-auto-scaling-groups-from-running-amazon-ec2-instances\\\/\",\"name\":\"Create Auto Scaling Groups from Running Amazon EC2 Instances | TO THE NEW Blog\",\"description\":\"Once Again My blog is about Auto-Scaling.Where we can setup the Auto-Scaling for the running instance. As this could one of the scenarios where you need to implement Auto Scaling for your existing applications, and want to do so without having to shut down your instances.And same was announced by AWS in month jan 2014. To\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/create-auto-scaling-groups-from-running-amazon-ec2-instances\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/prashant-sharma\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/prashant-sharma\\\/#author\"},\"datePublished\":\"2014-09-30T23:57:20+05:30\",\"dateModified\":\"2014-09-30T23:57:20+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Create Auto Scaling Groups from Running Amazon EC2 Instances | TO THE NEW Blog","description":"Once Again My blog is about Auto-Scaling.Where we can setup the Auto-Scaling for the running instance. As this could one of the scenarios where you need to implement Auto Scaling for your existing applications, and want to do so without having to shut down your instances.And same was announced by AWS in month jan 2014. To","canonical_url":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/#article","name":"Create Auto Scaling Groups from Running Amazon EC2 Instances | TO THE NEW Blog","headline":"Create Auto Scaling Groups from Running Amazon EC2 Instances","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/prashant-sharma\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2014-09-30T23:57:20+05:30","dateModified":"2014-09-30T23:57:20+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/#webpage"},"articleSection":"AWS"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/aws-2\/#listItem","name":"AWS"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/aws-2\/#listItem","position":2,"name":"AWS","item":"https:\/\/www.tothenew.com\/blog\/category\/aws-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/#listItem","name":"Create Auto Scaling Groups from Running Amazon EC2 Instances"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/#listItem","position":3,"name":"Create Auto Scaling Groups from Running Amazon EC2 Instances","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/aws-2\/#listItem","name":"AWS"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/prashant-sharma\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/prashant-sharma\/","name":"Prashant Sharma","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/b323e7299ad62c86e5be8760ed5746d614dc352e6c25661acd529affebcab0b9?s=96&d=mm&r=g","width":96,"height":96,"caption":"Prashant Sharma"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/","name":"Create Auto Scaling Groups from Running Amazon EC2 Instances | TO THE NEW Blog","description":"Once Again My blog is about Auto-Scaling.Where we can setup the Auto-Scaling for the running instance. As this could one of the scenarios where you need to implement Auto Scaling for your existing applications, and want to do so without having to shut down your instances.And same was announced by AWS in month jan 2014. To","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/prashant-sharma\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/prashant-sharma\/#author"},"datePublished":"2014-09-30T23:57:20+05:30","dateModified":"2014-09-30T23:57:20+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Create Auto Scaling Groups from Running Amazon EC2 Instances | TO THE NEW Blog","og:description":"Once Again My blog is about Auto-Scaling.Where we can setup the Auto-Scaling for the running instance. As this could one of the scenarios where you need to implement Auto Scaling for your existing applications, and want to do so without having to shut down your instances.And same was announced by AWS in month jan 2014. To","og:url":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Create Auto Scaling Groups from Running Amazon EC2 Instances | TO THE NEW Blog","twitter:description":"Once Again My blog is about Auto-Scaling.Where we can setup the Auto-Scaling for the running instance. As this could one of the scenarios where you need to implement Auto Scaling for your existing applications, and want to do so without having to shut down your instances.And same was announced by AWS in month jan 2014. To","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"15676","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-30 05:09:43","updated":"2024-02-29 09:38:12","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/aws-2\/\" title=\"AWS\">AWS<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCreate Auto Scaling Groups from Running Amazon EC2 Instances\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"AWS","link":"https:\/\/www.tothenew.com\/blog\/category\/aws-2\/"},{"label":"Create Auto Scaling Groups from Running Amazon EC2 Instances","link":"https:\/\/www.tothenew.com\/blog\/create-auto-scaling-groups-from-running-amazon-ec2-instances\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/15676","targetHints":{"allow":["GET"]}}],"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\/120"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=15676"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/15676\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=15676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=15676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=15676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}