I made an account on bitnami.com and then linked my google cloud servers login to that account. and from the Bitnami panel, I used their stack to install discourse on my server.
The configuration of my current server is as follows.
1 VCPU, 1.7 GB RAM, 10 GB SSD.
No idea about swap memory.