Reputation: 2479
I have a worker application (non-web facing) which processes some jobs from an AWS SQS. I want to run multiple instances of this application but with different command-line arguments (maybe 30 processes in the end), so:
myApp arg1 arg2
myApp arg3 arg4
My infrastructure needs are pretty basic, but specifically I want each instance of the application to
What is the best infrastructure for hosting this? Preferred in Amazon ecosystem, but not required.
In Amazon:
Not Amazon:
I'm just reaching out for ideas. Don't have much experience in Amazon. What other infrastructure options are particularly well suited to this problem?
Upvotes: 1
Views: 1155
Reputation: 9411
Docker or rkt is your solution. You can be up and running in munites, all within one EC2 instance. Keep in mind that the number of your application instances will be limited by the number of IP addresses AWS allows for each instance type.
Take a look at how many IPv4 and IPv6 addresses you can have at http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI. If you need more, ask AWS support to increase limits in advance.
Upvotes: 3