How to add more instances (scale up) ElasticBeanStalk environment programmatically within a running application (Spring Boot) ?
I thought of using AWSElasticBeanstalkClient, but couldn't find any method to add instances using the client.
Any hints?
I need this because the design of my applications is that each App node needs to communicate with each other to perform some image-recognition tasks.
If this is not possible with EBS, I was thinking of creating EC2 programmatically as mentioned below, my problem is how to deploy my application to newly created EC2 instance.
http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/run-instance.html