From 5d6c805d5cf127495650379a68cff96e4e2dee01 Mon Sep 17 00:00:00 2001 From: Varun Chandak Date: Sun, 3 Feb 2019 03:15:56 +0530 Subject: [PATCH] updated readme for automate-launch-configuration-update-with-latest-image --- .../README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/automate-launch-configuration-update-with-latest-image/README.md b/automate-launch-configuration-update-with-latest-image/README.md index 062e208..f714120 100644 --- a/automate-launch-configuration-update-with-latest-image/README.md +++ b/automate-launch-configuration-update-with-latest-image/README.md @@ -1,3 +1,16 @@ -# DO NOT USE +# Automatically update ASG with latest image and launch configuration -## SCRIPT UNDER CONSTRUCTION +This script will do the following (in order): +1. Get a list of instances running inside the autoscaling group +2. Create an AMI of the particular instance and store AMI ID +3. Fetch the launch configuration name to an autoscaling group (passed as parameter to script) +4. Create a new launch configuration with the updated image +5. Assign the Launch Configuration to the existing Auto Scaling Group (ASG) +6. Removal of old Launch Configurations (commented for now) + +--- + +## NOTES: + +* When you change the launch configuration for your Auto Scaling group, any new instances are launched using the new configuration parameters, but existing instances are not affected. This is the default configuration. +* **RUN THIS ON TEST ENVIRONMENT FIRST. I AM NOT RESPONSIBLE FOR ANY UNINTENDED DAMAGE.** \ No newline at end of file