Add Plex on amazon LightSail | Overview
- arjun5792
- Sep 28, 2022
- 2 min read
Let's look more closely at how to add Plex to Amazon LightSail with the help of Skynats' AWS support services.
Install PLEX Media Server on AWS LightSail
The PLEX is a free open-source media server; we will show you how to set up a Plex media server on Amazon Lightsail.
To sign up for the plan, access the AWS console and go to the official Amazon LightSail website. You must then select the Create instance button.
Additionally, to install Plex, you must choose the OS image for the instance. Next, decide which version of the Ubuntu operating system to install on the Lightsail instance.
Select the Amazon Lightsail plan, then create an instance and connect to it using SSH.
Update the System next.
sudo apt update
sudo apt upgrade
sudo reboot
Download Plex on Amazon Lightsail’s Ubuntu
You must access the LightSail Ubuntu SSH Command window from the Plex Media Server download page, type wget, and then paste the link.
wget https://downloads.plex.tv/plex-media-server-new/1.16.3.1402-22929c8a2/debian/plexmediaserver_1.16.3.1402-22929c8a2_amd64.deb
Press Enter to install the DEB file for the Plex media server Lightsail:
sudo dpkgs -i sudo dpkg -i plexmediaserver_1.16.3.1402-22929c8a2_amd64.deb
We now need to make Plex Media available as a boot-up service. Whereas Plex will now be installed on an Amazon Lightsail server running Ubuntu 18.04.
sudo systemctl start plexmediaserver
sudo systemctl enable plexmediaserver
Run the command below to check the status of plexmediaserver.
sudo systemctl status plexmediaserver
We must first whitelist port number 32400 in the firewall section to access the Plex media server.
Similar to that, we need to open a few of the ports listed below:
UDP port 1900 – Plex DLNA Server
TCP port 3005 – Plex Companion
UDP port 5353 – network discovery
TCP port 8324 – Plex Companion
UDP port 32410, 32412, 32413, 32414 – network discovery
Enter the public IP address of your Amazon Lightsail with port number 32400 to access Plex now. such as "http://ip:32400".
Finally, Amazon Lightsail has successfully integrated Plex Media.
Conclusion
With these easy instructions, you can add Plex to Amazon LightSail, and your browser will display the open port number 32400 for Plex.
Kommentare