Dockerize Python script and deploy to Google Compute Engine (GCE)
In this video we are going to write a trivial Python script, create a Docker image out of it and then deploy it to Google Compute Engine (GCE). We are also going to add Stackdriver logging to the script.
Source code:
vladsave.com/?p=231
Business website:
vladsave.com
Chapters
00:00 Introduction
00:13 Writing the Python script
01:26 Add Stackdriver logging
04:54 Dockerize the script
07:00 Push the Docker image to Google Cloud
10:20 Deploy the image to Compute Engine
12:50 Read the instance logs in Stackdriver
Пікірлер: 12
This is what I needed. Simple & Clean Explaination!
It's very simple, clear and useful. Thanks Vladsave
This was really useful! The fact that you made the pythons script as simple as possible made the video very easy to follow.
@vladsavecoding4111
Жыл бұрын
Thank you. I'm glad it helped 🙏
What a nice tutorial. Thankyou
Thank you!
Thanks!
Thank you!!
Please a make video how to connect to remote machine to gcp
@vladsavecoding4111
2 жыл бұрын
Interesting. I'll see how I can incorporate this into a video. In the meanwhile, when you click on a VM in the Google cloud website, there will be a SSH button. Another option is with them "gcloud compute instances ssh" command from your local machine but you'll need to have the Google Cloud SDK installed locally
This video was incredible. But I wish you took the pace slightly slower to explain each step. Not just rushing through it.
@vladsavecoding4111
10 ай бұрын
Thanks for the feedback. I'll keep that in mind for future videos