GCP notes
This commit is contained in:
63
content/docs/coreplatform/reference/google-cloud-notes.md
Normal file
63
content/docs/coreplatform/reference/google-cloud-notes.md
Normal file
@@ -0,0 +1,63 @@
|
||||
---
|
||||
weight: 193
|
||||
title: "Google Cloud Notes"
|
||||
description: "These are the steps for installing Core on Google Cloud Platform"
|
||||
icon: "article"
|
||||
date: "2025-05-27T00:00:00-00:00"
|
||||
lastmod: "2025-05-27T00:00:00-00:00"
|
||||
draft: false
|
||||
toc: true
|
||||
---
|
||||
|
||||
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 \<br>
|
||||
--zone=us-central1-a \<br>
|
||||
--machine-type=e2-medium \<br>
|
||||
--image=coreserver-gcp-x86-26-06-24 \<br>
|
||||
--image-project=fed-project-name \<br>
|
||||
--boot-disk-size=80G \<br>
|
||||
--address=coreserver-static-1 \<br>
|
||||
--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.**
|
||||
Reference in New Issue
Block a user