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
- 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.
In the Google Cloud Console, on the project selector page, select or create a Google Cloud project.
Make sure that billing is enabled for your Cloud project. Learn how to confirm that billing is enabled for your project.
- Enable the Cloud Build API.
- Install and initialize the Cloud SDK.
Create an App Engine application for your Cloud project in the Google Cloud Console.
Select a region where you want your app's computing resources located.
Now that your Cloud project is set up, you're ready to write a basic web service with Node.js.