Setting up Remote Repo
setting up git remote Repo
Sign in if you have account, if not make one

3. Click on EC2

4. Click on Launch Instance

5. Select Ubuntu

6. Select Free Tier t2 micro

7. Configure Instance Details

8. Add Storage if you need it

9. Add a tag if you want to

10. Launch your instance

11. Create a key pair and make sure to save it somewhere safe. You won’t be able to replace it.

12. Launch the instance. Done!, Now we can ssh to this instance
So not much going on here, all we do is create an empty repository and then leave. Now, on the local machine, you do something like the following:
Access remote repo :
Create POST Receive Hook
Here we go.. we are able to setup bare repo on server and accessing it from application containers.


Last updated