Creating Google App Engine Project
This quickstart shows how to deploy a sample app on App Engines.
Before you begin
-
In the Google Cloud Console, on the project selector page, select or create a Google Cloud project. Go to project selector
-
Make sure that billing is enabled for your Cloud project. Learn how to check if billing is enabled on a project. Check Billing health checks.
- Enable the Cloud Build API. Go to Cloud Build API
4.Install and initialize the Google Cloud CLI. Installing Google Cloud CLI on Ubuntu 20.04.4 LTS
-
Create an App Engine application for your Cloud project in the Google Cloud Console. Open app creation
-
Select a region where you want your app’s computing resources located.
Write basic web service with Node.js
server.js
|
|
package.json
|
|
app.yaml
|
|
Deploy your service on App Engine
In your Node.js service folder, where the app.yaml file is located, run the following command in your terminal:
|
|
If all ok you should see something similar
The target url
is app location. You can use as well the following command:
|
|