amazon web services - How to install audiowaveform program on AWS Elastic Beanstalk -
just fyi ... context here aws elastic beanstalk. i'm trying install audiowaveform program on 64bit amazon linux 2015.03 v1.4.3 (the customer ami id ami-6b50291c). running ... 👇
$ sudo yum install git cmake libmad-devel libsndfile-devel gd-devel boost-devel ... installs packages except libmad-devel , libsndfile-devel. below relevant output ...
failed set locale, defaulting c loaded plugins: priorities, update-motd, upgrade-helper amzn-main/2015.03 | 2.1 kb 00:00 amzn-updates/2015.03 | 2.3 kb 00:00 package git-2.1.0-1.38.amzn1.x86_64 installed , latest version package cmake-2.8.12-2.20.amzn1.x86_64 installed , latest version no package libmad-devel available. no package libsndfile-devel available. package gd-devel-2.0.35-11.10.amzn1.x86_64 installed , latest version package boost-devel-1.53.0-14.21.amzn1.x86_64 installed , latest version nothing that said, not problem audiowaveform ... means repositories enabled amazon linux amis not have libmad-devel , libsndfile-devel default. have add own sources guess.
also note no yum packages exist audio waveform have build manually.
obtain source ... 👇
$ git clone https://github.com/bbcrd/audiowaveform.git $ cd audio waveform then build , install ... 👇
$ mkdir build $ cd build $ cmake .. $ make $ sudo make install question 1
on aws eb ... ec2 instances configured use amazon sources don't have above packages i.e. libmad-devel , libsndfile-devel. recommended approach adding these packages available yum?
i stress recommended because feel changing sources amazon's not best approach. nor adding source conflict amazon's packages ... etc etc etc ...
question 2
assuming i'm able install libmad-devel , libsndfile-devel. still have build manually since there no packages of audiowaveform. on aws eb write script each instance being instantiated ... feel isn't ideal, slow , kinda error-prone. have advice on how can better?
probably prepare ami built that's based off ami-6b50291c. thoughts?
core objective
i don't have use audiowaveform ... objective extract peak points of audio (mp3). set separate question.
amazon elastic beanstalk tends restricted in terms of software can install on it. solved dockerizing application environment. possible on elastic beanstalk.
learn more elastic beanstalk's support docker ...
aws elastic beanstalk makes easy deploy , manage applications in aws cloud. after upload application, elastic beanstalk provision, monitor, , scale capacity (amazon ec2 instances), while load balancing incoming requests across of healthy instances.
docker automates deployment of applications in form of lightweight, portable, self-sufficient containers can run in variety of environments. containers can populated pre-built docker images or simple recipe known dockerfile.
docker’s container-based model flexible. can, example, build , test container locally , upload aws cloud deployment , scalability. docker’s automated deployment model ensures runtime environment application installed , configured, regardless of decide host application.
this way ... can whatever want in container , container run on kernel provided amazon linux ami instance (obviously isolated).
Comments
Post a Comment