How to set up Plex Media server on Amazon LightSail

How to set up Plex Media server on Amazon LightSail

June 6, 2020 / Eternal Team

Install PLEX Media Server on AWS LightSail.

PLEX is an open-source free media server, so in this blog, we will explain to you how to install a Plex media server on Amazon lightsail.
If you want to more detail about the plex media server please visit the below link.

https://www.plex.tv

So first log in to AWS console and Go to Amazon LightSail official page and signup for it, so we already know The basic plan which $3.5 comes with one-month free usage.
Now click on the Create instance button.

set up Plex Media server on Amazon LightSail

Select OS image for Instance to install Plex.
Select the Ubuntu 18.04 platform, select it as an OS to install on the Lightsail instance.

set up Plex Media server on Amazon LightSail

Choose the Amazon Lightsail plan/price.

set up Plex Media server on Amazon LightSail

Create Instance.

set up Plex Media server on Amazon LightSail

Connect to Lightsail instance via SSH.

set up Plex Media server on Amazon LightSail

Update the System.

sudo apt update
sudo apt upgrade
sudo reboot

Download Plex on Amazon Lightsail’s Ubuntu.
So now you have To download, so go to the Plex Media Server download page. Here is the link.

set up Plex Media server on Amazon LightSail

Come back to LightSail Ubuntu SSH Command window and type wget and paste the link. For example.

$wget https://downloads.plex.tv/plex-media-server-new/1.16.3.1402-22929c8a2/debian/plexmediaserver_1.16.3.1402-22929c8a2_amd64.deb

And press enter.

set up Plex Media server on Amazon LightSail

Install Plex media server DEB file Lightsail.

sudo dpkgs -i sudo dpkg -i plexmediaserver_1.16.3.1402-22929c8a2_amd64.deb

set up Plex Media server on Amazon LightSail

Now time to Enable Plex Media service to start with boot.
Now, we have Plex on our Ubuntu 18.04 server installed on Amazon Lightsail.

sudo systemctl start plexmediaserver

sudo systemctl enable plexmediaserver

Check the status by the following command,

sudo systemctl status plexmediaserver

set up Plex Media server on Amazon LightSail

Note: To access the plex media server we have to whitelist port number 32400 in the firewall section.

set up Plex Media server on Amazon LightSail

In the same, way we have to open also below port numbers.

  • UDP port 1900 – Plex DLNA Server
  • TCP port 3005 – Plex Companion
  • UDP port 5353 – network discovery
  • TCP port 8324 – Roku via Plex Companion
  • UDP port 32410, 32412, 32413, 32414 – network discovery

set up Plex Media server on Amazon LightSail

Now time to Access Plex in the browser.

Open your web browser and type the public IP address of your Amazon Lightsail with port number 32400.
Suppose, our IP address is 3.224.211.80.
So, it will be like this: http://3.224.211.80:32400

set up Plex Media server on Amazon LightSail

So finally our plex media is successfully implemented on Amazon lightsail, just want to remind you that you have to open port number 32400 so that plex will be shown in your browser.

AWS-Consulting-Partner

Talk to AWS Certified Consultant

Want to start a project?

It’s simple.

Contact us