- set Var for functionality -> get CF output stack (AMI-ID, SQS_QUEUE, S3_bucket)
- get messages in queue
- evalute ec2 instances (atm message_count / 5 )
- check how many instances are running, based on filter (module)
- calculate required instance ( +2 means -> has to start to more, -2 means stop 2 )
- if less instances are running start instances
6.1 start instance
a. set min & max count to difference of actual running instances and evaluted_number
b. wait until running
c. set tag for instance (module)
6.2 if more instances are running stop instances
a. get all instances and filter based on tags
b. stop difference from actual running instances and evaluted_number - finish
- default max ec2 instances are 20
- maybe start bigger instances with parallel translator
- request higher instance limit https://console.aws.amazon.com/support/cases#/create?issueType=service-limit-increase&limitType=service-code-ec2-instances