# Google Compute Engine

## Steps to Setup GCE Bakery <a href="#steps-to-setup-gce-bakery" id="steps-to-setup-gce-bakery"></a>

This configuration allows for setting the default network and zone and whether to use the public IP address of the VM used for baking the image.

* To Setup default zone, execute the below command

  ```
      hal config provider google bakery edit --network $<NETWORK DETAILS>
  ```
* Custom based images can be defined by executing the below command

  ```
      hal config provider google bakery base-image add $BASE_IMAGE \
      --source-image $GCE_VM_IMAGE_NAME \
      --short-description this-is-image \
      --detailed-description "<Provide Description of the Image>" \
      --package-type deb
  ```

**Note**: These images can be seen in the UI during the Baking stage To explore more Options click [here](https://www.spinnaker.io/reference/halyard/commands/).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opsmx.com/opsmx-context-graph-and-data-fabric/additional-resources/previous-releases/isd-3.12/orchestration-module-opsmx-enterprise-for-spinnaker-oes/additional-feature-configuration/configure-the-image-bakery/google-compute-engine.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
