Last Updated: February 25, 2016
·
1.371K
· netors

Post deployment scripts on a custom AMI for Elastic Beanstalk PHP

If you want to execute a shell script after a new version of your PHP application is uploaded (or pushed if you are using git) to Elastic Beanstalk, you need to edit the following file in your custom AMI:

/opt/elasticbeanstalk/srv/hostmanager/lib/elasticbeanstalk/hostmanager/applications/phpapplication.rb

1 Response
Add your response

Why are you using a custom AMI instead of config files to do what you need? Just curious...

over 1 year ago ·