首页/云计算与基础设施/google-cloud-recipe-onboarding
G

google-cloud-recipe-onboarding

by @googlev
4.5(120)

此技能为开发者提供 Google Cloud 入门指导,涵盖账户创建、账单设置、项目管理以及首次资源部署。它简化了复杂的初始配置流程,帮助用户快速启动云项目,加速开发效率。

gcpgoogle-cloudonboardingcloud-setupdeploymentGitHub
安装方式
npx skills add https://github.com/google/skills --skill google-cloud-recipe-onboarding
compare_arrows

Before / After 效果对比

1 组
使用前

新手开发者手动配置 Google Cloud 环境时,常因账户、账单、项目、CLI 和 API 启用等多个复杂步骤而感到困惑和耗时,导致项目启动延迟。

使用后

通过此技能,开发者能获得清晰的逐步指导,快速完成 Google Cloud 的初始设置,大幅缩短环境准备时间,从而更快地部署第一个云资源。

SKILL.md

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.

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)?
  2. Are you looking to set up a personal account for learning/experimentation, or are you part of an organization with existing infrastructure?
  3. Are you an IT admin within a larger enterprise, setting up Google Cloud for your organization?
  4. What is the first type of resource or application you are interested in building (e.g., a website, a data pipeline, a virtual machine)?
  5. 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?

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.

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.
  2. Click New Project.
  3. Enter a Project Name (e.g., my-first-gcp-project).
  4. Note the generated Project ID; you will use this for CLI and API interactions.
  5. Click Create.

3. Set Up Billing

Ensure your project is linked to your Free Trial Cloud Billing 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.
  2. Open your terminal and run: gcloud init
  3. 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, run: gcloud services enable run.googleapis.com

Note that some Google Cloud APIs, including Cloud Logging, are enabled by default.

6. Deploy Your First Resource

Choose a simple entry point based on your needs:

  • Cloud Run (Recommended for Apps): Deploy a containerized "Hello World" app.
  • Compute Engine: Create a small Linux VM (e.g., e2-micro which is part of the Always Free tier in certain regions).
  • Cloud Storage: Create a 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

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?

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量15.4K
评分4.5 / 5.0
版本
更新日期2026年10月24日
对比案例1 组

用户评分

4.5(120)
5
37%
4
43%
3
13%
2
5%
1
2%

为此 Skill 评分

0.0

兼容平台

🤖claude-code

时间线

创建2026年5月28日
最后更新2026年10月24日
🎁 Agent 知识卡片
调研问卷