google-compute-engine

Overwrite single file in a Google Cloud Storage bucket, via Python code

Overwrite single file in a Google Cloud Storage bucket, via Python code Question: I have a logs.txt file at certain location, in a Compute Engine VM Instance. I want to periodically backup (i.e. overwrite) logs.txt in a Google Cloud Storage bucket. Since logs.txt is the result of some preprocessing made inside a Python script, I …

Total answers: 2

How to deploy a streamlit app in compute engine

How to deploy a streamlit app in compute engine Question: I want to deploy a python streamlit app using compute engine as my company does not provide access to app engine yet. Is there a way to deploy the app using compute engine rather than app engine on google cloud. I have searched multiple forum …

Total answers: 1

Connect Tableau to GCP Compute Instance running TabPy

Connect Tableau to GCP Compute Instance running TabPy Question: I want to connect Tableau to TabPy installed on GCP Compute Instance. For that purpose I created a Compute Instance with default settings. Then I assigned a static external IP address to that instance. In Tableau I am using an External Service Connection option: In the …

Total answers: 1

Starting a Google Compute instance with Python

Starting a Google Compute instance with Python Question: I am trying to start a Google Compute instance with the Google API Python Client Library. This is so that a cheap instance (running on a single core) can periodically start and stop a more expensive instance (with many cores) periodically, to keep costs down. I have …

Total answers: 4

How to use gcloud commands programmatically via Python

How to use gcloud commands programmatically via Python Question: The Google documentation is a little generic on this topic and I find it hard to get around the different APIs and terms they’re using, so I’m wondering if someone could point me to the right direction. I’m looking for a way to call the gcloud …

Total answers: 4