0

I am migrating an application from EC2 to Elastic Beanstalk and am struggling to install Composer dependencies (Mailgun, Twilio, etc.) across my EB servers.

I am able to install dependencies to single EC2 instances through SSH, but now that I am migrating everything to EB I do not know how to have the composer dependencies installed across all newly scaled instances.

Thank you!

Tyler
  • 3,616
  • 3
  • 22
  • 34
  • How about this: http://stackoverflow.com/a/17528576/161628? – Rohit Banga Oct 14 '15 at 05:58
  • That explains installing Composer, but that is already installed on the EB instances. I am asking how to add dependencies to Composer across all EB instances. – Tyler Oct 14 '15 at 06:03
  • If you have a composer.json file (https://getcomposer.org/doc/01-basic-usage.md) in the root directory of your application source then EB will automatically install the dependencies for you from the file. Additionally, found a nice blog post here: http://blog.goforyt.com/laravel-aws-elastic-beanstalk-dev-guide/ – Rohit Banga Oct 14 '15 at 06:07

0 Answers0