[GCP] Manual deploy Vue.js project to Google App Engine via GCP user interface




  1. Add Project and Create

You may want to know

Error Situation

  • If you do not upload app.yaml, then you will meet the error message as below. You just need to upload app.yaml and then you can solve the error.
ERROR: An app.yaml (or appengine-web.xml) file is required to deploy this directory as an App Engine application. Create an app.yaml file using the directions at https://cloud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml (App Engine flexible environment) or https://cloud.google.com/appengine/docs/standard/python/config/appref (App Engine standard environment) under the tab for your language.ERROR: (gcloud.app.deploy) [/home/rayflynu/deploy-application-trial] could not be identified as a valid source directory or file.
  • You may meet the error message as below when you type command `gcloud app deploy`. I just tried again and solved the error. If you still meet this error, you can refer other solutions by here.
ERROR: (gcloud.app.deploy) NOT_FOUND: Unable to retrieve P4SA: [xxx-ooo@gcp-gae-service.iam.gserviceaccount.com] from GAIA. Could be GAIA propagation delay or request from deleted apps.

app.yaml Sample Code

runtime: nodejs10
# Serve all static files with urls ending with a file extension
- url: /(.*\..+)$
static_files: dist/\1
upload: dist/(.*\..+)$
# catch all handler to index.html
- url: /.*
static_files: dist/index.html
upload: dist/index.html





Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Class and Instance Attributes in Python

12 Properties Rated on MLOps Tools

How to crush it in COMP 105 at Tufts (and similar CS classes)

Integrating Mailchimp API with CakePHP4.x for importing subscribers

Running Kubernetes In The CI Pipeline For Integration and End-To-End Tests

Quick Guide to Rendering a Dwarf Fortress World in Blender

Introduction to Mobile Application Testing

Splunk Transaction Command

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Leisure Rife

Leisure Rife


More from Medium

Cloud Composer upgrade

Create GCP credentials: OAuth client ID, API Keys & Service Account

Federated Identity SAML Options With Google Cloud

Google Cloud Alerting to Webex Teams using GCP Pub/Sub and Cloud Functions