技能 编程开发 谷歌云入门指南

谷歌云入门指南

v20261109
google-cloud-onboarding
本技能为开发者提供谷歌云平台的入门指引。涵盖账户创建、账单设置、项目管理、CLI 安装及首次资源部署等关键步骤。适合个人开发者及 IT 管理员开始云旅程,帮助快速完成环境搭建并部署首个云资源。
获取技能
349 次下载
概览

Onboarding to Google Cloud

This skill provides a streamlined "happy path" for a singleton developer to get
started with Google Cloud. It covers everything
from initial account setup to deploying your first cloud resource.

Overview

For an individual developer, onboarding to Google Cloud involves establishing a
personal identity, setting up a billing method, and creating a workspace
(Project)
where resources can be managed. Google Cloud offers a Free Tier and Free Trial
for multiple products. [Learn more
here](https://docs.cloud.google.com/free/docs/free-cloud-features).

Clarifying Questions

Before proceeding, the agent should clarify the user's current status:

  1. Do you already have a Google Account (Gmail

or Google Workspace)?

  1. Are you looking to set up a personal account for learning/experimentation,

or are you part of an organization with existing infrastructure?

  1. Are you an IT admin within a larger enterprise, setting up Google Cloud for

your organization?

  1. What is the first type of resource or application you are interested in

building (e.g., a website, a data pipeline, a virtual machine)?

  1. Do you prefer to use the command line (CLI), an IDE (e.g. VSCode,

Antigravity), or do you prefer using the web-based [Google Cloud
console](https://console.cloud.google.com/)?

Prerequisites

  • A Google Account (e.g., @gmail.com).
  • A valid payment method (credit card or bank account) for billing

verification (even for the free trial).

Steps

1. Sign Up and Activate Free Credit

  1. Go to the Google Cloud Console.
  2. Sign in with your Google Account. This will "Activate" [your $300 free

credit](https://docs.cloud.google.com/free/docs/free-cloud-features#free-trial).

2. Create Your First Google Cloud Project

Google Cloud resources are organized into
Projects.

  1. In the Google Cloud console, click the project picker dropdown at the top of

the page.

  1. Click New Project.
  2. Enter a Project Name (e.g., my-first-gcp-project).
  3. Note the generated Project ID; you will use this for CLI and API

interactions.

  1. Click Create.

3. Set Up Billing

Ensure your project is linked to your Free Trial [Cloud
Billing](https://docs.cloud.google.com/billing/docs/how-to/manage-billing-account)
account.

  1. Go to the Billing section in the console.
  2. Confirm that your new project is listed under "Projects linked to this

billing account."

4. Install and Initialize the Google Cloud CLI

The Google Cloud CLI
(gcloud CLI) is the primary tool for interacting with Google Cloud from your
local machine.

  1. [Download and install the Google Cloud

CLI](https://cloud.google.com/sdk/docs/install).

  1. Open your terminal and run: gcloud init
  2. Follow the prompts to log in and select your project.

5. Enable Necessary APIs

Most services require their specific
API to be enabled before
use. For example, to use [Cloud
Run](https://docs.cloud.google.com/run/docs/overview/what-is-cloud-run), run:
gcloud services enable run.googleapis.com

Note that [some Google Cloud APIs, including Cloud Logging, are enabled by
default](https://docs.cloud.google.com/service-usage/docs/enabled-service#default).

6. Deploy Your First Resource

Choose a simple entry point based on your needs:

Deploy a containerized "Hello World" app.

small Linux VM (e.g., e2-micro which is part of the Always Free tier in
certain regions).

bucket to store files.

Example (Cloud Run):

    gcloud run deploy hello-world \
    --image=gcr.io/cloudrun/hello \ --platform=managed \ --region=us-central1 \
    --allow-unauthenticated --quiet

This command will output a public URL, that you can reach in a web browser.
Congrats - you just deployed your first Google Cloud resource!

7. Next Steps

see what else you can do with your free credit.

for information on setting up Google Cloud for a team or organization.

Reference Directory

setup instructions and reference for Google Cloud onboarding.

Validation Logic

Use this logic to determine if the user has successfully completed the Google
Cloud onboarding process:

  • Project Created: Does the user have a Project ID?
  • Billing Linked: Is the project associated with a billing account (check

via gcloud beta billing projects describe PROJECT_ID)?

  • CLI Authenticated: Does gcloud config list show the correct account

and project?

  • Resource Verified: Can the user access the URL or IP of the deployed

resource?

信息
分类 编程开发
名称 google-cloud-onboarding
版本 v20261109
大小 4.85KB
更新时间 2026-11-10
语言