Google Cloud Platform Flask Python App Deployment

Опубликовано: 21 Сентябрь 2020
на канале: Vincent Stevenson
59,251
602

I walk through how to deploy Python Flask applications to Google Cloud Platform as an alternative to Heroku or AWS for PaaS.
1. Create a new project in Google Cloud console
2. Activate cloud shell button (top right)
3. Clone Google's repo at https://github.com/GoogleCloudPlatfor... into the project
4. Click on Open Editor (within the Cloud shell)
5. Expand appengine, flexible, hello_world (confirm you can see the .py file for the Flask example)
Note that the file: app.yaml is where you add additional PaaS config settings for GCP
6. In the console, cd to the hello_world dir and run command: gcloud app deploy
7. If you are asked to set PROJECT_ID, run following command: gcloud config set project [PROJECT_NAME]
8. After a few minutes, your project should be live and it will have a link you can go to access your application!


На этой странице сайта вы можете посмотреть видео онлайн Google Cloud Platform Flask Python App Deployment длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Vincent Stevenson 21 Сентябрь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 59,251 раз и оно понравилось 602 зрителям. Приятного просмотра!