i. | Google Cloud Login and Account Creation |
ii. | Compute Engine Virtual Machine & Firewall Setup |
iii. | Cloud Console Mobile App |
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.
- Click the Hamburger Menu at the top left:
- Click Compute Engine:
- Select VM instances:
- Create a Project if you don't already have one:
- Enable billing for this Project if you haven't already:
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
- Oregon:
- 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
- Oregon:
- 1 GB network egress from North America to all region destinations (excluding China and Australia) per month.
- Create a Virtual Machine instance on Compute Engine:
- 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
- Name:
- Expand Management, Security, disks, networking, sole tenancy:
- 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).
- Click the Hamburger Menu at the top left, click VPC Network and click Firewall.
- 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
to51515
. - Second source filter: None
- Click the Create button.
- Name:
- 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.
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.