Google Compute Engine
You can use Cloud 66 to provision and deploy your code to servers in any Google Compute Engine (GCE) region.
Bring Your Own Images (BYOI)
We support BYOI with this cloud provider, which allows you to spin up new servers for your applications that are based on your custom server images. Read our [BYOI guide for more details.
Generate GCE API keys
You need to provide your GCE API keys in order for Cloud 66 to access your account. To generate these:
- Access the Console of your Google account
- Create a project (if you don’t already have one)
- Switch to your desired project
- Use the search bar at the top of the page to search for “APIs & Services” and click the first result
- Click on the blue button (at the top of the main panel) named + Enable APIs and Services
- Search the API library for “Compute Engine API” and click on the top result
- If the page does not have a green tick with “API enabled” click the blue Enable button (newer accounts tend to have the API already enabled, but it is worth checking)
- Return to the “APIs & Services” dashboard (you can use search as you did in step 4)
- Click on Credentials in the left-hand panel
- Click on + Create Credentials at the top of the page; Select Service Account
- Give your service account a name (like “cloud66”) and an optional description; Click Create
- Add the role “Compute Admin” and then click Continue (NOTE: this will grant Cloud 66 the rights to create/amend/delete compute resources in this project)
- Leave the User Access options blank; Click Create Key, and select JSON then click Create.
- Download and save your JSON key somewhere locally (this contains your credentials, so treat it with care)
- Click Done
Once the above is done, we will need three things to connect with your account:
- Email address - this is the email address of the service account you just created (ie. like cloud66@
- Project ID - this is your project ID (available at the top of the Overview page)
- JSON key - the file that you downloaded and saved above
Permissions issues with GCE trial accounts
If you set up your API access while using a free trial account, you may need to recreate your credentials when you transition to a paid account. Get more info here.
Depending on the age of your Google account, you may need to "+ Enable APIs and Services" in the API list under APIs & Services for this integration to work
Add GCE keys to an application
Visit the Cloud 66 Dashboard and click the green New Application button. After connecting to your Git repository and analyzing your code, you will be asked to Add your cloud platform. From this menu, select Google Compute Cloud and provide your credentials.
If you delete your application from Cloud 66, your servers will not be deleted on your cloud provider unless the physical server deletion setting is turned on.