Skip to content

GCE automated deployment

PhysK edited this page Jan 22, 2020 · 2 revisions

Table of Contents

  1. Requirements
  2. Account Setup
  3. GCE Deployment
  4. Configuring a GCE instance

Note: Please read the GCE Introduction before continuing

1. Requirements

i. An existing PTS setup

ii. A valid Google account that has not been setup for GCP before (It does NOT have to be the same as your G/S drive account)

iii. A valid debit or credit card. Google validates these, and a prepaid card will not work.

iv. Usenet indexers and providers.

2. Account Setup

Go to cloud.google.com and login to the Google account you are going to use for the trial

Select "Try GCP Free"

TRY GCP FREE

Select your country and agree to the terms of service

Set your account type to individual and fill out the rest of the personal information

Account Type

Once your account is created it will automatically put you in the Compute Engine section. Give it a few minutes to process your new account

Once the account is processed you should see an "enable billing" button on the top left. Go ahead and enable it. (Note: once the $300 trial credit expires it will freeze your account and not charge you until you "upgrade" your account. You will also have to enable this every time you create a new project)

ENABLE BILLING

Then select "set account"

SET BILLING

You're now ready to setup GCE from your existing setup!

3. GCE Deployment

  1. Login into your current setup and/or go to the main PTS menu

  2. Select option 9 - PTS-Cloud: GCE & Virtual Instances

PTS Cloud

  1. Select option 1 - Cloud Instance: Google [ Blitz ~ GCE Edition ]

GCE

  1. Select option 1 - Utilize BlitzGCE

BlitzGCE

  1. Configure your account to use your Google Cloud Compute account you set up in the previous section

GCEDeploy

  1. Set your project interface.

    1. Use option 2 "Build a new project" to create a project with any name you want.
    2. Then use option 1 to select the project you just created.
  2. Select your:

    1. Processor Count
    2. RAM
    3. NVME Count
    4. OS Image - (*Recommended: Public OS Image)
  3. Select your server region. (*Recommended: Europe-West (NL) or US-East (Virginia) to be closest to your Usenet providers location

  4. Deploy your new server!

4. Configuring a GCE instance

Now that you have a running GCE sever now all you have to do is SSH into and set it up!

Under the GCE menu select option 9 "SSH into the GCE Box"

If you receive a notice saying "WARNING: The public SSH key file for gcloud does not exist" just follow the prompts to create a key. It will then tell you where your keys are stored, which you can download to use with your own SSH client.

KEY WARNING

Once you are in the GCE instance go ahead and run the PTS installer like you would on a normal server. Once you restore Sonarr / Radarr / NZBGet / whatever you will now be able to enjoy the insane speeds of a GCE server!

If you want to go back to your main server simply type "exit" to leave the GCE server SSH session.

Useful Starter Links

  1. Introduction
  2. G-Suite Signup
  3. Recommended NewsHosts
  4. Change Log

Prior Planning 101

  1. Recommended Pre-Reading
  2. Server - Storage Planning
  3. Usenet or BitTorrent
  4. PTS Editions
  5. PTS Folder Structure
  6. PTS-Repos
  7. Common Issues

Deploy & Config

PTS-Team
  1. SSH Server Access
  2. Install PTS
  3. WatchTower
  4. Remote Path Mappings

Data Transport
  1. PTS Clone
    1. Google OAuth Keys
    2. PTS Move
    3. PTS Blitz
    4. 2nd HD Option

Key Components

  1. Traefik
  2. Port Guard
  3. PTS Shield
  4. PTS Press
  5. Google Cloud - GCE
    1. Automated setup
  6. Hetzner Cloud
  7. PTS Fork
  8. Extra PTS Commands

Blitz App Info

  1. Accessing PTS Apps
  2. App Port Scheme

Tools & Services

Core Apps [Expand]
  1. Emby
  2. Jackett
  3. Jellyfin
  4. LazyLibrarian
  5. Lidarr
  6. Netdata
  7. NZBGet
  8. Ombi
  9. Plex
  10. Portainer
  11. qBittorrent
  12. Radarr
  13. Radarr4k
  14. RadarrHDR
  15. RuTorrent
  16. SABnzbd
  17. Sonarr
  18. Sonarr4k
  19. SonarrHDR
  20. Tautulli
  21. JDownloader2
Community Apps [Expand]
  1. AirSonic
  2. Bazarr
  3. Bitwarden
  4. BookSonic
  5. cAdvisor
  6. Cloud Commander
  7. Deluge
  8. DelugeVPN
  9. Dozzle
  10. Duplicati
  11. Filebrowser
  12. FlexGet
  13. Gazee
  14. Headphones
  15. Heimdall
  16. HomeAssistant
  17. jd2-openvpn
  18. Kitana
  19. Logarr
  20. MakeMKV
  21. MariaDB
  22. McMyadmin
  23. MEDUSA
  24. Mellow
  25. Miniflux
  26. Monitorr
  27. Muximux
  28. Mylar
  29. NextCloud
  30. NowShowing
  31. NZBHydra2
  32. Organizr
  33. plpp
  34. pyLoad
  35. qBittorrent
  36. QBittorrent VPN
  37. radarrsyncarr
  38. Resilio
  39. rflood-openvpn
  40. rutorrent-openvpn
  41. Shoko Anime Server
  42. SpeedTest
  43. SyncLounge
  44. Teamspeak3
  45. The Lounge
  46. Transmission
  47. Trakt.or
  48. Ubooquity
  49. Varken
  50. vnc-xfce
  51. vnstat
  52. ZeroTier

Misc Info & Articles

  1. Change Server Time
  2. Fail2Ban
  3. Custom Containers
  4. Deploying Varken, Influx, Telegraf, Grafana
  5. cloneclean commands
  6. Understanding htop
Scripts
  1. Scripting Area
    1. Auto Upload for Sonarr and Lidarr
    2. Auto Delete Log
    3. Plex Plugin DB Backup
    4. Plex fast BACKUP
    5. Delete All Unmonitored from Radarr
Clone this wiki locally