Skip to content

Latest commit

 

History

History
125 lines (108 loc) · 6.14 KB

File metadata and controls

125 lines (108 loc) · 6.14 KB
i. Google Cloud Login and Account Creation
ii. Compute Engine Virtual Machine & Firewall Setup
iii. Cloud Console Mobile App

i. Google Cloud Login and Account Creation

Go to https://cloud.google.com and click Console at the top right if you have previously used Google's Cloud Services, or click Try Free if it's your first time.

Account Creation

  • Step 1 of 2
    Agree to the terms and continue.
  • Step 2 of 2
    Set up a payments profile and continue

Project & Compute Engine Creation

  1. Click the Hamburger Menu at the top left:
  2. Click Compute Engine:
  3. Select VM instances:
  4. Create a Project if you don't already have one:
  5. Enable billing for this Project if you haven't already:
  • Compute Engine will begin initializing:

ii. Compute Engine Virtual Machine Setup

Be aware of the limitations of the Free Usage Tier:

  • 1 vCPU + 614MB RAM e2-micro virtual machine instance per month in one of the following US regions:
    • Oregon: us-west1
    • Iowa: us-central1
    • South Carolina: us-east1
  • up to 30 GB HDD
  • 5 GB of snapshots storage for backups of your server in the following regions:
    • Oregon: us-west1
    • Iowa: us-central1
    • South Carolina: us-east1
    • Taiwan: asia-east1
    • Belgium: europe-west1
  • 1 GB network egress from North America to all region destinations (excluding China and Australia) per month.
  1. Create a Virtual Machine instance on Compute Engine:
  2. Customize the instance:
    • Name: pi-hole
    • Labels: optional section
    • Region: us-east1, us-west1, or us-central1.
    • Zone: choose anything, default selection is fine
    • Machine configuration:
      • Machine family: General-purpose
      • Series: E2
      • Machine type: e2-Micro
    • Boot disk: click Change
      • Operating system: Ubuntu
      • Version: Ubuntu 20.04 LTS Minimal
      • Boot disk type: Standard persistent disk
      • Size (GB): 30
    The final selections should appear as follows:
  3. Expand Management, Security, disks, networking, sole tenancy:
    • Click the Networking tab
    • Click the Pencil icon under Network Interfaces
    • In the External IP Address section, change from Ephemeral to Create IP Address to reserve a new Static IP Address.
    • Name: pi-hole-ipv4 and click Reserve
  4. You can log into your Virtual Machine via SSH in a Browser by clicking the SSH button. Make note of your External IP (it will be different from the screenshot below).
  5. Click the Hamburger Menu at the top left, click VPC Network and click Firewall.
  6. Click Create Firewall Rule at the top center of the page.
    • Name: allow-wireguard
    • Logs: Off
    • Network: default
    • Priority: 1000
    • Direction of traffic: Ingress
    • Action on match: Allow
    • Targets: All instances in the network is fine unless you are running more than 1 Virtual Machine, and have a need for targeting it explicitly.
    • Source Filter: IP ranges
    • Source IP Ranges: 0.0.0.0/0
    • Protocols and ports: Specified protocols and ports. The udp checkbox should be selected, and the port number next to it should be changed from all to 51515.
    • Second source filter: None
    • Click the Create button.
  7. Optional: You can disable the default-allow-rdp rule which Google set up with a default action of Allow, but because our server does not run any service on Port 3389 it is harmless to leave this rule alone. Do not disable the default-allow-ssh firewall rule, or you will disable the browser-based SSH from within the Google Cloud Console.

iii. Cloud Console Mobile App

Get it on Google Play Get it on the App Store

Install the "Cloud Console" app on your Android or iOS device.

Now you can manage and monitor Google Cloud Platform services from your Android or iOS device.