1

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.

1 Answer 1

3

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.

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

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.