amazon web services - How to set Auto Scaling Group correctly for an existing Load Balancer -


i have 1 ec2 instance , connected load balancer. scenario this:

1) ec2 instance works alone

2) when over-load happens on server, add duplicate of it's load balancer. (max 3)

3) when over-load ends, delete one.

to provide scenario, trying create auto scaling group , set load balancer demanded & minimum & max amount 1 , mark "keep group @ initial size". when set auto scaling group, automatically creates empty ec2 instance , sets load balancer (not duplicate of ec2 instance, brand new 1 "out of service" time load balancer). when check instances of newly created auto scaling group see newly created one, not instance.

my question "how can set auto scaling group checks ec2 instance located in load balancer, duplicates 1 when needed, appends load balancer , removes added 1 when need ends?".


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -