Google Cloud Fundamentals: Getting Started with App Engine Reviews

194443 reviews

Missing components in the docker Welcome to Cloud Shell! Type "help" to get started. Your Cloud Platform project in this session is set to qwiklabs-gcp-00-1e43f97b2b39. Use “gcloud config set project [PROJECT_ID]” to change to a different project. student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ gcloud auth list Credentialed Accounts ACTIVE: * ACCOUNT: student-04-cc5c1d912aba@qwiklabs.net To set the active account, run: $ gcloud config set account `ACCOUNT` student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ gcloud config list project [core] project = qwiklabs-gcp-00-1e43f97b2b39 Your active configuration is: [cloudshell-22989] student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ gcloud app create --project=$DEVSHELL_PROJECT_ID You are creating an app for project [qwiklabs-gcp-00-1e43f97b2b39]. WARNING: Creating an App Engine application for a project is irreversible and the region cannot be changed. More information about regions is at <https://cloud.google.com/appengine/docs/locations>. Please choose the region where you want your App Engine application located: [1] asia-east1 (supports standard and flexible) [2] asia-east2 (supports standard and flexible and search_api) [3] asia-northeast1 (supports standard and flexible and search_api) [4] asia-northeast2 (supports standard and flexible and search_api) [5] asia-northeast3 (supports standard and flexible and search_api) [6] asia-south1 (supports standard and flexible and search_api) [7] asia-southeast1 (supports standard and flexible) [8] asia-southeast2 (supports standard and flexible and search_api) [9] australia-southeast1 (supports standard and flexible and search_api) [10] europe-central2 (supports standard and flexible) [11] europe-west (supports standard and flexible and search_api) [12] europe-west2 (supports standard and flexible and search_api) [13] europe-west3 (supports standard and flexible and search_api) [14] europe-west6 (supports standard and flexible and search_api) [15] northamerica-northeast1 (supports standard and flexible and search_api) [16] southamerica-east1 (supports standard and flexible and search_api) [17] us-central (supports standard and flexible and search_api) [18] us-east1 (supports standard and flexible and search_api) [19] us-east4 (supports standard and flexible and search_api) [20] us-west1 (supports standard and flexible) [21] us-west2 (supports standard and flexible and search_api) [22] us-west3 (supports standard and flexible and search_api) [23] us-west4 (supports standard and flexible and search_api) [24] cancel Please enter your numeric choice: 17 Creating App Engine application in project [qwiklabs-gcp-00-1e43f97b2b39] and region [us-central]....done. Success! The app is now created. Please use `gcloud app deploy` to deploy your first app. student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ git clone https://github.com/GoogleCloudPlatform/python-docs-samples Cloning into 'python-docs-samples'... remote: Enumerating objects: 63861, done. remote: Counting objects: 100% (15/15), done. remote: Compressing objects: 100% (15/15), done. remote: Total 63861 (delta 2), reused 13 (delta 0), pack-reused 63846 Receiving objects: 100% (63861/63861), 73.97 MiB | 25.31 MiB/s, done. Resolving deltas: 100% (36849/36849), done. student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ cd python-docs-samples/appengine/standard_python3/hello_world student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ FROM python:3.7 WORKDIR /app COPY . . RUN pip install gunicorn RUN pip install -r requirements.txt ENV PORT=8080 CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 main:app -bash: FROM: command not found -bash: WORKDIR: command not found -bash: COPY: command not found -bash: RUN: command not found -bash: RUN: command not found -bash: ENV: command not found -bash: CMD: command not found student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ docker build -t test-python . unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/student_04_cc5c1d912aba/python-docs-samples/appengine/standard_python3/hello_world/Dockerfile: no such file or directory student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ cd python-docs-samples/appengine/standard_python3/hello_world -bash: cd: python-docs-samples/appengine/standard_python3/hello_world: No such file or directory student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ FROM python:3.7 WORKDIR /app COPY . . RUN pip install gunicorn RUN pip install -r requirements.txt ENV PORT=8080 CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 main:app -bash: FROM: command not found -bash: WORKDIR: command not found -bash: COPY: command not found -bash: RUN: command not found -bash: RUN: command not found -bash: ENV: command not found -bash: CMD: command not found student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ docker build -t test-python . unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/student_04_cc5c1d912aba/python-docs-samples/appengine/standard_python3/hello_world/Dockerfile: no such file or directory student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ docker run --rm -p 8080:8080 test-python Unable to find image 'test-python:latest' locally docker: Error response from daemon: pull access denied for test-python, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'. student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ ^C student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$

Mike G. · Reviewed about 4 years ago

Bojan R. · Reviewed about 4 years ago

Missing instructions on creating Dockerfile

Jim W. · Reviewed about 4 years ago

Leandro Valdemir B. · Reviewed about 4 years ago

ripal p. · Reviewed about 4 years ago

Missing components in the docker Welcome to Cloud Shell! Type "help" to get started. Your Cloud Platform project in this session is set to qwiklabs-gcp-00-1e43f97b2b39. Use “gcloud config set project [PROJECT_ID]” to change to a different project. student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ gcloud auth list Credentialed Accounts ACTIVE: * ACCOUNT: student-04-cc5c1d912aba@qwiklabs.net To set the active account, run: $ gcloud config set account `ACCOUNT` student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ gcloud config list project [core] project = qwiklabs-gcp-00-1e43f97b2b39 Your active configuration is: [cloudshell-22989] student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ gcloud app create --project=$DEVSHELL_PROJECT_ID You are creating an app for project [qwiklabs-gcp-00-1e43f97b2b39]. WARNING: Creating an App Engine application for a project is irreversible and the region cannot be changed. More information about regions is at <https://cloud.google.com/appengine/docs/locations>. Please choose the region where you want your App Engine application located: [1] asia-east1 (supports standard and flexible) [2] asia-east2 (supports standard and flexible and search_api) [3] asia-northeast1 (supports standard and flexible and search_api) [4] asia-northeast2 (supports standard and flexible and search_api) [5] asia-northeast3 (supports standard and flexible and search_api) [6] asia-south1 (supports standard and flexible and search_api) [7] asia-southeast1 (supports standard and flexible) [8] asia-southeast2 (supports standard and flexible and search_api) [9] australia-southeast1 (supports standard and flexible and search_api) [10] europe-central2 (supports standard and flexible) [11] europe-west (supports standard and flexible and search_api) [12] europe-west2 (supports standard and flexible and search_api) [13] europe-west3 (supports standard and flexible and search_api) [14] europe-west6 (supports standard and flexible and search_api) [15] northamerica-northeast1 (supports standard and flexible and search_api) [16] southamerica-east1 (supports standard and flexible and search_api) [17] us-central (supports standard and flexible and search_api) [18] us-east1 (supports standard and flexible and search_api) [19] us-east4 (supports standard and flexible and search_api) [20] us-west1 (supports standard and flexible) [21] us-west2 (supports standard and flexible and search_api) [22] us-west3 (supports standard and flexible and search_api) [23] us-west4 (supports standard and flexible and search_api) [24] cancel Please enter your numeric choice: 17 Creating App Engine application in project [qwiklabs-gcp-00-1e43f97b2b39] and region [us-central]....done. Success! The app is now created. Please use `gcloud app deploy` to deploy your first app. student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ git clone https://github.com/GoogleCloudPlatform/python-docs-samples Cloning into 'python-docs-samples'... remote: Enumerating objects: 63861, done. remote: Counting objects: 100% (15/15), done. remote: Compressing objects: 100% (15/15), done. remote: Total 63861 (delta 2), reused 13 (delta 0), pack-reused 63846 Receiving objects: 100% (63861/63861), 73.97 MiB | 25.31 MiB/s, done. Resolving deltas: 100% (36849/36849), done. student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ cd python-docs-samples/appengine/standard_python3/hello_world student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ FROM python:3.7 WORKDIR /app COPY . . RUN pip install gunicorn RUN pip install -r requirements.txt ENV PORT=8080 CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 main:app -bash: FROM: command not found -bash: WORKDIR: command not found -bash: COPY: command not found -bash: RUN: command not found -bash: RUN: command not found -bash: ENV: command not found -bash: CMD: command not found student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ docker build -t test-python . unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/student_04_cc5c1d912aba/python-docs-samples/appengine/standard_python3/hello_world/Dockerfile: no such file or directory student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ cd python-docs-samples/appengine/standard_python3/hello_world -bash: cd: python-docs-samples/appengine/standard_python3/hello_world: No such file or directory student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ FROM python:3.7 WORKDIR /app COPY . . RUN pip install gunicorn RUN pip install -r requirements.txt ENV PORT=8080 CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 main:app -bash: FROM: command not found -bash: WORKDIR: command not found -bash: COPY: command not found -bash: RUN: command not found -bash: RUN: command not found -bash: ENV: command not found -bash: CMD: command not found student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ docker build -t test-python . unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/student_04_cc5c1d912aba/python-docs-samples/appengine/standard_python3/hello_world/Dockerfile: no such file or directory student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ docker run --rm -p 8080:8080 test-python Unable to find image 'test-python:latest' locally docker: Error response from daemon: pull access denied for test-python, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'. student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ ^C student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$

Mike G. · Reviewed about 4 years ago

Toth C. · Reviewed about 4 years ago

Tushar K. · Reviewed about 4 years ago

Muhammad Y. · Reviewed about 4 years ago

Baogang Y. · Reviewed about 4 years ago

Vivek K. · Reviewed about 4 years ago

Taskeen F. · Reviewed about 4 years ago

Lais M. · Reviewed about 4 years ago

few commands didn`t work as per expectation

pradeep y. · Reviewed about 4 years ago

Joao M. · Reviewed about 4 years ago

Gopika P. · Reviewed about 4 years ago

Good

Alexandre d. · Reviewed about 4 years ago

Farhan H. · Reviewed about 4 years ago

Sivasankar B. · Reviewed about 4 years ago

Bhanuprakash K. · Reviewed about 4 years ago

Jamil M. · Reviewed about 4 years ago

Kenneth P. · Reviewed about 4 years ago

Ysabela R. · Reviewed about 4 years ago

Amit5 K. · Reviewed about 4 years ago

ERIK D. · Reviewed about 4 years ago

We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.