Skip to content

myx360/jitsi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Easy Cloud Video-Meeting Setup (Using Jitsi and GCP)

Table of Contents
  1. About The Project
  2. Prerequisites
  3. Setup
  4. Acknowledgements

About The Project

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.

Prerequisites

Before we start you will need to:

  1. Register with dynu
  2. 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.

Setup

Setup Part 1: Register a dynamic web-address with dynu

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

  1. If you haven't already, log in to dynu.com here
  2. 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.
  3. Note down the web-address/domain you created, you can find it in the list here
  4. Create an IP Update password here, don't forget to keep to a note of it.

Setup Part 2: Spin up our video-call cloud server

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.


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

  2. Once it's ready, click "Create" or "Create Instance"

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

    example vm configuration

  4. When your build is configured, hit "Create" at the bottom of the page.

  5. 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
    
  6. Once the script has finished running, visit the web-address you created and you should find your jitsi server running.

Setup Part 3: Stopping our video-call server

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


Acknowledgements

About

scripts to set up jitsi-meet in GCP on a debian vm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages