create the meteor bundle
meteor build ../build-folder --architecture os.linux.x86_64
extract the build .tar.gz
file to some directory
cd /the-bundle-dir/
cd ./programs/server
npm install
rm -rf ./node_modules/fibers
cd /the-bundle-dir/
mkdir .ebextensions
Add app-name.config
into .ebextensions
folder and place package.json
in the root of the bundle folder.
Then zip it all up again, and deploy by uploading the zip file to EB.
Make sure that the node version you are running on AWS EB is 0.10.46
. It may work on newer versions. I just haven't tested it yet.