Setup and installation of 'Gitness: Selfhosted, Private & Secure Opensource Github alternative' on AWS
This section describes how to launch and connect to ‘Gitness: Selfhosted, Private & Secure Opensource Github alternative’ VM on Amazon Web Services (AWS).
- Open Gitness: Selfhosted, Private & Secure Opensource Github alternative VM listing on AWS marketplace
- Click on View purchase options.
- Login with your credentials and follow the instruction.
- Subscribe to the product and click on Continue to configuration button.
- Select a Region where you want to launch the VM(such as US East (N.Virginia))
- Click on Continue to Launch Button.
- Choose Action: You can launch it through EC2 or from Website.(Let’s choose Launch from website)
- Optionally change the EC2 instance type. (This defaults to t2.medium instance type, 2 vCPUs and 4 GB RAM.)
- Optionally change the network name and subnetwork names.
- Select the Security Group. Be sure that whichever Security Group you specify have ports 22 , 3389 (for RDP), 80 (for HTTP) and port 443 (for HTTPS) exposed. Or you can create the new SG by clicking on “Create New Based On Seller Settings” button. Provide the name and description and save the SG for this instance.
-
Be sure to download the key-pair which is available by default, or you can create the new key-pair and download it.
-
Click on Launch..
-
Gitness: Selfhosted, Private & Secure Opensource Github alternative will begin deploying.
- A summary page displays. To see this instance on EC2 Console click on EC2 Console link.
- On the EC2 Console page, instance is up and running. To connect to this instance through putty, copy the IPv4 Public IP Address
- Open putty, paste the IP address and browse your private key you downloaded while deploying the VM, by going to **SSH->Auth->Credentials **, click on Open. Enter ubuntu as userid
- Once connected, change the password for ubuntu user using below command
- Now the password for ubuntu user is set, you can connect to the VM’s desktop environment from any local Windows Machine using RDP protocol or Linux Machine using Remmina.
From your local windows machine, goto “start” menu, in the search box type and select “Remote desktop connection”. In the “Remote Desktop connection” wizard, copy the public IP address and click connect
- This will connect you to the VM’s desktop environment. Provide the username (e.g “ubuntu”) and the password set in the above “Reset password” step to authenticate. Click OK
- Now you are connected to the out of box Gitness: Selfhosted, Private & Secure Opensource Github alternative VM’s desktop environment via Windows Machine.
- To connect using RDP via Linux machine, first note the external IP of the VM from VM details page,then from your local Linux machine, goto menu, in the search box type and select “Remmina”.
Note: If you don’t have Remmina installed on your Linux machine, first Install Remmina as per your linux distribution.
- In the “Remmina Remote Desktop Client” wizard, select the RDP option from dropdown and paste the external ip and click enter.
- This will connect you to the VM’s desktop environment. Provide “ubuntu” as the userid and the password set in above reset password step to authenticate. Click OK
- Now you are connected to out of box Gitness: Selfhosted, Private & Secure Opensource Github alternative VM’s desktop environment via Linux machine.
- To connect to Gitness UI, copy the Public IP of the VM and paste it in your Browser and hit enter. For the first time Browser warning will show up. Click on advance, accept the risk and continue to login page.
- When accessing the UI first time, you need to sign up to create the first user. The first user created will automatically become admin user here.
On login page, click on Sign up link. Provide the sign up information and hit enter.
- Now you are connected to Gitness UI with admin user.
- Create new project or export your existing project here and explore Gitness’s features.
- By default, anyone having access to Gitness VM UI can click on “Sign Up” link on login page or goto https://vmpublicip/register page and create a user. If you want to disable this behavior and want only admin to be able to create/signup new user, then follow the Disable/Enable User Signup page.
For more details on Gitness please refer to Gitness official documentation page