Category : google-cloud-platform

This is for a project involving the deployment of a series of web-scrapers. I’m looking to receive URLs in one "load-balancer" cloud function and then invoke several synchronous/identical web-scraper cloud functions to handle the workload of URLs. I’ve attempted designs using HTTP requests and pub/sub between the functions. Anyone with more experience see a good ..

Read more

Within my code, I am attempting to gather the Application Default Credentials from the associated service account in Cloud Build: from google.auth import default credentials, project_id = default() This works fine in my local space because I have set the environment variable GOOGLE_APPLICATION_CREDENTIALS appropriately. However, when this line is executed (via a test step in ..

Read more

I know how to download the file from cloud storage within the cloud run instance. But, I can’t find the syntax for reading the file in python. I’m looking to immediately convert the csv file into a pandas dataframe, just by using pd.read_csv(‘testing.csv’). So my personal code looks like, download_blob(bucket_name, source_blob_name, ‘testing.csv’). So shouldn’t I ..

Read more