Which service for autoscaling automation

0

Hi,

I am looking to increase the minimum nodes in one AZ by updating the autoscaling group and decrease the minimum nodes to zero on other AZ.

Which service (step function ,lambda..) will seamlessly perform these two steps in AWS

2개 답변
0

Hello.

Why would you want to increase capacity only in a specific AZ?
Can't you solve this by specifying only a specific subnet from the beginning without using Lambda etc.?
https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-launch-template.html

profile picture
전문가
답변함 5달 전
0

+1 to Riku's questions, what's the usecase here? There might be better solutions for your underlying problem

But to answer your question, it depends on exactly what you're doing. You can't set min/max/desired on the ASG per AZ. If you're trying to shift all traffic from one AZ to another, then you could use a Lambda to change the subnets in the ASG, so that you remove the current subnet in AZ1, and add a replacement subnet in AZ2. The ASG will the automatically rebalance the instance into the new AZ

AWS
답변함 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠