Home » Nodejs » deploy directly from Bitbucket to AWS Elastic Beanstalk

deploy directly from Bitbucket to AWS Elastic Beanstalk

Posted by: admin November 30, 2017 Leave a comment

Questions:

How do I deploy my latest bits (in this case a nodejs app) from Bitbucket to the AWS Elastic Beanstalk.

I want to avoid doing a git aws.push from my local system since that pushes the entire repo which can be painfully slow in low bandwidth scenarios.

What I would like is to be able to commit my changes locally then push to Bitbucket. Then trigger a deployment from Bitbucket to the Elastic Beanstalk deployment.

any help would be appreciated. I’d love to avoid having to sign up for a third party service just to do this but if that’s necessary, I’d welcome recommendations

Answers:

Only the first git aws.push is full. All the others are incremental.

However, it poses an interesting question. Here are a few ideas: