Follow this guide to prepare you Google Cloud Project and deployment machine.
- Sign up for Google Cloud Platform
- Create a new project
- Enable the Cloud Resource Manager API
- Enable the Compute API
- Enable billing
- Verify your existing quota and file a quota increase of necessary.
- If deploying Small Footprint Runtime (default):
- Persistent Disk Standard (GB) (in desired region): 10,000 GB
- CPUs (in desired region): 24
- If deploying Elastic Runtime:
- Persistent Disk Standard (GB) (in desired region): 10,000 GB
- CPUs (in desired region): 200
- If deploying Small Footprint Runtime (default):
- Verify OS Login is NOT enabled in your project's Compute Engine project wide metadata. The quickstart relies on SSH keys from instance metadata during the installation process, and enabling OS Login will disable SSH keys from instance metadata. Ensure the
enable-oslogin
key is either not set or set toFALSE
in the Compute Engine project wide metadata. (Running the script./util/disable-os-login.sh
will do this for you)
Cloud Shell already includes many of the dependencies and is an excellent way to get started.
-
Open the Google Cloud Console
-
Ensure your project is active (See the Project Info section)
-
Click on the
>_
icon in the upper right corner -
Paste the following snippet into the console to install terraform and the cf cli to your local user directory:
mkdir -p bin cd bin curl -o /tmp/terraform.zip https://releases.hashicorp.com/terraform/0.11.1/terraform_0.11.1_linux_amd64.zip unzip /tmp/terraform.zip terraform curl -L -o /tmp/cf.tgz "https://cli.run.pivotal.io/stable?release=linux64-binary&source=github" tar zxf /tmp/cf.tgz cf export PATH=$PATH:~/bin cd
The machine that hosts your Cloud Shell session is ephemeral but your user directory will be restored for future sessions.
> With these prerequisites installed you can move on to Setting up DNS
A Linux or Mac machine is required with the following dependencies installed:
- gcloud
- terraform (v0.11.1+)
- dig
- Debian/Ubuntu:
sudo apt-get install dnsutils
- OSX: preinstalled
- Debian/Ubuntu:
- go (v1.12+)
- cf
- git
> With these prerequisites installed you can move on to Setting up DNS