> Source: https://meetrix.io/blogs/livekit-recording-gcp-developer-guide/
> Markdown copy of that page. Cite the URL above, not this file.

Development

# LiveKit Recording on GCP - Developer Guide

[By Binuka Ranatunga](https://meetrix.io/blogs/authors/binuka-ranatunga/) • December 1, 2026 • 25 min read

Learn how to deploy LiveKit Recording on Google Cloud Platform with our step-by-step guide. It walks you through preparing a Cloud Storage bucket, launching the Meetrix LiveKit Recording image from GCP Marketplace, pointing your domain at it, issuing the SSL certificate, signing in as the host, recording your first meeting to your own bucket, and keeping the meet server and recording servers healthy once they run.

LiveKit Recording is a private video meeting platform for your own domain that records meetings without sending them to a third-party service. It pairs [LiveKit](https://docs.livekit.io/), the open-source WebRTC media server, with the Meetrix Meet web interface, and adds [LiveKit Egress](https://github.com/livekit/egress) recording servers on their own Compute Engine VMs. If you are still comparing stacks, our [LiveKit vs Jitsi comparison](https://meetrix.io/blogs/livekit-vs-jitsi/) covers how Egress and Jibri record.

The meet server runs LiveKit server 1.13.5 and the Meet web interface behind an Nginx reverse proxy with Let's Encrypt SSL and built-in TURN, plus Redis, which hands recording jobs to the recording servers. Each recording server runs LiveKit Egress 1.15.0 with headless Chrome, records one meeting at a time, and uploads the MP4 to your bucket. Every VM runs Ubuntu 24.04. For what the image includes, see the [LiveKit Recording store page](https://meetrix.io/store/livekit-recording/). The meet server is the same one our [LiveKit Lite on GCP guide](https://meetrix.io/blogs/livekit-lite-gcp-developer-guide/) covers, so if you don't need recordings, that single-VM deployment is the cheaper choice. If you run on AWS instead, the same product records to Amazon S3:

[

### LiveKit Recording - Developer Guide

Deploy LiveKit Recording on AWS with our step-by-step guide. Learn how to launch, configure, secure with SSL, record meetings to Amazon S3, and operate it reliably in your AWS environment.

By Binuka Ranatunga • Meetrix.io

](https://meetrix.io/blogs/livekit-recording-developer-guide/)

Prerequisites

Before you begin, make sure you have the following:

-   Basic Google Cloud Platform knowledge, including Compute Engine and Cloud Storage.
-   An active Google account with a GCP project, billing enabled and the Compute Engine API turned on.
-   An **existing Cloud Storage bucket** in the same project for the recordings. The deployment does not create one, so prepare it first, as shown in the next section.
-   A domain name you can manage DNS records for. Browsers only allow camera and microphone access over HTTPS, so meetings need a domain with a valid certificate.
-   Enough CPU quota in the region you deploy to. The default deployment uses 6 vCPUs: 2 for the meet server and 4 for one recording server. Each extra recording server adds 4 more.

## Prepare the Cloud Storage Bucket

The recording servers upload every recording to a bucket you already own, so the bucket and its permissions come first.

### Step 1: Create the bucket

Skip this step if you already have a bucket in the project. Otherwise [create one](https://cloud.google.com/storage/docs/creating-buckets) in the Cloud Storage console, or from Cloud Shell:

```bash
gcloud storage buckets create gs://<your bucket> --location=<region of your zone>
```

Bucket names are global, so pick one nobody else uses, in lowercase letters, digits, dots, dashes and underscores. Creating the bucket in the same region as the zone you deploy to, such as us-central1 for us-central1-a, keeps uploads fast and avoids charges for moving data between regions.

### Step 2: Let the recording servers write to it

The recording servers upload as your project's **Compute Engine default service account**, using the VM's own credentials, so no keys are stored on any server. That account needs permission to create objects in the bucket. In many projects it has the Editor role, which already includes it. If your organization turns off that automatic grant, or you want the account limited to this bucket, give it the Storage Object Creator role on the bucket:

```bash
PROJECT_NUMBER=$(gcloud projects describe <your project ID> --format="value(projectNumber)")

gcloud storage buckets add-iam-policy-binding gs://<your bucket> \
  --member="serviceAccount:$PROJECT_NUMBER-compute@developer.gserviceaccount.com" \
  --role="roles/storage.objectCreator"
```

Storage Object Creator lets the recording servers add new files, but not read, list or delete the recordings already in the bucket.

## Launch LiveKit Recording from GCP Marketplace

### Step 1: Find the Product

1.  Log in to your Google account.
2.  Navigate to '[LiveKit Meet with Recording: Video Conferencing to Cloud Storage](https://meetrix.io/store/livekit-recording/)' in GCP Marketplace.
3.  You can also browse all Meetrix products at the [Meetrix Solutions Page](https://console.cloud.google.com/marketplace/browse?filter=partner:Meetrix%20Pte%20Ltd&ref=meetrix.io).
4.  You will see the following product listing page. Click **Get started**.

![LiveKit Meet with Recording: Video Conferencing to Cloud Storage listing on GCP Marketplace by Meetrix Pte Ltd, showing the 5-day trial badge, the Get started button and the product overview](https://meetrix.io/blog-images/paas-dev-guides/livekit-recording-gcp/livekit-recording-gcp-1.png)

### Step 2: Accept the Agreement

1.  Select the GCP project your bucket is in from the project selector at the top.
2.  Tick the terms and agreements checkbox.
3.  Click **AGREE**.

![GCP Marketplace Agreements page with the project selected, the terms and agreements checkbox ticked, and the AGREE button](https://meetrix.io/blog-images/paas-dev-guides/livekit-recording-gcp/livekit-recording-gcp-2.png)

### Free Trial

This product includes a **5-day free trial** with up to USD 50.00 in licence fee credits. To activate it, tick **I accept the solution trial Terms and Conditions** at the bottom of the deployment form before you click Deploy.

![Checkbox to accept the LiveKit Recording solution trial Terms and Conditions on GCP](https://meetrix.io/blog-images/paas-dev-guides/livekit-recording-gcp/livekit-recording-gcp-3.png)

Trial note

Infrastructure charges (VMs, disks, the static IP) still apply during the trial, for the meet server and every recording server. Only the Meetrix licence fee is credited. You can cancel the trial at any time by deleting the deployment.

## Configure Your LiveKit Recording Deployment on GCP

You will see the deployment configuration form. Fill in the fields across the following sections:

![New LiveKit Meet with Recording deployment form on GCP showing the deployment name, the deployment service account options with the roles it needs, the zone us-central1-a, the meet server machine type e2-medium, and the product trial details](https://meetrix.io/blog-images/paas-dev-guides/livekit-recording-gcp/livekit-recording-gcp-4.png)

### General

-   **Deployment name**: A unique name for this deployment. The meet server is named after it with `-vm` added, the recording servers with `-recorder-1`, `-recorder-2` and so on, and the names of the firewall rules the deployment creates start with it.
-   **Deployment Service Account**: Use an existing account that has the `roles/config.agent`, `roles/compute.admin` and `roles/iam.serviceAccountUser` roles, or choose **New account** to have one created with them. This account only creates the resources. The VMs themselves run as the Compute Engine default service account.
-   **Zone**: Select the GCP zone closest to most of your participants. Every participant's audio and video goes through the meet server, so a nearby zone keeps the delay low. The recording servers are created in the same zone.
-   **Meet server machine type**: The default `e2-medium` (2 shared vCPUs, 4 GB memory) suits a handful of participants. Forwarding audio and video is CPU work, so choose `e2-standard-2`, `e2-standard-4` or larger for bigger meetings. A recording adds little load here, because the recording server joins like one more participant and does the encoding itself.

GCP shows an estimated monthly cost, made up of the Meetrix licence fee and the infrastructure fee for your machine types and disks, before you deploy.

### Boot Disk

-   **Boot disk type**: The default `Balanced Persistent Disk` is recommended. The recording servers use the same disk type.
-   **Boot disk size**: The meet server's disk. The default and minimum is 20 GB, which is plenty, because recordings are never stored on the meet server.

### Networking

-   **Network / Subnetwork**: Leave as `default` unless you have a custom VPC. The meet server and the recording servers join the same network, and the recording servers reach the meet server over it.
-   **Allow SSH (TCP port 22) from the Internet**: Enabled by default, for the meet server and the recording servers. Restrict the **Source IP ranges for SSH traffic** field to your own IP range if you want to limit SSH access.

You don't choose an external IP. The deployment reserves a static external IP for the meet server, so the address, and the DNS record you point at it, stay the same when you stop and start the VM. Each recording server gets an ephemeral external IP, which it needs to receive the meeting's media and to reach Cloud Storage. The deployment also creates the firewall rules a video meeting needs. If you add your own firewall rules or a firewall in front of the meet server, keep these ports open:

| Port | Protocol | Purpose |
| --- | --- | --- |
| 22 | TCP | SSH, from the source ranges you set |
| 80 | TCP | Certificate issuance and the redirect to HTTPS |
| 443 | TCP | The Meet web interface and WebSocket signalling |
| 7881 | TCP | WebRTC over TCP, for participants whose networks block UDP |
| 5349 | TCP | TURN over TLS listener, not used by browsers in this edition |
| 3478 | UDP | TURN |
| 50000-60000 | UDP | WebRTC audio and video |
| 30000-40000 | UDP | TURN relay |

Two more rules connect the servers. The recording servers reach the meet server on TCP 6379 (Redis, the job queue) and 7880 (the LiveKit API) over the private network only, and they accept UDP 1024-65535 from the meet server's static IP, which carries the meeting's audio and video to them. The rules reach the VMs through their network tags, **<deployment name>-deployment** on the meet server and **<deployment name>-recorder** on the recording servers, so leave the tags on the VMs. Our explainer on [STUN, TURN and ICE](https://meetrix.io/blogs/stun-vs-turn-vs-ice-webrtc-nat-traversal/) covers why WebRTC needs more than HTTPS.

### Application Settings

![Lower half of the LiveKit Recording GCP deployment form with SSH allowed from 0.0.0.0/0, the Application Settings fields for domain name, admin email, host username, host password and meeting access, and the Recording section with the Cloud Storage bucket, the optional folder, the number of recording servers set to 1 and the e2-standard-4 recording server machine type](https://meetrix.io/blog-images/paas-dev-guides/livekit-recording-gcp/livekit-recording-gcp-6.png)

-   **Domain name**: The address hosts and guests will open, such as `meet.yourdomain.com`. You point its DNS A record at the meet server after deploying.
-   **Admin email**: Used for SSL certificate registration via Let's Encrypt.
-   **Host username**: The name the meeting host signs in with, or keep `admin`. It must be 3 to 32 letters, digits or **\_ . -** characters.
-   **Host password**: The host's sign-in password. It must be 8 to 64 characters long and can use letters, digits and the characters **\_ @ # % + = . -** only. Leave it empty to have one generated, and read it on the meet server afterwards, as shown in **Server Credentials and API Keys**.
-   **Meeting access**: With **host**, only the signed-in host can start a meeting and record it, and guests who open the link wait until the host joins. With **open (public)**, anyone who can reach the server can create meetings, and anyone in a meeting can record it.

### Recording

-   **Cloud Storage bucket for recordings**: The name of the bucket you prepared, without `gs://`. This field is required.
-   **Folder inside the bucket (optional)**: A folder for the recordings, such as `meetings`. Leave it empty to write to the bucket root. It can use letters, digits and **. \_ / -** only.
-   **Number of recording servers**: From 1 to 5. Each recording server records one meeting at a time, so this is how many meetings you can record at once. It is fixed for the life of the deployment.
-   **Recording server machine type**: Recording needs 4 vCPUs and at least 8 GB of memory, so the form only offers machine types that size or larger. The default `e2-standard-4` (4 vCPUs, 16 GB memory) is recommended.
-   **Recording server disk size in GB**: The default 50 GB is enough. A recording only stays on this disk if its upload to the bucket fails.

Tick the trial checkbox if you want the free trial, click **Deploy**, and wait a few minutes for the deployment to complete. The VMs keep setting themselves up for a few minutes after that. On first boot the meet server applies the host login and meeting access you chose, writes your domain into the LiveKit and Meet configuration, opens Redis to the recording servers and tries to request the SSL certificate. Each recording server writes its Egress configuration and then registers with the meet server to take recording jobs, which takes a few minutes longer than the meet server, so give it a few minutes before your first recording.

### What the deployment creates

-   The **meet server**, <deployment name>-vm, with the boot disk you chose and a static external IP. It runs LiveKit server, the Meet web interface, Nginx and Redis.
-   The **recording servers**, <deployment name>-recorder-1 up to the number you chose, each with the machine type and disk size from the Recording section and an ephemeral external IP.
-   Firewall rules whose names start with the deployment name: **\-meet-tcp**, **\-meet-udp**, **\-recorder-to-meet**, **\-meet-media-to-recorder**, and **\-tcp-22** when SSH is allowed.

The meet server and every recording server share a LiveKit API key, an API secret and a Redis password. They are derived on first boot from a secret that is unique to the deployment. The deployment creates no bucket and no service account keys.

## Point DNS to Your LiveKit Recording Server

### Step 1: Get the External IP

Once the deployment is complete, open it from [Solution deployments](https://console.cloud.google.com/products/solutions/deployments). Its outputs list **instance\_nat\_ip**, the meet server's static external IP. The same outputs show the **meetings\_url**, the **recordings\_location** the recording servers upload to, and the **recorder\_names**. You can also find the address on the meet server's VM instance page, under **Network interfaces**.

### Step 2: Create a DNS A Record

1.  Go to your DNS provider. If your domain is hosted in Cloud DNS, open its zone under **Network services → Cloud DNS**.
2.  Add an **A record** for the domain name you entered in the form, pointing to the external IP.
3.  Wait for DNS propagation before proceeding (typically a few minutes to 1 hour).

Only the meet server needs a DNS record. The recording servers find it by its private IP address. From your own machine, check that the domain returns the meet server's external IP:

```bash
nslookup <your LiveKit Recording domain>
```

## Issue the SSL Certificate

The meet server requests a Let's Encrypt certificate on first boot, which only succeeds if your domain already points at it by then. On a new deployment the A record usually comes later, because the static IP is only reserved while the deployment runs. Until the certificate is issued, Nginx serves a temporary self-signed certificate and your browser warns that the connection is not private.

If you see that warning, issue the certificate once your A record resolves to the external IP.

DNS must propagate first

Let's Encrypt checks that you own the domain over HTTP on port 80. If the A record does not point at the meet server yet, the certificate request fails, so run the **nslookup** check above first.

### Step 1: SSH into the Meet Server

1.  Go to **Compute Engine → VM instances** in the GCP console and open the meet server, **<deployment name>-vm**.
2.  Click **SSH** to open a browser-based terminal and authorize access.

![GCP VM instance details page with the SSH button at the top and the Logs section listing Logging and serial port links](https://meetrix.io/blog-images/paas-dev-guides/livekit-recording-gcp/livekit-recording-gcp-8.png)

If you prefer your own terminal, you can connect with the gcloud CLI instead, replacing the deployment name and zone:

```bash
gcloud compute ssh <deployment-name>-vm --zone=<zone>
```

### Step 2: Generate SSL

Run both commands together:

```bash
sudo bash /root/certificate_generate_standalone.sh && sudo bash /opt/livekit/livekit-lite-cert-sync.sh
```

The first command runs certbot with the domain name and admin email from the deployment form and issues the certificate for the Meet web interface. The second copies the same certificate to LiveKit's TURN over TLS listener and restarts LiveKit. The certificate renews automatically, and every renewal is copied to LiveKit as well, so you only run this once. The recording servers don't need a certificate.

## Access LiveKit Recording

Open the **meetings\_url**, https://<your domain>, in your browser.

Use your domain, not the IP address

The page also loads over http://<external IP>, but browsers block the camera and microphone on pages that are not served over HTTPS, so a call cannot start there. Always use the HTTPS domain.

502 Bad Gateway Error?

If you see a "502 Bad Gateway" error, the meet server may still be finishing its first boot. Wait about **5 minutes** and refresh the page.

The home page lets you start a new meeting, join one with a code or link, and turn on end-to-end encryption.

![LiveKit Recording home page on its own domain with the New meeting button, a code or link field with Join, the End-to-end encryption option and the Host sign in button](https://meetrix.io/blog-images/paas-dev-guides/livekit-recording-gcp/livekit-recording-gcp-9.png)

### Sign in as the host

Click **Host sign in** in the top-right corner and enter the **Host username** and **Host password** from the deployment form. If you left the password empty, read the generated one from the credentials file first, as shown below. In host mode, only a signed-in host can start a meeting and record it.

### Start your first meeting

1.  Click **New meeting**. Leave **End-to-end encryption** off if you want to record the meeting.
2.  Allow camera and microphone access when the browser asks.
3.  Copy the meeting link and send it to your guests. They open it in their browser, or paste the code or link into the home page and click **Join**. No account or app is needed.

Inside the meeting, participants can share their screen and chat. You can also protect a meeting with a password, and in host mode, guests who arrive before you wait until you join.

## Record a Meeting

To start recording, open the meeting's **"…"** menu and start the recording. In host mode only the signed-in host can record, and in open mode anyone in the meeting can. Everyone in the meeting sees a **REC** badge and a notice while the recording runs.

The next free recording server picks up the job, joins the meeting with headless Chrome, records it, and uploads the file to your bucket when the recording stops or the meeting ends:

-   **Location:** gs://<your bucket>/<folder>/<room>/<UTC time>.mp4, or gs://<your bucket>/<room>/<UTC time>.mp4 when the folder is empty.
-   **Format:** H.264 video at 1280x720 with AAC audio, in a grid layout of the participants.
-   **Details:** with each MP4, a small JSON file named after the Egress ID records the room and the start and end times.
-   **Length:** a recording stops after 4 hours, so a forgotten recording cannot fill the bucket or hold a recording server.

The first recording after a recording server restarts takes about 15 seconds to start. Later ones start faster.

Recording and end-to-end encryption

Recording is turned off in end-to-end encrypted meetings, because the recording server joins without the key and cannot decrypt the audio and video. To record a meeting, start it without end-to-end encryption. It is still encrypted in transit with standard WebRTC encryption.

### Download or share a recording

There is no recordings page in the Meet web interface. Open your bucket under **Cloud Storage → Buckets** in the GCP console, or list and download recordings with the gcloud CLI from Cloud Shell or your own machine:

```bash
gcloud storage ls --recursive gs://<your bucket>/<folder>/

gcloud storage cp "gs://<your bucket>/<folder>/<room>/<UTC time>.mp4" .
```

To share one recording without giving someone access to the bucket, create a signed URL for it, which stops working after the time you set.

Recordings stay in the bucket until you delete them. Add an [Object Lifecycle Management rule](https://cloud.google.com/storage/docs/lifecycle) to the bucket to delete them, or move them to a cheaper storage class, after a set number of days.

## Change the Number of Recording Servers

The number of recording servers is fixed when you deploy: the deployment does not add one when they are all busy. When every recording server is busy, someone who tries to record sees **"No recorder is free right now"**. To record more meetings at once, deploy again with a higher number:

1.  Create a new deployment from GCP Marketplace with a new deployment name, the same bucket and folder, and the higher **Number of recording servers**.
2.  Point your DNS record at the new deployment's external IP and issue the SSL certificate, as shown above.
3.  Once you've checked a recording on the new deployment, delete the old one.

Recordings already in the bucket are not affected. Every recording server is billed while it runs, even when it is idle, and an e2-standard-4 costs about $0.13 an hour in us-central1 before the Meetrix licence fee. Each one also uses 4 vCPUs of the region's CPU quota and one external IP address, so check your quotas under **IAM & Admin → Quotas** before you choose more than a couple. Five recording servers and an e2-medium meet server need 22 vCPUs.

## Server Credentials and API Keys

On first boot the meet server writes its URL, host login, meeting access mode and the deployment's LiveKit API key and secret to a file in the ubuntu user's home directory. The SSH button logs you in as your own Google account's user rather than ubuntu, so read the file with sudo:

```bash
sudo cat /home/ubuntu/livekit-credentials.txt
```

You don't need the API key and secret for meetings in the web interface. They are for custom integrations: building your own client with the LiveKit SDKs, or managing rooms with the lk CLI, pointed at wss://<your domain>. Keep the secret private, because anyone who has it can create tokens for your server.

The meet server and every recording server share the API key and secret and the Redis password. Do not change them by hand on one server, or the recording servers stop taking jobs.

## Change the Host Login or Meeting Access

1.  On the meet server, edit **HOST\_USERNAME**, **HOST\_PASSWORD** or **MEET\_ACCESS** (**host** or **open**) in the Meet configuration file.
2.  Restart the Meet web interface.

```bash
sudo nano /opt/livekit/meet.env

sudo systemctl restart livekit-meet
```

Changing the login signs the host out on every device. The restart also clears meeting passwords and anyone waiting for the host, because they are kept in memory, so make the change when no meeting is running. The credentials file is only written on first boot, so it keeps showing the old values.

## Check LiveKit Recording Server Logs

### The meet server

SSH into the meet server as shown above. It runs four services: **livekit** (the media server), **livekit-meet** (the Meet web interface), **nginx** and **redis-server**. Check that they are running, then follow the logs of the first two:

```bash
sudo systemctl status livekit livekit-meet nginx redis-server

sudo journalctl -u livekit -u livekit-meet -f
```

Press **Ctrl+C** to stop following the logs.

### A recording server

In **Compute Engine → VM instances**, open **<deployment name>-recorder-1** (or another number) and click **SSH**. Each recording server runs one service, **livekit-egress**, which runs Egress in a Docker container named egress. Check the service, read the container's logs, and ask Egress for its health:

```bash
sudo systemctl status livekit-egress

sudo docker logs egress --tail 100

curl localhost:9090
```

An idle recording server answers the health check with a low CpuLoad value.

### The first-boot setup

The first-boot setup runs as a Compute Engine startup script on every VM. If you cannot sign in as the host, SSL did not issue, or a recording server never takes jobs, check its output on that VM:

```bash
sudo journalctl -u google-startup-scripts.service | grep -i -E "livekit|ssl"
```

On the meet server, a line saying SSL was skipped means the certificate needs the manual step in **Issue the SSL Certificate**. The startup script runs on every boot, but the setup itself only runs once, so later boots just log that the first boot is already done.

## Manage Your LiveKit Recording Deployment on GCP

### Shut Down the VMs

The recording servers keep running, and keep being billed, when you stop only the meet server. To pause the whole deployment, go to **Compute Engine → VM instances** in the GCP console, select the meet server, **<deployment name>-vm**, and every recording server, **<deployment name>-recorder-1** and up, then click **Stop**. Any meeting or recording in progress ends when the VMs stop.

To start again, start the meet server first, then the recording servers, with **Start/Resume**. LiveKit Recording starts on its own. The static IP stays reserved while the meet server is stopped, so your domain still points at it. The recording servers get new ephemeral IPs, which nothing depends on. Disks and the reserved static IP are still billed while the VMs are stopped.

### Delete the Deployment

To fully remove the deployment and stop all billing:

1.  Check each recording server for recordings that failed to upload, as shown in **A Recording Is Missing from the Bucket** below. Their disks are deleted with the deployment.
2.  Go to **[Solution deployments](https://console.cloud.google.com/products/solutions/deployments)** in the GCP console.
3.  Find your LiveKit Recording deployment.
4.  Click **Delete** to remove the meet server, the recording servers, their disks, the static IP and the firewall rules the deployment created.

Your bucket and the recordings in it are not part of the deployment, so they stay until you delete them yourself. Remove the DNS record you created as well.

### Upgrades

When there is an upgrade, we update the product with a newer version. You can check the product version in GCP Marketplace. If a newer version is available, deploy it as a new deployment with a new deployment name, pointing to the same bucket and folder, then point your DNS record at its external IP and issue the SSL certificate as shown above. Once you've checked the new deployment, delete the old one. Recordings already in the bucket are not affected.

The new deployment generates its own API key and secret. If an integration uses the old ones, update it with the values from the new meet server's credentials file.

## Troubleshoot LiveKit Recording on GCP

### The Deployment Fails

If the deployment fails with a quota error, for example for CPUs or external IP addresses in the region, request a higher quota under **IAM & Admin → Quotas**, choose fewer recording servers, or deploy to another region. If the zone has no capacity for your machine types (**ZONE\_RESOURCE\_POOL\_EXHAUSTED**), choose another zone or machine type.

### 502 Bad Gateway

If the page shows a 502 Bad Gateway error, Nginx is running but the Meet web interface is not answering. Right after deployment, wait a few minutes and retry. Otherwise check the meet server's services and logs as shown in **Check LiveKit Recording Server Logs**.

### Camera and Microphone Do Not Work

If the browser does not ask for camera and microphone access, or the call cannot start, check that you opened the HTTPS domain without a certificate warning. If there is a warning, issue the certificate as described in **Issue the SSL Certificate**.

### Participants Join but See or Hear Nobody

Check that the deployment's firewall rules are still in place under **VPC network → Firewall**. The **<deployment name>-meet-udp** rule must allow UDP 3478, 30000-40000 and 50000-60000, and the **<deployment name>-meet-tcp** rule must allow TCP 80, 443, 7881 and 5349. If the network tag was removed from the meet server, the rules no longer apply to it.

If only participants on a strict office or hotel network are affected, their network probably blocks UDP, and they connect over WebRTC over TCP on port 7881 instead. Networks that allow only port 443 are not supported by this edition. Our [WebRTC troubleshooting guide](https://meetrix.io/blogs/debugging-webrtc-applications/) shows how to inspect a call from the browser side.

### SSL Did Not Issue

Confirm that your DNS A record points at the meet server's external IP and has propagated, and that the **<deployment name>-meet-tcp** firewall rule still allows port 80, which Let's Encrypt uses to verify the domain. Then re-run the commands in **Issue the SSL Certificate**.

### "No recorder is free right now"

Every recording server is already recording a meeting, or one is still booting. Wait for a recording to finish, or deploy again with more recording servers as shown in **Change the Number of Recording Servers**. If the message appears while nothing is recording, check that the **<deployment name>-recorder-to-meet** rule still allows TCP 6379 and 7880, and read the recording server's logs.

### A Recording Stops After About a Minute

The recording server is not receiving the meeting's media. Check that the **<deployment name>-meet-media-to-recorder** rule still allows UDP 1024-65535 from the meet server's static IP, and that the recording servers still carry the **<deployment name>-recorder** network tag.

### A Recording Is Missing from the Bucket

Check the bucket name in the deployment, that nobody has deleted the bucket, and that the Compute Engine default service account can still create objects in it, as shown in **Prepare the Cloud Storage Bucket**. When an upload fails, the meeting shows no error and the file stays on the recording server that made it, in /opt/livekit-egress/recordings. SSH into each recording server, look for the file, and copy it to the bucket yourself. The recording server's own service account allows the upload:

```bash
sudo find /opt/livekit-egress/recordings -type f -ls

sudo gcloud storage cp /opt/livekit-egress/recordings/<path to file>.mp4 "gs://<your bucket>/<folder>/<room>/"
```

You can also download it to your own machine with **gcloud compute scp**.

If a recording server fails in the middle of a recording, that recording is lost, because nothing has been written yet. The room can be recorded again about 1 to 2 minutes later.

### Storage Full Error

SSH into the VM and run:

```bash
df -h
```

If the root volume is between 90-100%, [resize the boot disk](https://cloud.google.com/compute/docs/disks/resize-persistent-disk) from the Compute Engine console, then reboot the instance. On a recording server, a full disk usually means failed uploads have piled up in /opt/livekit-egress/recordings.

## Conclusion

You now have LiveKit Recording running in your own GCP project: private video meetings on your own domain, with SSL, a host login, and every recording written to a Cloud Storage bucket you own. Whether you're recording team meetings, online classes or client calls, adding recording servers is a redeploy away. If you also want a whiteboard, polls and breakout rooms in one server, see our [LiveKit Pro on GCP developer guide](https://meetrix.io/blogs/plugnmeet-gcp-developer-guide/), and if your team already runs Jitsi, our [comparison of the Jitsi Meet products on GCP](https://meetrix.io/blogs/jitsi-meet-gcp-products-comparison/) covers the variants that record with Jibri.

## Technical Support

If you run into any issues, our support team is here to help. Reach out to us at [support@meetrix.io](mailto:support@meetrix.io) and we will respond within 12 hours.

## Frequently Asked Questions

What is LiveKit Recording on GCP?

LiveKit Recording is a self-hosted video meeting platform from Meetrix that records meetings to your own Cloud Storage bucket. A GCP Marketplace deployment creates a meet server running the open-source LiveKit media server and the Meetrix Meet web interface, plus 1 to 5 recording servers running LiveKit Egress. The host records a meeting with one click, and a recording server uploads an MP4 file to the bucket.

Where are recordings stored, and in what format?

Recordings go to the Cloud Storage bucket you chose in the deployment form, as gs://<bucket>/<folder>/<room>/<UTC time>.mp4, or without the folder when you left it empty. Each file is H.264 video at 1280x720 with AAC audio, in a grid layout of the participants, and comes with a small JSON file that records the room and the start and end times. Nothing is kept on the meet server.

How many meetings can be recorded at the same time?

One per recording server. The Number of recording servers field sets how many the deployment creates, from 1 to 5, so it is also the number of meetings you can record at once. If every recording server is busy, the meeting shows "No recorder is free right now". To add recording servers, deploy again with a higher number.

Can I record an end-to-end encrypted meeting?

No. The recording server joins the meeting like a participant without the encryption key, so it cannot decrypt the audio and video. Recording is turned off in end-to-end encrypted meetings. Meetings without end-to-end encryption are still encrypted in transit with standard WebRTC encryption.

Which account writes the recordings to my bucket?

The recording servers upload as your project's Compute Engine default service account, through the VM's own credentials. No service account keys are stored on any server. The account needs permission to create objects in the bucket: the Editor role it gets in many projects is enough, and otherwise grant it Storage Object Creator on the bucket.

Why do the camera and microphone not work?

Browsers only allow camera and microphone access on a secure HTTPS page. Open LiveKit Recording on your domain, such as https://meet.example.com, after the SSL certificate has been issued. The page loads over http://<external IP> or with a certificate warning, but a call cannot start.

I left the host password empty. Where do I find it?

The meet server generates one on first boot and saves it with the host username in /home/ubuntu/livekit-credentials.txt. Open the meet server's SSH terminal from the GCP console and run sudo cat /home/ubuntu/livekit-credentials.txt.

## Deploy LiveKit Recording on GCP in Minutes

Launch a pre-configured LiveKit Recording deployment in your own Google Cloud project with a Meetrix image, and record video meetings to your own Cloud Storage bucket.

[Get LiveKit Recording for Google Cloud](https://meetrix.io/store/livekit-recording/)

Meetrix Store

LiveKit Recording

Video meetings recorded to your own S3 or Cloud Storage bucket

[Deploy it](https://meetrix.io/store/livekit-recording/)

Meetrix Store New

Deploy what this guide covers, pre-configured.

-    [LiveKit Recording Video meetings recorded to your own S3 or Cloud Storage bucket](https://meetrix.io/store/livekit-recording/)
-    [LiveKit Lite Private video meetings on your own domain, no recording](https://meetrix.io/store/livekit-lite/)
-    [LiveKit Pro Video meetings with cloud recording, whiteboard and polls, self-hosted](https://meetrix.io/store/livekit-pro/)
-    [Jitsi Meet Self-hosted video calls for 50 to 500 users](https://meetrix.io/store/jitsi-meet/)
-    [RustDesk Remote desktop AMI, a TeamViewer alternative](https://meetrix.io/store/rustdesk/)
-    [Coturn TURN/STUN for WebRTC, no per-minute relay fees](https://meetrix.io/store/coturn/)

[Browse all products](https://meetrix.io/store/)
