…or: How to run a script after Elastic Beanstalk deployment finishes. In this article we will have a look on AWS ElasticBeanstalk post/pre deployment script running. I will assume you know how eb CLI works, I assume you know how to use eb deploy to do the deployment and I assume you are executing command from a folder where is your .elasticbeanstalk/config.yml (or Dockerrun.aws.json) I will be upd