nginx – There is no organization established in GCP. Which channel can I use to reflect the status of GCP virtual machines?

There is no organization established in GCP. Which channel can I use to reflect the GCP virtual machine problem?

In the web server, I configure through nginx, but the timeout appears from time to time on the browser, and the timeout appears. The ping is normal but all ports on this IP seem to be inaccessible.

How to use GCP monitoring CPU Usage alert to spin a new VM instance (implementing custom autoscaling)

I have 2 GCP VMs connected to a load balancer (it is an ummanaged instance group).

  1. I would like to spin a new VM whenever I receieve a CPU Usage alert (usage higher then 70%). This is a customized scenario and I cannot use GCP built in autoscaling.

Are the following 2 scenarios possible ? looking for some direction here.

  1. My custom code will spin a new VM and deploy custom code on instance.
  2. Can I attach the new VM to the LB after step 1 above.


google cloud platform – 500 error occurs on AI HUB in GCP while using “Open in GCP” and “Download”

I can’t create an instance on GCP using AI HUB assets.
While using “Open in GCP” and “Download”, 500 error occurs.
(Ex. asset name is “Building, training, and deploying XGBoost model using Kubeflow Fairing”)
I logged out of GCP and logged in again, but the error didn’t go away.
How can I resolve this problem?
Help much appreciated. Thanks

Architecture – For cloud services like GCP Cloud Run, should a restful API also subscribe to a message queue and how

In a bit of a quandary. I am using Cloud Run on GCP for backend services, and it will auto-scale based on HTTP load, potentially scaling down to 0 if there is no traffic for awhile.

I have a product with 3 backend restful services running on Cloud Run, and the backend services need to communicate with each other. They could post messages directly to each other, as one option. But let’s assume we want a message queue to ensure delivery of messages.

My question is – if I have a RabbitMQ subscription in each of the services – will Cloud Run know to keep the service alive? Will it know to scale up if more messages are received from Rabbit? Is it a design smell to have a restful service that also subscribes to a message queue via a TCP connection? My main concern is how Cloud Run itself keeps services alive and how it auto-scales based on the TCP message load. My guess is that Cloud Run mostly deals with HTTP messages and doesn’t know how to deal with TCP connections?

One potential answer to the question is to use GCP’s pub/sub instead of RabbitMQ, but I am curious if it could be solved using RabbitMQ. The problem with GCP pub/sub is that I don’t want to fan out, I just want the message to be processed by one instance of a service, not all instances.

Also: Can someone create a tag “gcp” and add it the question please.

Creation of Multiple VMs using Terraform in GCP

Has someone created a 1000 vm’s using Terraform in GCP?
And if yes could you help me to develop the code to create that number of instances?
Thank you!

networking – GCP – should I have multiple egress IP address?

Our company hosts infra on GCP. Default network is connected to cloud NAT. Because API provider we work with need to whitelist our IP address, I am adding static IP to the cloud NAT.

The question is – should I assign just one IP address or multiple IP addresses?

My understanding of pros/cons:


  • potentially API provider can have rate limit per IP. If we have multiple IPs we have more rate limits


  • it’s tedious to whitelist multiple IPs

Both doesn’t seem very strong point so I guess it doesn’t matter? What is the best practice for egress IP addresses? Should I have one or multiple? If multiple how many is recommended?

how can we edit ssh keys of VM In GCP Please guide

My ssh Keys in Vm Instance are showing "expireOn":"2020-11-20T00:06:44+000"

since then i am unable to connect to my VM and also not able to connect via SSH

Please guide on how to update the ssh keys on GCP

google cloud platform – GCP architecture questions

I have an HTML/CSS/JS website. What Google Cloud Platform product should I use for this? Firebase? Or not GCP? It needs to be https:, forms need to integrate with Gmail, it will include FB pixel and Google analytics, and a purchase cart. Am I using an external cart or does GCP have one?

Are HTML forms still the way to handle forms that integrate with my gmail? Does GCP have something like TypeForm which is one line at a time or do I integrate an external product?

Do I need something like Calendly or Acuity to schedule appointments from my website or what do you use to integrate with Google Calendar from the website for user appointments?

And I have a course. I was thinking it should go on and would be best in Google App Engine Standard with Python and Flask? It needs security, login, and uses many videos, with users throughout USA.

What is the best way to show a course, and progress from one screen to another, with surveys to ask the user questions to skip some content and determine the next best page to go to? Are there pre-built api’s or other ways, or am I designing this from scratch?

It used to be that you never put secure content with front-facing unsecure content for security concerns. Am I using one GCP account? One App Engine project for the course and one Firebase project for the website and a storage service for video? I need to keep the course and videos secure.

I have a community. I was thinking of using MightyNetworks instead of Google because it has more functionality – rooms, moderation of content, up/down voting of answers, moving content and tagging it for searchability when saving it for future users, and many other features. Does Google have these features that I can integrate with my course, or am I using MightyNetworks?


google cloud platform – GCP SLQ instance wont stop ,restart, or delete

The status says “under maintenance” and has for several hours. This is a not a large database as I am a new student with very small tables for learning. I have tried stopping and restarting as well as deleting the instance, but get an error message every time. The error simply says “The attempted action failed, please try again. Request ID: 4022803414404737811”. Operations and logs shows an “update” error “unknown error” this morning, but no other information given.

I have logged out of GCP and back in with no effect.

google cloud platform – Exclude specific web page from access restrictions with GCP / IAP

I have a Node.js/Express web app running on the Google Cloud Platform App Engine.

I’m restricting access to this application using the Identity Aware Proxy (IAP), so that only people in my company can access the website when they are logged on to Google using their corporate accounts.

This works great, only one thing annoys me:

For the OAuth 2 client that restricts the access, I have configured the URL of a privacy and data policy page which is linked from the Google login form that is shown to users when they try to access the website.

Google login form

This privacy page is also served by my web application, so when people who are not yet logged in click on the link presented on the login form, they are asked to log in to view the privacy page, since all my web app’s pages are protected by the IAP. A chicken-and-egg type of problem.

Is there a way to exclude specific URLs from the IAP and allow access without logging in?