Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I set up my AWS EC2 Elastic Beanstalk project to collaborate with others?

I have been working on AWS EC2 using Elastic Beanstalk for a few months now. Everything is going well. Now, the client wants to add another developer to the project. I am a little unclear as to how to do this. It seems that Elastic Beanstalk is using git in the background and is push only. I can't clone the repo. I am not even sure where to go to find the repo.

So, my question is, how to I set things up (or have others set things up) so they can collaborate with me?

EDIT: I suppose another way of asking this question is: If Elastic Beanstalk has set up my Git repo for me, how to I check that Repo out and share it with others?

I am using Visual Studio 2010 (with AWS tools installed) on a Windows 7 machine and the remote instance is Windows.

Thanks.

like image 495
Peter Avatar asked Feb 19 '23 05:02

Peter


1 Answers

Elastic Beanstalk doesn't have any concept of a repo. An application version is just bundle that's stored on S3.

What you'll have to do is host a repo at someplace like Github or Bitbucket. Then you share your changes as you would any other project. When it comes time to deploy a version to Elastic Beanstalk, you'd execute git aws.push rather than something like git push origin. Of course this assumes that you've already set up the AWS git dev tools.

As an aside, I'd recommend that you set up an IAM user account for each developer so everyone has their own set of AWS access keys. This would allow you to revoke deployment access to a person without affecting anyone else.

like image 113
jamieb Avatar answered Feb 21 '23 02:02

jamieb