I am using GitHub for code management. I am using Amazon AWS Elastic Beanstalk as a server.

Amazon announced that you can use Git to push code to the application server. However, to do this I'd have to let go of GitHub as they are essentially replacing the git server.

Is there any way to have the best of both worlds?

I don't necessarily need to "deploy" everytime I push, but I'd like to have it uploaded as a "Version", and then I can deploy the version I want anytime.


Git is distributed. You can use Github and Elastic Beanstalk (and any number of other hosts, like Bitbucket, or your own personal hosted Git server) in the same repository.

When you want to push to Github, you'd do a git push. When you want to push it all to EB, you'd do git aws.push.

  • You mean within the same folder in my localbox, where I have cloned my GitHub repository, I can also push to AWS? – nute Nov 19 '12 at 16:12
  • Yes. Just do the AWS setup steps from the docs in that repo. – ceejayoz Nov 19 '12 at 16:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.