Showing posts with label min. Show all posts
Showing posts with label min. Show all posts

Wednesday, December 4, 2013

Auto Scaling - removing instances

There are times when you need to scale down and auto scaling group. To find out the current configuration of your auto scaling group, issue this command:
aws autoscaling describe-auto-scaling-groups
            "AutoScalingGroupName": "reachforce-as-grp",

To scale down your configuration you can issue the commands to decrease the min and max size:
aws autoscaling update-auto-scaling-group --auto-scaling-group-name reachforce-as-grp --min-size 2
aws autoscaling update-auto-scaling-group --auto-scaling-group-name reachforce-as-grp --max-size 3

You will then see the instance go away on your AWS console.


Monday, May 13, 2013

AWS Auto Scaling for batch processing

Can I use Auto Scaling for scaling out a set of servers that run periodically (auto scaling of zero) ?  This is not the typical auto scaling use case but it is possible.  This would most likely be used for use cases such as batch processing where instances would be spun up to support processing that happens periodically.  Here are some ways to solve this use case: