App Engine

.https://google.qwiklabs.com/focuses/1060?parent=catalog - App Dev - Deploying the Application into App Engine Flexible Environment - Java

sharefavorite_borderAdd to favoriteshelpHelp

app.yaml
runtime: java
env: flex
runtime_config:
  jdk: openjdk8
handlers:
- url: /.*
  script: this field is required, but ignored
manual_scaling:
  instances: 1
resources:
  cpu: 1
  memory_gb: 3.75
  disk_size_gb: 10
env_variables:
  GCLOUD_BUCKET: [GCLOUD_BUCKET]
commands history
    1  gcloud config list project
    2  git clone https://github.com/GoogleCloudPlatform/training-data-analyst
    3  cd ~/training-data-analyst/courses/developingapps/java/appengine/start
    4  ls
    5  ./prepare_environment.sh
    6  vim src/main/app.yaml
    7  vim src/main/appengine/app.yaml
    8  mvn clean compile appengine:deploy
    9  ls
   10  vim src/main/resources/static/index.html
   11  mvn clean compile appengine:deploy -Dapp.deploy.stopPreviousVersion=False -Dapp.deploy.promote=False
   12  history

Last updated

Was this helpful?