-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated readme for automate-launch-configuration-update-with-latest-i…
…mage
- Loading branch information
Varun Chandak
committed
Feb 2, 2019
1 parent
edc6aa0
commit 5d6c805
Showing
1 changed file
with
15 additions
and
2 deletions.
There are no files selected for viewing
17 changes: 15 additions & 2 deletions
17
automate-launch-configuration-update-with-latest-image/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.** |