Time required: 2 Hours
Let’s say we are on the DevOps team for a young social media startup.
The app has had an increase in popularity and a decrease in performance.
Your Auto Scaling group has a min value of 2 and a max value of 4. The desired capacity is now at 4 because of the high CPU utilization of the instances.
You have decided to move from the t2 micro instances to the t2.medium. How are we going to deploy this change while minimizing any interruption to your end users?
1. Update the launch configuration specified in the AWS CloudFormation template with the new t2.medium instance size.
2. Also add an UpdatePolicy attribute to your Auto Scaling group that specifies AutoScalingRollingUpdate.
3. Run a stack update with the new template.
We have the longest and most in depth courses about cloud and engineering topics on the web. All of our training content is included with every membership.
© Linux Academy. All rights reserved.
Pinehead® and the Linux Academy logo® is the registered trademark of Linux Academy in the U.S. and other countries.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.