user1791139 user1791139 - 1 year ago 105
Node.js Question

AWS ElasticBeanstalk NodeJS

i want to use ElasticBeanstalk with the predefined configuration "Node.js" and "64bit Amazon Linux 2014.09 v1.0.9". The problem is that my NodeJS application use gm which need GraphicsMagick, but GrpahicsMagick isn't installed on the predefined configuration! Is it possible to tell Amazon AWS to install missing package after bootstrap and before deploying of my NodeJS application? Which other possibilities I have?

Answer Source

Ok, I think i found the answer. Create a file .config in .elasticbeanstalk folder and add following lines packages: yum: ImageMagick: [] So AWS install the package on each ec2 node. customize-containers-format-packages