Google Cloud Platform – Python Tutorial

///Google Cloud Platform – Python Tutorial

Google Cloud Platform – Python Tutorial

FavoriteLoadingAdd to favorites

In this tutorial I’ll show you how to deploy a simple Python web app to a Flexible environment in App Engine.

The code from the video can be found here:

source

By |2020-04-01T02:43:19+00:00April 1st, 2020|Python Video Tutorials|38 Comments

38 Comments

  1. Immortal Discoveries April 1, 2020 at 2:43 am - Reply

    why is it sooooooo hard omg……..i just want to run my python on Gcloud!!

  2. Ray Martin April 1, 2020 at 2:43 am - Reply

    With your help, I got my app running at Google Cloud! Thanks for you information!

  3. Sourab Bhowmik April 1, 2020 at 2:43 am - Reply

    Can you show us to host django website on gcp…thankx

  4. Alex Caranha April 1, 2020 at 2:43 am - Reply

    Very good. Thanks

  5. Dali NEFISSI April 1, 2020 at 2:43 am - Reply

    good work from Paris !

  6. Jared Feexico April 1, 2020 at 2:43 am - Reply

    I get a no module named app error. Not sure where to go from here

  7. Mohan Krishna V April 1, 2020 at 2:43 am - Reply

    I dont get those default files in code editor.Its empty.Should I do something else to generate those predefined files

  8. mani kumar April 1, 2020 at 2:43 am - Reply

    thanks to u made this vodeo

  9. Vinsmoke Rifka April 1, 2020 at 2:43 am - Reply

    `ERROR: (gcloud.app.deploy) Error [400] Billing must be enabled for activation of service`
    it is not free, right?

  10. luls April 1, 2020 at 2:43 am - Reply

    PLEASE HELP
    how do i apply changes in my python file, like "hello youtube2222" without need to deploy again and wait for 10 minutes?

  11. Jack J April 1, 2020 at 2:43 am - Reply

    Dude – I've been scouring the web for something that makes it this simple. Thanks a bunch.

  12. Pikesh Patel April 1, 2020 at 2:43 am - Reply

    Application startup error:

    /bin/sh: 1: exec: gunicorn: not found

  13. Madhavi Dikkolu April 1, 2020 at 2:43 am - Reply

    hi, Nice tutorial, I got this error ::> ERROR: gcloud crashed (TypeError): expected string or buffer
    Please resolve this

  14. Hossain Ahmad Sobhen Morshed April 1, 2020 at 2:43 am - Reply

    this video code getting old here is new cod from google https://cloud.google.com/python/getting-started/hello-world

  15. 8bit_hero April 1, 2020 at 2:43 am - Reply

    amazing

  16. Alfa_ Q April 1, 2020 at 2:43 am - Reply

    Thank you for the video mate. Really helpful and incredibly easy to follow

  17. Ashish Kumar April 1, 2020 at 2:43 am - Reply

    Thanks to you, I made my flask project run on gcloud

  18. josue cayola April 1, 2020 at 2:43 am - Reply

    como puedo usarlo para trabajar en un entorno de desarrollo como ser en mi local… ?

  19. bryan cortes April 1, 2020 at 2:43 am - Reply

    Idk if you'll see this but which environment is best to choose? Flexible or standard

  20. sandhya r April 1, 2020 at 2:43 am - Reply

    Hi,
    I am facing below issue, could you please suggest.
    Updating service [default] (this may take several minutes)…failed.
    ERROR: (gcloud.beta.app.deploy) Error Response: [9]
    Application startup error:
    /bin/sh: 1: exec: gunicorn: not found

  21. Laura Tech April 1, 2020 at 2:43 am - Reply

    I received the old 404 error from the appspot.com link. Everything else finally worked after I was asked to input which datacenter region to create the app engine in=>
    404. That’s an error.

    The requested URL was not found on this server. That’s all we know.

  22. John Carter April 1, 2020 at 2:43 am - Reply

    I've been searching for an explanation on the app.yaml file for days now! Thanks for this.

  23. Shelby Shum April 1, 2020 at 2:43 am - Reply

    You made this sooo much simpler

  24. hub strangers April 1, 2020 at 2:43 am - Reply

    Hi there, is this editor is similar to VS code?

  25. townheadbluesboy April 1, 2020 at 2:43 am - Reply

    Very good explanation. As Harki says better than the official. Be good if you did some on using python to interact with storage – the tutorials on this stuff are very confusing. Thanks for doing this

  26. Mark Anthony Gutierrez April 1, 2020 at 2:43 am - Reply

    Hello Chris,
    Do you have a tutorial on deploying a django project using Google Cloud Platform? I've been following the guides in google but I make it right.. always getting an errors.

  27. Omar El-Mohri April 1, 2020 at 2:43 am - Reply

    With gunicorn you don't have to force the port on Flask or run the app (my guess)

  28. Денис Сахаров April 1, 2020 at 2:43 am - Reply

    Genious, thanks, pal!

  29. Jatin sharma April 1, 2020 at 2:43 am - Reply

    Hey I need help in deployment my webapp which is based on PHP how can I deploy that on app engine

  30. IamusTheFox April 1, 2020 at 2:43 am - Reply

    I spent days trying to figure out what I was doing wrong. I have to say, I had a project working, but it was ages ago, and I forgot what I did.

    I seriously spent days trying to figure it out…..I forgot gcloud deploy….

  31. Avinash Anand April 1, 2020 at 2:43 am - Reply

    Hi Chris,
    I followed in your footsteps and first got the below error on hitting gcloud app deploy:
    ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred while creating a Google Cloud Storage bucket.
    which i resolved upon looking at a stackoverflow post which said to execute below command first:
    $ gcloud config set app/use_deprecated_preparation True
    but after doing that now I am getting the below error:
    Updating service [default] (this may take several minutes)…failed.
    ERROR: (gcloud.app.deploy) Error Response: [4] Your deployment has failed to become healthy in the allotted time and therefore was rolled back. If y
    ou believe this was an error, try adjusting the 'app_start_timeout_sec' setting in the 'readiness_check' section.
    I am not sure what am I doing wrong here. Please excuse, this is my first day of learning cloud.

  32. Hasan Rafiq April 1, 2020 at 2:43 am - Reply

    So simple, yet the best out there !

  33. George Hatoutsidis April 1, 2020 at 2:43 am - Reply

    Hellow Chris Nice tutorial can you please explain – make a video how to upload python flask code from my local machine to deployed to app engine with the requirements.txt .yaml fils , a very simple app that say only hello world , Basicaly i have big flask app and is dificul for me to rewrite all the code in the google cloud console

  34. hoboninja2222 April 1, 2020 at 2:43 am - Reply

    Great turtorial but i was needing to make a proxy site any help?

  35. Arion Maniatis April 1, 2020 at 2:43 am - Reply

    Concise and clear, thanks!

  36. Elliott Davies April 1, 2020 at 2:43 am - Reply

    Hi mate, great video.

    After using the gcloud app deploy command, I'm prompted with the following error message:

    Updating service [default]…failed.
    ERROR: (gcloud.app.deploy) Error Response: [9]
    Application startup error:
    /bin/sh: 1: exec: gcloud: not found

    I've tried pip installing flask in the terminal as you suggested in the comments, however an error message appears.

    Any ideas you may have would be greatly appreciated. Thanks in advance.

  37. Harki Rehal April 1, 2020 at 2:43 am - Reply

    This tutorial is better than the google tutorial on the same subject. Thanks for putting it up.

  38. Matt Conger April 1, 2020 at 2:43 am - Reply

    Very helpful video Chris. Hopefully you'll start uploading some more!

Leave A Comment

*