Gcp
-
How to Download Images From URLs, Convert the Type, and Save Them in the Cloud With Python
It can be unstable to serve third-party images because there can be latencies and they can be changed or removed without prior notice. Therefore, for the robustness of your service, sometimes you need to download the images and serve a stable version of them. In this post, we will introduce how to download images from… Continue reading
-
How to Add Google Logger to Scrapy in Python
It’s important to keep a record of the scraping projects with logging so we can know which spiders are working properly and which ones are not. It is cumbersome to write the logs to some files and try to analyze the plain texts later. A better way is to send the logs to the cloud… Continue reading
-
Learn the Basics and Get Started with Firebase — an App Development Platform Backed by Google
Firebase is an app development platform backed by Google. It’s a one-stop service for mobile and web apps and provides all kinds of services including authentication, database, storage, monitoring, notification, hosting, etc. Firebase can accelerate the development process and liberate us from the tedious and demanding authentication, database, and infrastructure management jobs and let us… Continue reading
-
How to Work With Secrets on Google Cloud Platform (GCP)
An application normally needs some sensitive data like API keys, database passwords, private keys, etc. It’s common to store them as environment variables. However, this is not a good practice because the values of environment variables are set and stored as plain texts and thus can be revealed easily. If your application is hosted on… Continue reading
-
How to Set Up Your Local Environment to Work With GCP
If you work on the Google Cloud Platform (GCP), having your local environment set up properly can make your life much easier. It can be a headache to deal with all the nitty-gritty authentication issues especially when you have just started to work with GCP. Don’t worry, in this post, we will introduce the common… Continue reading
-
How to Connect to GCP Cloud SQL Instances in Cloud Run Services
If you use the Google Cloud Platform (GCP), it’s common to access Cloud SQL in your Cloud Run services. This is supposed to be an easy task because both Cloud SQL and Cloud Run are in the same network. However, when you do it yourself, you may not be able to do it successfully in… Continue reading
-
How to Visualize Google Logs with Grafana
We have introduced how to write logs to Google Cloud Logging in our Python applications. We have also introduced how to visualize our data with Grafana. Now it’s time time to combine both and try to visualize or monitor our Google Logs with Grafana, which can have a more direct and more vivid way of… Continue reading