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?
Asked
Active
Viewed 958 times
3 Answers
1
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

user1791139
- 606
- 1
- 11
- 27
-
You should accept you answer by clicking on the tick if this is the right one! – AsTeR Dec 20 '14 at 11:00
0
A different solution which should work as well. Create a package.config
in .ebextensions
directory. And state:
commands:
01-command:
command: yum install -y [option flags] GraphicsMagick
Thanks to this answer: How to install GraphicsMagick on Elastic Beanstalk