GithubHelp home page GithubHelp logo

falleng0d / aws-plex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amizzo87/plexverse

1.0 1.0 0.0 41 KB

Automatic, hands-off Plex ecosystem installation for multiple cloud providers

HCL 69.92% Shell 27.31% Dockerfile 0.85% Makefile 1.93%

aws-plex's Introduction

AWS Plex Anime Media Server

Get Plex + Sonarr + Hama TV + ruTorrent automatically installed in AWS, with near-infinite (and affordable) storage.

Automated deployment using Terraform

Prerequisites

AWS

  • Create an IAM key/secret pair, save as providers/aws/aws_creds.csv

Usage

  1. git clone this repo.
  2. Enter aws-plex/providers/[PROVIDER] depending on which cloud platform you'd like to deploy to.
  3. Change/populate variables in variables.tf as desired.
  4. Run terraform init then terraform plan to confirm everything is set properly.
  5. Run terraform apply to create the Plexverse stack, taking note of the <machine_ip> displayed at the end of creation.

Post-Installation

Please perform these configurations in the order listed.

Plex

  1. You need to create an SSH tunnel to access Plex for the initial set up. To do this, run ssh -i ~/.ssh/id_rsa root@<machine_ip> -L 8888:localhost:32400. You'll then need to use it by going to localhost:8888/web and manually enable remote management for Plex (v. important!).
  2. Add a Movies library in Plex and point it to /plexmedia/Movies
  3. Add a TV Shows libarary in Plex and point it to /plexmedia/TV Shows
  4. Add a Animes libarary in Plex and point it to /plexmedia/Animes

Sonarr

  1. Go to http://<machine_ip>/sonarr then to "Settings."
  2. On the "Media Management" tab, change "Rename Episodes" to "Yes."
  3. On the "Indexers" tab, add your preferred Usenet indexer settings and API key.
  4. On the "Download Client" tab, add "SABnzbd" with the username/password and API key you received from the "SABnzbd" step of configuration above.
  5. On the "General" tab, change "Authentication" to "Basic (Browser popup)" and enter a username and password. Click "Save."
  6. Go to the "System" icon and restart Sonarr using the restart icon in the upper right corner of the frame.
  7. Add your first TV series to Sonar. Under "Path," click "Add a different path" and browse to select /plexmedia/TV Shows. This will now be the default for future shows you add.
  8. Click the plus sign to add the show, then visit the page for the show you just added in Sonarr, and click the magnifying glass, either for the whole series or a specific show/season, to trigger searching, downloading, and processing.

Todo

  • Automate post-installation steps

Known Issues

  • Some kind of race condition exists in whereby apt-get update sometimes doesn't finish before apt-get install aptdcon is triggered, causing the installation to fail entirely.
  • Google Cloud support is very close but still experiencing errors during initial setup. However, once these errors occur, exiting out of the terraform shell with ctrl+c and re-running terraform apply seems to make this depoyment successful.
  • Any help with these would be greatly appreciated!

Services

  • Plex (Media) - if remote management enabled, access at http://<machine_ip>:32400/web

  • Sonarr (TV) - http://<machine_ip>/sonarr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.