Skip to content
Back to main site

Your first request

Create a Compute Engine network record, read it back, then delete it. This works on the Free plan and on Pro. No real network is created, and nothing carries traffic. Each step shows the output to expect. The steps were run against Vera 1.2.2 on 8 November 2026.

  • A running emulator. Start it as in Get started. No license key is needed.
  • gcloud or curl. The gcloud steps were run with gcloud 585.0.0.
  • No Google Cloud account. The emulator doesn’t check credentials, and Compute Engine accepts any project ID. This walkthrough uses example-project.

Run these in a terminal of their own, so this setup doesn’t mix with your real Google Cloud work. They use Google Cloud’s address on your machine, as published in Get started: if you published another host port, use that one.

Turn off credentials, pick the project and send Compute Engine requests to the emulator:

Terminal window
export VERA_ENDPOINT="http://localhost:8081"
export CLOUDSDK_AUTH_DISABLE_CREDENTIALS=true
export CLOUDSDK_CORE_PROJECT=example-project
export CLOUDSDK_API_ENDPOINT_OVERRIDES_COMPUTE="$VERA_ENDPOINT/"

The network is custom mode, so it creates no subnets of its own. If you run this twice before cleaning up, the second create fails, since the network already exists.

Terminal window
gcloud compute networks create vera-docs-network \
--subnet-mode=custom --quiet

Print the network’s name and whether it creates its own subnets:

Terminal window
gcloud compute networks describe vera-docs-network \
--format="value(name,autoCreateSubnetworks)"

The two values are separated by a tab. False is the custom mode you asked for.

Output
vera-docs-network False

Delete the network. Both tabs use the same name, so clean up in one before trying the other.

Terminal window
gcloud compute networks delete vera-docs-network --quiet
  • Compute Engine: build a network, a subnet and an instance record, and see where the emulator stops.
  • Using the emulator: the setup every Google Cloud service shares, and the limits that apply to all of them.
  • Pub/Sub walkthrough: publish a message and pull it back, also on the Free plan.