# /compute-vm-creation: Provision a hardened Compute Engine VM from a plain request

Source: https://trendhub.net/skills/google-skills/compute-vm-creation
Skill folder: https://github.com/google/skills/tree/main/skills/cloud/compute-vm-creation
Pack: Google Agent Skills (https://trendhub.net/skills/google-skills)
Works with: Any agent supported by the skills CLI, Claude Code (plugins), Codex (plugins), Antigravity CLI

compute-vm-creation turns requests like "create a VM" into a secure Compute Engine configuration. It asks for project, name, location and public or private access in one turn, maps the workload to a sizing tier, applies private networking, OS Login, Shielded VM and a custom service account by default, confirms before creating anything, and always hands back a teardown command.

## When to use it

- You want a small VM to host a website or experiment and are unsure which machine type to pick.
- You need a GPU workstation or bare metal host and want the right disk, image and maintenance settings.
- You want copy-paste gcloud commands for review rather than automatic provisioning.

## How it works

1. **Collect inputs in one turn**: Without running shell commands first, the agent asks for project ID, VM name, region or zone, and whether the VM should be public or private.
2. **Size by intent**: It maps the workload to a Starter, Standard, Powerhouse or Specialist tier and uses that tier's baseline machine, disk and OS image.
3. **Harden by default**: It recommends no external IP with Cloud NAT and IAP for SSH, OS Login, Shielded VM flags and a least-privilege service account.
4. **Choose CLI or MCP**: It sends hardened, Spot, custom-disk, 4th-gen and bare metal builds through gcloud, keeping the MCP create tool for default-network prototypes.
5. **Confirm, create, clean up**: It summarises the configuration and cost profile, waits for approval, then gives access steps and a delete command that removes the disks.

## What it steers the agent away from

- VMs with public IPs and open SSH when private access would do.
- Using the default Compute Engine service account.
- Orphaned disks that keep billing after a VM is deleted.

## What it can touch

It can create service accounts, IAM bindings and VM instances in your project after you confirm, using gcloud or the Compute Engine MCP server.

## Pairs well with

- `/gcloud`
- `/google-cloud-recipe-auth`

## Questions

### Does it cover Free Tier VMs?

Yes. It states the Free Tier limits for a single e2-micro in three US regions with a standard disk, and notes that a billing account is still required.

### What happens if a zone is out of capacity?

It explains that the error is a hardware shortage a quota increase will not fix, and suggests another zone, machine series or a reservation.
