$npx -y skills add jmxt3/gitscape.ai --skill google-cloud-recipe-onboardingGuidance for a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resource.
| 1 | # Onboarding to Google Cloud |
| 2 | |
| 3 | This skill provides a streamlined "happy path" for a singleton developer to get |
| 4 | started with [Google Cloud](https://cloud.google.com/). It covers everything |
| 5 | from initial account setup to deploying your first cloud resource. |
| 6 | |
| 7 | ## Overview |
| 8 | |
| 9 | For an individual developer, onboarding to Google Cloud involves establishing a |
| 10 | personal identity, setting up a billing method, and creating a workspace |
| 11 | ([Project](https://docs.cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy#projects)) |
| 12 | where resources can be managed. Google Cloud offers a Free Tier and Free Trial |
| 13 | for multiple products. [Learn more |
| 14 | here](https://docs.cloud.google.com/free/docs/free-cloud-features). |
| 15 | |
| 16 | ## Clarifying Questions |
| 17 | |
| 18 | Before proceeding, the agent should clarify the user's current status: |
| 19 | |
| 20 | 1. Do you already have a [Google Account](https://accounts.google.com/) (Gmail |
| 21 | or [Google Workspace](https://workspace.google.com/))? |
| 22 | 2. Are you looking to set up a personal account for learning/experimentation, |
| 23 | or are you part of an organization with existing infrastructure? |
| 24 | 3. Are you an IT admin within a larger enterprise, setting up Google Cloud for |
| 25 | your organization? |
| 26 | 4. What is the first type of resource or application you are interested in |
| 27 | building (e.g., a website, a data pipeline, a virtual machine)? |
| 28 | 5. Do you prefer to use the command line (CLI), an IDE (e.g. VSCode, |
| 29 | Antigravity), or do you prefer using the web-based [Google Cloud |
| 30 | console](https://console.cloud.google.com/)? |
| 31 | |
| 32 | ## Prerequisites |
| 33 | |
| 34 | - A [Google Account](https://accounts.google.com/) (e.g., @gmail.com). |
| 35 | - A valid payment method (credit card or bank account) for billing |
| 36 | verification (even for the free trial). |
| 37 | |
| 38 | ## Steps |
| 39 | |
| 40 | ### 1. Sign Up and Activate Free Credit |
| 41 | |
| 42 | 1. Go to the [Google Cloud Console](https://console.cloud.google.com/). |
| 43 | 2. Sign in with your Google Account. This will "Activate" [your $300 free |
| 44 | credit](https://docs.cloud.google.com/free/docs/free-cloud-features#free-trial). |
| 45 | |
| 46 | ### 2. Create Your First Google Cloud Project |
| 47 | |
| 48 | Google Cloud resources are organized into |
| 49 | **[Projects](https://docs.cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy#projects)**. |
| 50 | |
| 51 | 1. In the Google Cloud console, click the project picker dropdown at the top of |
| 52 | the page. |
| 53 | 2. Click **New Project**. |
| 54 | 3. Enter a **Project Name** (e.g., `my-first-gcp-project`). |
| 55 | 4. Note the generated **Project ID**; you will use this for CLI and API |
| 56 | interactions. |
| 57 | 5. Click **Create**. |
| 58 | |
| 59 | ### 3. Set Up Billing |
| 60 | |
| 61 | Ensure your project is linked to your Free Trial [Cloud |
| 62 | Billing](https://docs.cloud.google.com/billing/docs/how-to/manage-billing-account) |
| 63 | account. |
| 64 | |
| 65 | 1. Go to the **Billing** section in the console. |
| 66 | 2. Confirm that your new project is listed under "Projects linked to this |
| 67 | billing account." |
| 68 | |
| 69 | ### 4. Install and Initialize the Google Cloud CLI |
| 70 | |
| 71 | The **[Google Cloud CLI](https://docs.cloud.google.com/sdk/docs/install-sdk)** |
| 72 | (`gcloud` CLI) is the primary tool for interacting with Google Cloud from your |
| 73 | local machine. |
| 74 | |
| 75 | 1. [Download and install the Google Cloud |
| 76 | CLI](https://cloud.google.com/sdk/docs/install). |
| 77 | 2. Open your terminal and run: `gcloud init` |
| 78 | 3. Follow the prompts to log in and select your project. |
| 79 | |
| 80 | ### 5. Enable Necessary APIs |
| 81 | |
| 82 | Most services require their specific |
| 83 | [API](https://docs.cloud.google.com/apis/docs/overview) to be enabled before |
| 84 | use. For example, to use [Cloud |
| 85 | Run](https://docs.cloud.google.com/run/docs/overview/what-is-cloud-run), run: |
| 86 | `gcloud services enable run.googleapis.com` |
| 87 | |
| 88 | Note that [some Google Cloud APIs, including Cloud Logging, are enabled by |
| 89 | default](https://docs.cloud.google.com/service-usage/docs/enabled-service#default). |
| 90 | |
| 91 | ### 6. Deploy Your First Resource |
| 92 | |
| 93 | Choose a simple entry point based on your needs: |
| 94 | - **[Cloud Run](https://docs.cloud.google.com/run/docs) (Recommended for Apps):** |
| 95 | Deploy a containerized "Hello World" app. |
| 96 | - **[Compute Engine](https://docs.cloud.google.com/compute/docs):** Create a |
| 97 | small Linux VM (e.g., `e2-micro` which is part of the Always Free tier in |
| 98 | certain regions). |
| 99 | - **[Cloud Storage](https://docs.cloud.google.com/storage/docs):** Create a |
| 100 | bucket to store files. |
| 101 | |
| 102 | Example (Cloud Run): |
| 103 | |
| 104 | ```bash |
| 105 | gcloud run deploy hello-world \ |
| 106 | --image=gcr.io/cloudrun/hello \ --platform=managed \ --region=us-central1 \ |
| 107 | --allow-unauthenticated --quiet |
| 108 | ``` |
| 109 | |
| 110 | This command will output a public URL, that you can reach in a web browser. |
| 111 | Congrats - you just deployed your first Google Cloud resource! |
| 112 | |
| 113 | ### 7. Next Steps |
| 114 | |
| 115 | - Explore the [Google Cloud Free Program](https://cloud.google.com/free) to |
| 116 | see what else you can do with your free credit. |
| 117 | - Read the [Google Cloud Overview](https://cloud.google.com/docs/overview) |
| 118 | - See the [full list of 150+ Goo |