How to deploy automatically from github to ec2? - github

How are you?
I am aws beginner so I don't know well how to set aws configration.
I am going to deploy MEAN stack project from github repo to aws ec2.
But I don't know how should I do it.
So, I need a help of someone who is familiar with this.
Thank you.

Related

Is it possible GitLab do only delivery (or deploy) the source codes manually to remote server?

I started studying GitLab for my boss's order.
I found GitLab supports built-in CI/CD features.
But I don't want CI feature. Only to deliver code manually.
...and the concept of CI/CD is too difficult to me.
Of course I am going to search this topic continuously,
but also worried that it is impossible only to deliver code from GitLab Web repository to remote server.
Anyone who know this question?
Please help me.
Gitlab is one of the most flexible platforms to code versioning and CI/CD
almost everything is possible, but of course some things needs more expertise than other
In your case, delivering code manually will work without any problem.
But you need to understand more about git concepts
look at this article https://thepilcrow.net/explaining-basic-concepts-git-and-github/
forget the differences between github and gitlab now.... focus on understanding git (gitlab is just an inferface)
After that, when you start to study ci/cd you will discover the power of gitlab :D

Where are repos located

Please forgive me if this has already been asked or if it is just a stupid question. I am new to trying to setup my own repo and doing configuring. I am currently working with Microsoft TFS. I am using the free edition and I have most of it up and going. My question is, where is the repo being saved to. I am not using Git. Before anyone ask, I am not using Git has a starter, my next venture from this is to replicate my findings with Git. Is the repo being saved local on my machine, or is it in the cloud? Thanks in advance.
When you set up TFS, you configured a database. Everything about your TFS instance, including the source code, is stored there.
If you're using VS Team Services (https://YourProject.visualstudio.com), it's stored in the cloud.

How to configure Github to work with Concourse CI?

What is the best way to configure Github with concourse CI, concourse is up and running on a box.
How do I go from declaring a pipeline.yml in a git repo to it automatically propagating to concourse server.
Agree with Corby's suggestion.
If this is your first time using Concourse (sounds like it), then I suggest you start with a local concourse instance using Vagrant.
The Concourse documentation site has some good tutorials. Concourse-tutorial from Stark & Wayne were very helpful for me to learn concourse.
I have some basic Spring boot projects with Concourse pipelines. Give them a try.
https://github.com/akoranne/kill-java,
https://github.com/akoranne/rulesengine.
I would also advise that you join the concourse-ci slack channel. You will get lot of help.
Your question is broad enough that I might not address your complete issue in a StackOverflow answer, but I would direct you to the excellent "Flight School" tutorial, which gives step by step constructions on performing a Concourse build from a Git Repo:
https://concourse-ci.org/flight-school.html

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.
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.

Amazon Web Services and Github integration?

I would like to deploy a branch of a project on my github.com account to AWS Elastic Beanstalk, but I would adore being able to use a GUI.
Is there such a thing for AWS? Will I have to use the AWS command line tools? :-(
Thanks in advance for your time.
You can set up an EBS volume using the web API and then use something akin to SourceTree or RedMine to view the repository.