Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.26 KB

GCLOUD.md

File metadata and controls

35 lines (26 loc) · 1.26 KB

Brayns with Google Cloud Platform

Use our Docker image to run Brayns as a service on Google Cloud's Compute Engine infrastructure.

Prerequisites


Must have an account at Google Cloud. If not, go ahead and create one.

Setup


Install the Cloud SDK tool on your machine.

Create a new project and enable billing for it (see creating-managing-projects).

Create a VM instance based on our Docker image:

gcloud --project=PROJECT_NAME beta compute instances create-with-container brayns \
    --container-image docker.io/bluebrain/brayns \
    --tags brayns-server

We use port :8200 by default, so you'll need to publish that port:

gcloud --project=PROJECT_NAME compute firewall-rules create allow-brayns \
    --allow tcp:8200 \
    --target-tags brayns-server

Check if all went well:

# Should return a JSON string if it's running
curl http://EXTERNAL_IP:8200/registry