Amazon AutoScaling Scale removes FIFO instance

I am currently using amazon auto scaling service. I noticed that if there is scale in it, the first created instance is deleted. My problem is that I also want to include RabbitMQ in automatic scaling, and if I configure the first instance as a master instance, then when it has scale, the master rabbitmq instance is deleted. I want to know that there is a way to give a scale template for deleting an instance in Amazon EC2's scaling policy?

+3
source share
1 answer

You probably want to leave your RabbitMQ instance from the autoscale cluster. and start the secondary instance and have this autoscaling .... Remember to add both the primary instance and the autoscaling cluster to the load balancer.

+1
source

All Articles