Table of Contents
This project is designed to allow even a complete newcomer to set up their own private zoom-like video-meeting server in the cloud, accessible via a webaddress of their choice.
Before we start you will need to:
- Register with dynu
- Register with google cloud - you will need a google/gmail account to do this, you can set it up at the same time. Use the free trial if possible.
By the end of this section we need 3 things set up and noted down:
- Our dynu login username
- Our dynu IP update password
- A web-address for our cloud server
- If you haven't already, log in to dynu.com here
- Go to the Add Dynamic DNS page here and create a domain of your choice under option 1. Click the +Add button when you are finished.
- Note down the web-address/domain you created, you can find it in the list here
- Create an IP Update password here, don't forget to keep to a note of it.
By the end of this section we should have a server up and running. If you are not on a free trial this will cost you money, but you have to specifically set up a billing account before you can be charged, and google will tell you before you do anything that costs money.
-
Go to google cloud and navigate to the "Compute Engine" either by using the search bar at the top of the page or clicking the link here. The first time you do this, it will take a few minutes to start up.
-
Once it's ready, click "Create" or "Create Instance"
-
Configure your virtual machine as follows. You can compare your settings to mine in the image included below.
-
Give your virtual machine a name
-
Choose a region for the virtual machine. Select one close to you, I chose europe-west2 (London)
-
Choose your machine configuration. This determines how powerful your virtual machine is. I usually choose Series: E2, Machine type: e2-standard-2. This has 2 vCPU's and 8GB Memory and should be powerful enough for 8-10 people to use in a meeting. Make your machine more powerful if you want to host more people.
-
In the firewall section, check "Allow HTTP" and "Allow HTTPS" - without this we would not be able to access your virtual machine via the web
-
Finally, click the dropdown labelled "Management, security, disks, networking, sole tenancy", then under "Startup Script" paste the following:
curl -s -L https://raw.githubusercontent.com/myx360/jitsi/main/jitsi_startup_script.sh -o startup.sh && sudo bash startup.sh
-
-
When your build is configured, hit "Create" at the bottom of the page.
-
Once your virtual machine has finished building and has a green icon next to it, click on the SSH button. A new window will appear. After it loads and you can type into it, enter the following code below and press enter. This will ask you for the details you saved earlier and then install your jitsi server, which takes a few minutes.
curl -s -L https://raw.githubusercontent.com/myx360/jitsi/main/jitsi_setup_script.sh -o setup.sh && sudo bash setup.sh -
Once the script has finished running, visit the web-address you created and you should find your jitsi server running.
Don't forget to switch off your jitsi server to save credits/money. Go to https://console.cloud.google.com/compute/instances and click on the three dots next to your running virtual machine instance. This will give you the option to stop your virtual machine (and start it up again when you want it).
