0.0.6 • Published 9 years ago
elasticbeanstalk-deploy v0.0.6
elasticbeanstalk-deploy
A tiny util for deploying application to AWS elasticbeanstalk — Edit
install
npm install -D elasticbeanstalk-deployusage
Envs
Step 1
Set environment variables.
S3_BUCKET: s3 bucket name in which codes will be put.APP_NAME: APP name to deploy (e.g.MyFirstApp)APP_ENV_NAME: Environment name(e.g.production)ARTIFACT: bundle file name(may be zipped coeds)- FYI: bundle file can be created with following:
zip -j /tmp/artifact.zip sample_application/*
- FYI: bundle file can be created with following:
Set AWS related variables if needed.
AWS_SECRET_ACCESS_KEYAWS_ACCESS_KEY_IDAWS_DEFAULT_REGION
Step 2
$(npm bin)/elasticbeanstalk-deploy