To create a free tier GCP


1. https://console.cloud.google.com
Enable Compute Engine API:


2. Compute Engine (APIs & Services)> enable comput engine api
https://console.cloud.google.com/marketplace/product/google/compute.googleapis.com
(may take a while while enabling API)

https://console.cloud.google.com/compute/instances?project=[PROJECT-NAME]


3. Compute Engine > VM Instances > create instance
a. instance name: [VM_INSTANCE_NAME]
b. select region Oregon: us-west1
c. zone: us-west1-b
e. machine configuration > Series = E2
f. Machine Type: e2-micro(1 vCPU, 1GB Mem)


Boot Disk:

- OS : ubuntu
- version: 20.04 TLS amd64 focal main built on 2022-04-19...
- boot disk type: Standard Persistent disk
size: up to 30G
[Select]
Should look like this:
Name VM_INSTANCE_NAME
Type New balanced persistent disk
Size 30 GB
License type Free
Image Ubuntu 20.04 LTS Minimal

FIREWALL


g. [x] Allow default access
h. [x] allow https access
Advanced Options > NEtworking
i: Networking > Networking Interfaces > Network Service Tier:
Select: Standard
[Create]

This may take a while

Free Tier Requirements as of Jan. 17, 2023:

1 non-preemptible e2-micro VM instance per month in one of the following US regions:
        Oregon: us-west1
        Iowa: us-central1
        South Carolina: us-east1
    30 GB-months standard persistent disk
    5 GB-month snapshot storage 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


Copy external ip

xxx.xxx.xxx.xxx

REGISTAR DOMAIN NAME DNS SETTINGS:

Add DNS to you domain, ei: cloudFlare
Add Record:
1.
Type: A
Host: @
Value: IP ADDRESS
TTL: Automatic
2.
Type: A
Host: hcp (or whatever you like)
Value: IP ADDRESS
TTL: Automatic
3.
Type: CNAME
Host: www
Value: student.EXAMPLE.com
TTL: Automatic

Go to: whatsmydns.net/#A/subdomain.example.com to check your DNS is working?

Open SHH  in Browser from GCP:


$ sudo su -
// YOU CAN GET THIS TERMINAL COMMAND FROM hestiacp.com
# wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh
# bash hst-install.sh --interactive no --email [email protected] --password [YOURPASSWORD] --hostname student.EXAMPLE.com -f
# reboot

in console.cloud.google.com, go to Computer Engine > Setup Firewall Rules
https://console.cloud.google.com/networking/firewalls/list?project=[PROJECT_NAME]
Click: create firewall Rule
name: nestia_EXAMPLE

Action on Match >
Targets = All instances in the network
Source Ip Rages: 0.0.0.0/0
Protocols and Ports >
(x) Specified protocols and ports
[x] tcp [8083] ([8083] is the default port for nestia
NOTE: if you are using CloudFlare, you must use port 2083. to change it, send this command:
$ sudo su -
# v-change-sys-port 2083
* also make sure to change it in your firewall rules

[Create]

Hestia control panel


Open in browser:
https://hpc.EXAMPLE.com:2083/login/
default User: admin
password: whatever you chose during the installation command

click on add user..
add user details.
click on login as user