> For the complete documentation index, see [llms.txt](https://docs.scrt.network/secret-network-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scrt.network/secret-network-documentation/secretvm-confidential-virtual-machines/launching-a-secretvm/deploying-on-google-cloud-platform.md).

# Deploying on Google Cloud Platform

## Using SecretAI Portal

You can launch a SecretVM on **Google Cloud Platform** directly from the SecretAI portal. GCP-backed SecretVMs run on **Intel TDX** hardware inside Google Confidential Computing.

This gives you the same confidentiality guarantees on familiar GCP infrastructure.

When you choose **Google Cloud** in the SecretAI portal, the VM is provisioned in a GCP project managed by Secret Network.

You do not need your own GCP account.

You pay for the GCP resources used by the deployment, plus a separate **Service Fee** charged by the portal.

If you prefer to use your own GCP project and billing account, see [Bring Your Own GCP Project](/secret-network-documentation/secretvm-confidential-virtual-machines/launching-a-secretvm/bring-your-own-gcp-project.md).

{% stepper %}
{% step %}

#### Log In

* Visit the portal: [https://secretai.scrtlabs.com](https://secretai.scrtlabs.com/)
* Sign in with your wallet or Google account
  {% endstep %}

{% step %}
**Create a New SecretVM**

* Click **`Create New SecretVM`**
* Under **Cloud Provider**, choose **Google Cloud**

The VM type selector updates to show GCP-compatible sizes. Currently, these are `large` and `xlarge`.
{% endstep %}

{% step %}
**Configure Your Machine**

* **Select VM Type**\
  Choose `large` or `xlarge` based on your workload
* **Upload Docker Compose File**\
  Upload your `docker-compose.yaml` that defines the container workload
* **Set Secret Environment Variables (Optional)**\
  Add environment variables that are injected securely at runtime
  {% endstep %}

{% step %}

### Google Cloud deployment details

The first GCP deployment usually takes **5–7 minutes** while the VM image is built and provisioned.

Once the VM is running, you can monitor its status and access attestation endpoints from the SecretVM dashboard.
{% endstep %}

{% step %}
**Launch the VM**

* Click **`Launch your SecretVM`**
* The VM begins provisioning on Google Cloud
* Once it is live, you can monitor status and access attestation endpoints from the SecretVM dashboard
  {% endstep %}
  {% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.scrt.network/secret-network-documentation/secretvm-confidential-virtual-machines/launching-a-secretvm/deploying-on-google-cloud-platform.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
