# Google Cloud Notes

> These are the steps for installing Core on Google Cloud Platform

- Web page: https://documentation.federated.computer/platform/coreplatform/reference/google-cloud-notes/

Note: Customers using Google Cloud will need to provision using a **static IP**, the appropriate disk size, and make some adjustments to the firewall rules.

Here are some sample "gcloud" command line instructions.

- We set up the VM address...

```
gcloud compute addresses create coreserver-static-1 --region=us-central1
```

- We set up the VM instance using the CoreServer image, the disk size and using the address defined in the prior step...

```
gcloud compute instances create coreservernew1 \
      --zone=us-central1-a \
      --machine-type=e2-medium \
      --image=coreserver-gcp-x86-26-06-24 \
      --image-project=fed-project-name \
      --boot-disk-size=80G \
      --address=coreserver-static-1 \
      --metadata "ssh-keys=root:ssh-ed25519 YOUR_KEY_HERE root@core-provisioner"
```
You will also need to set the firewall rules as allowed in GCP.

- We allow for DNS traffic on port 53.

```
gcloud compute firewall-rules create allow-dns \
      --allow tcp:53,udp:53 \
      --network default \
      --description "Allow DNS traffic on port 53"
```

- Allow for HTTP and HTTPS traffic.

```
gcloud compute firewall-rules create allow-http-https \
      --allow tcp:80,tcp:443 \  
      --network default \
      --description "Allow HTTP and HTTPS traffic"
```

- Finally, we allow ports for the email service. You need the email service so that installed apps can send messages to users.

```
gcloud compute firewall-rules create allow-mail \
      --allow tcp:25,tcp:143,tcp:587,tcp:993,tcp:465,tcp:110,tcp:995 \
      --network default \
      --description "Allow mail ports SMTP, IMAP, POP3"
```

**Please reach out to us if you have any questions.**
