Contents

Google Cloud Platform

To deploy apps to Google Cloud Platform's Compute Engine using Nanobox, you first need to create a GCP account. In your admin panel's left-nav, go to "IAM & admin" > "Service Accounts" section.

GCP IAM & Admin > Service Accounts

Create a new service account with at least the following roles enabled:

  • Compute Instance Admin (v1)
  • Compute Network Admin
  • Compute Security Admin
  • Service Account Actor

GCP Service Account Roles

Select the "Furnish a new private key" option, save, and download the private key.

Add a New Provider

In your Nanobox dashboard, got to Account Admin > Hosting Accounts and add a new account. Select Google Compute and click "Proceed."

Select Google Compute

Nanobox needs your GCP service email, service key, and project ID to authenticate with your GCP account and provision compute instances on your behalf. Paste in your key and click "Verify & Proceed."

Enter your GCP auth credentials

Name your provider and choose a default region. The name is arbitrary and only meant to help you identify it in your list of provider accounts.

Name your provider and select a default region

Launch a New App

Go to the home page of your Nanobox dashboard and click the "Launch New App" button. Select your GCP provider from the dropdown and choose the region in which you'd like to deploy your app.

Select your GCP provider

Confirm and click "Let's Go!" Nanobox will order a Compute instance under your GPC account, provision the Nanobox platform components, and prepare for your first deploy.

Reach out to help@nanobox.io and we'll try to help.