Search code examples
phpamazon-web-servicesworkeramazon-elastic-beanstalk

Adding background workers to AWS Elastic Beanstalk


I'm playing around with Elastic Beanstalk and I'm trying to figure out how I might add background-workers to my application.

Is there an easy way to launch an EC2 instance with the code that's on my elastic beanstalk application servers? And have the deploy mechanism that comes with Elastic beanstalk update these instances?


Solution

  • I am sorry I really have no idea about workers

    But You can use AMAZON SDK and build an application to launch an ec2 instance based on regions and also you can specify AMI too , so there are various api calls from which you could get available regions , and also you can decide or building your own AMI with the required specification .