GCE automated deployment - n05urpr1532-MHA-Team/PTS-Team GitHub Wiki

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.