Node.js 16 is now generally available.

Creating Your Project

To deploy your app on App Engine, you must create a Google Cloud project, which is a top level container that holds your App Engine application resources as well as other Google Cloud resources.

In this task, you create a Cloud project and an App Engine application to store settings, computing resources, credentials, and metadata for your app.

If you already have a Cloud project with App Engine and the Cloud Build API enabled, continue to Writing Your Web Service.

Creating a Cloud project

  1. Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
  2. In the Google Cloud Console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Make sure that billing is enabled for your Cloud project. Learn how to confirm that billing is enabled for your project.

  4. Enable the Cloud Build API.

    Enable the API

  5. Install and initialize the Cloud SDK.
  6. In the Google Cloud Console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  7. Make sure that billing is enabled for your Cloud project. Learn how to confirm that billing is enabled for your project.

  8. Enable the Cloud Build API.

    Enable the API

  9. Install and initialize the Cloud SDK.
  10. Create an App Engine application for your Cloud project in the Google Cloud Console.

    Open app creation

  11. Select a region where you want your app's computing resources located.

Next steps

Now that your Cloud project is set up, you're ready to write a basic web service with Node.js.