Skip to content

Instantly share code, notes, and snippets.

@TiagoGouvea
Last active May 1, 2020 20:31
Show Gist options
  • Save TiagoGouvea/193ee840baccddaae3be2110865d32d0 to your computer and use it in GitHub Desktop.
Save TiagoGouvea/193ee840baccddaae3be2110865d32d0 to your computer and use it in GitHub Desktop.
Config file to help create a remote instance on Google Cloud Platform
#!/usr/bin/env bash
## Google cloud config
PROJECT="node-docker-gcp"
ZONE="us-central1-a"
## Instance settings
INSTANCE_NAME="my-compute-instance"
### Instance creation settings
TAGS="http-server" # or "http-server,https-server"
DELETION_PROTECTION="no-deletion-protection" # or "deletion-protection"
IMAGE_FAMILY="ubuntu-1604-lts"
IMAGE_PROJECT="ubuntu-os-cloud"
MACHINE_TYPE="f1-micro"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment