gce

Compute Engine

Compute & WebGCP
General

General information about the service.

Description

Google Compute Engine provides scalable, high-performance virtual machines running in Google's data centers and worldwide fiber network.

Service ID

compute.googleapis.com

Resource Pattern

projects/{project}/zones/{zone}/instances/{instance}

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

gce-{workload}-{environment}

Length

1-63

Valid Characters

Lowercase letters, numbers, hyphens

Scope

project

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "google_compute_instance" "main" {
2 name = "gce-${var.environment}"
3 machine_type = "e2-medium"
4 zone = var.zone
5
6 boot_disk {
7 initialize_params {
8 image = "debian-cloud/debian-11"
9 }
10 }
11
12 network_interface {
13 network = "default"
14 }
15}
Utilities

Utilities to support app deployment or configuration.