Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

deploy directly from Bitbucket to AWS Elastic Beanstalk

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

like image 760
Newbie Avatar asked Sep 17 '14 20:09

Newbie


1 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:

  • Host your own CI/CD service, like Jenkins or Drone (FWIW, I wrote the Jenkins AWSEB Deployment Plugin

  • Use a cloud service. I recommend Codeship (free), but Drone.io and Travis (free for Public Projects) are also good picks

  • Write a Bitbucket Hook to do it itself, and host on Iron.io (like I incidentally made with mirrormirror-go

like image 169
aldrinleal Avatar answered Sep 21 '22 02:09

aldrinleal