I am new on AWS Elastic Beanstalk and I have deployed an application via eb cli. For me scale up or down my application via eb cli I have found the following command
eb scale number-of-instances
but in my scenario I would like to scape up or down only once instance per time.
What I am looking for is a way to scale it by using its cli with some command like
eb scale up/down
but this kind of command is not supported.
Is there a way in which I am able to scale my application this way via eb
cli, or I must always set the number of instances that I want?
I have solved this problem by getting the instance number via
and than based on the value of Running instances I execute the command
I know that this is not the best solution, but this is how I solved my issue