> For the complete documentation index, see [llms.txt](https://docs.littlepig.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.littlepig.cloud/zh-cn/docs/instance-management/gcp-vps.md).

# 在GCP (谷歌云)上创建虚拟机

学习如何在小猪云中从GCP (谷歌云) 创建虚拟机。

### 步骤 1

[登录](https://vps.littlepig.tech/login)您的小猪云账户。从侧边栏进入“实例管理”页面，点击“创建实例”按钮。

<figure><img src="https://252078969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8uLmtdQAgPvkMhhyvI05%2Fuploads%2FRpM0FNODvO3AwJkHqLsa%2Fimage.png?alt=media&amp;token=87c1d56b-4e87-42b3-b131-6d8791b77aea" alt=""><figcaption></figcaption></figure>

### 步骤 2

从平台中选择“GCP”。为您的VPS输入名称并选择区域。<br>

<figure><img src="https://252078969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8uLmtdQAgPvkMhhyvI05%2Fuploads%2FZkryAAiDO4k31eLOdG6y%2Fimage.png?alt=media&amp;token=0328aee8-42e6-4146-aa7e-31c8868ffcbb" alt=""><figcaption></figcaption></figure>

选择所需的实例类型。<br>

<figure><img src="https://252078969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8uLmtdQAgPvkMhhyvI05%2Fuploads%2FPHn0dT2uZVFL0Cllg0fK%2Fimage.png?alt=media&amp;token=d40048e8-72c1-42d7-8844-3f336818e232" alt=""><figcaption></figcaption></figure>

选择作业系统、磁盘大小和购买时长。<br>

<figure><img src="https://252078969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8uLmtdQAgPvkMhhyvI05%2Fuploads%2FE1CMqv18s6NLbqo1rKJV%2Fimage.png?alt=media&amp;token=6b451888-4459-45c0-90f1-6eda67263a38" alt=""><figcaption></figcaption></figure>

为您的VPS实例输入密码，然后点击“确认”。

{% hint style="info" %}
密码长度需为8-20个字符，包括大写字母、小写字母、数字和特殊字符。
{% endhint %}

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeXDEBlHPKXSiElARjiYn31Zcld4jJGahi0JORz3IdvMqlmHdP24P-YVYTUq9ULPFeFAIkZd3ruPdIyTeVGEnhuiNu2YKzGTt4wPZgH1294EJcPNYJaxTjzIAq3oS-06v0TcouXArBZIFa-9DJpo3a4H7w?key=leD-CHDFe7ZFJW1bhcmaQw" alt=""><figcaption></figcaption></figure>

### 步骤 3

完成确认操作。

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcdQnkbBGbWFgjAlntdxrxSXAtxM5IvkecdBGxKbqgsdHYYLEsB6kP7O78NVGOk-bMeE4PIwR1PPaujBcNBIXi7r1f4o-MgtAJGHwEfdegrWHK8G7WGlOYXrI5JmhNSVKylC6oKf9ujHA_d3MfhCivuVynT?key=leD-CHDFe7ZFJW1bhcmaQw" alt=""><figcaption></figcaption></figure>

<br>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.littlepig.cloud/zh-cn/docs/instance-management/gcp-vps.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
