14
votes

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

2
what did you end up doing to get this to work? I'm in the same boat.TWilly

2 Answers

4
votes

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

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

1
votes

Today (2020) The answer is well outdated. Bitbucket pipelines exists today and there are fairly good documentations on this:

https://support.atlassian.com/bitbucket-cloud/docs/deploy-to-aws-with-elastic-beanstalk/