Newest 'google-cloud-platform' Questions

Q&A for system and network administrators

External IP configuration - connection being refused

I created a VM-instance, say myVM on GCE. I assigned an external IP address during this. I then changed this IP address from ephemeral to static. When I look up at External IP Addresses page (https:...

BigQuery: How to restrict service account access to a range of ip addresses?

I have an application which has to upload content to google BigQuery service. A service account is created, everything is working fine with it, but how can I restrict the usage of the account ...

Inconsistency in BigQuery Data Ingestion on Streaming Error

While streaming data to BigQuery, we are facing some inconsistency in data ingested when making https://cloud.google.com/bigquery/docs/reference/rest/v2/tabledata/insertAll requests using BigQuery ...

Google Cloud DNS - What does the PTR record actually do?

In my business, my physical sever has an external IP of 123.123.123.123. Performing a reverse lookup on that IP will give you mail.myserver.com. I had to ask my web host to create that PTR record for ...

Google Cloud Compute set /20 subnet mask to internal interface

Google cloud uses DHCP for assigning IP's to an instance. For some reason, they assign the address with a /32 netmask even though you're on your own /20 network. I have found that if I set the ...

How to «leave» Google Cloud Platform project?

Some time ago I was invited to participate in one project on Google Cloud Platform. Right now, I'm no longer interested in participating and would like to «leave» the project. This is what I see (...

Unable to route to other hosts in GCE network via OpenVPN

OpenVPN has been installed on a Google Cloud Instance using this script. The Google Cloud Instance is Ubuntu 14.04 LTS, has been tagged with "vpn", with IP Forwarding enabled. Additionally, 3 ...

How to show which image a GCE VM was created from?

I need to figure out which image was used to create a virtual machine in my organization's Google Cloud / Compute Engine project. I don't see this information on the Virtual Machine overview page (...

Google Cloud DNS - add a CNAME to another domain?

I can't add a CNAME to another domain - why and how can I fix? My zone name is myapp.com. To add automated email security re spam, SendGrid (provider) wants me to add 3 CNAME records of the format: ...

DDOS - Google Cloud Instance vs. Amazon AWS

I am planing to launch a little Website but i am afraid of DDOS Attacks and the additional costs there would be charged. I read that Amazon EC2 is not charging the inbound http requests? What is ...

How to enable Stackdriver Monitoring and Stackdriver trace on existing GKE cluster?

Have a cluster setup with the following permissions. I tried creating a node pool with new permissions, which seems to be able to enable some things. I didn't find the scope required for stackdriver ...

How to create a url in a wordpress that will return code 200?

This is needed because I need to implement a load balancer in GCP for a word press instance. GCP will only forward a request to the wordpress instance if it passes the health test. Here is a ...

need to move IPs from one machine to another in GCP

We are using Google Cloud Platform. We have a few machines in one of the subnets. Now we want to run containers in these machines. In case of a machine crash, we want to move the container to another ...

Critical Policy Violation email from Google Cloud Platform. What to do? [duplicate]

2 days ago I have received a very frustrating email from Google Cloud Platform Compliance team and after some investigations I was recommended to post my question to the community and ask for their ...

Ports for FTP passive mode

I opened from firewall port 21 for FTP on Google Cloud Engine but I can only connect via active mod to FTP. I want to use passive mod too. According to http://stackoverflow.com/questions/24566692/...

How to update from Debian 7 to Debian 8 on Google Compute Engine

Is there a particular way to update from debian 7 to debian 8 on a machine on Google Compute Engine? While I can connect to the machine with gcloud ssh command, after I did the update I'm unable to ...

Does GCP support P2S?

According to this documentation Google Cloud Platform supports Site-to-site (S2S) VPN, but does it support point-to-site (P2S) as well?

Invalid value for field 'resource': ''. Invalid path pattern when adding path rules

I want to add path matching rules to a url map in google compute engine. Here is my command: gcloud compute url-maps add-path-matcher myproject-url-map --default-service \ backend-service-wordpress ...

Parse server REST API error [migrated]

I am using google cloud & database on mLab for deployment of the parse server. i have taken a compute engine instance and a bitnami parse-stack over it , i have configured all variables in server....

HTTPS/SSL on Google Cloud Platform instance

I've been tasked to move one domain/subdomains to HTTPS. We already have a Wildcard SSL certificate from RapidSSL, but I'm a bit confused on the overall process. I can get the Intermediate CA .cer ...

Cisco 2901 Site-to-Site VPN for Google Cloud VPN

I recently inherited a Cisco 2901 router and have, literally, 0 experience managing this device. I need help configuring a Site-to-Site VPN between my premises: IP: 5.5.5.1 Subnet: 10.4.0.0/15 (255....

How to store wordpress media files in Google Cloud Storage buckets?

I am using Google Cloud platform for my website hosting. My website mostly contains images. I am using the persistent disc of size 50gb for storage purpose. If I increase the size of persistent disks,...

Cloud SQL periodic issues connecting OperationalError: (2062, 'Cloud SQL socket open failed with error: Transport endpoint is not connected')

Periodically connection attempts to the 2nd Gen MySQL server receives this error: OperationalError: (2062, 'Cloud SQL socket open failed with error: Transport endpoint is not connected') This will ...

What secure and good options are there for hosting own private mail server? [closed]

So I want to set up a private mail server for me to use (Aprox 6 emails in total with maybe sending an average of 5 emails a day from each account and receiving 20+ emails a day on each account). I am ...

What are these massive CPU spikes on Google Compute Engine VMs?

I checked in on a couple servers this morning to monitor the state of a long-running process and noticed a massive CPU spike reported by the Google Compute Engine console: Graph of VM CPU usage I ...

How to map a domain name to a load balancer in google cloud platform?

I have successfully set up a load balancer in google cloud platform If I use the IP as shown in the image, I can test and verify that the set up is working as I planned. Now I would like to map a ...

How to respond to http health check at a particular url while redirecting other traffics?

Background: I am trying to set up an instance group in Google cloud platform. The instance group consists a number of nginx instances whose job is simply to redirect incoming https traffic to an ...

We currently use GCM with an api key but I see no quota or current usage data in web GUI?

I know google rolled out the new FCM as well but I am poking around trying to find out from google's website how much we are currently using for sending notifications through GCM. I can't seem to ...

Create Google Container Engine Cluster Without Default Node Pool?

When I create a cluster on Google Cloud's Container Engine, e.g. using gcloud container clusters create my-cluster --zone=my-zone a node pool ("default-pool") is created as well. I don't want this ...

Stackdrive agent metric isn't propagated to GCE instance-group-manager autoscaler

I'm trying to set up autoscaling group of instances on GCE. Autoscaling policy setup to add instance(s) based on percent of used memory. On every instance I installed Stackdriver Monitoring Agent (...

Installing a virtual graphics adapter on a Windows Server

We are trying to move a currently running GUI tests setup on Windows machines to a cloud based setup*. Unfortunately the tools we use require a graphics adapter to be present on the computer in order ...

Using google load balancer in google compute engine in combination with google app engine

I want to ask the community for feedback on my plan to address the following issue The issue When my project first starts as a google app engine, I have assigned www.mycompany.com as the custom ...

Monitoring and alerting on Google Cloud Bigtable

We are building a data pipeline on GCP and chosen Bigtable as our data warehouse for raw events. My problem is - I cannot find a way to properly monitor the cluster. The dashboard offers a limited ...

Google App Engine keeps creating 4 instances when I want it to limit to 1

My Parse App running on google app engine is configured in its app.yaml to use a minimum and maximum of 1 instance in the flexible environment, yet I keep seeing it create 4 instances. Because of this,...

What are fast and safe options to setup a VPN between the office and GCP?

Aim: to setup a VPN between GCP (Google Cloud Platform) and the office Create VPN connection Create a VPN connection Idea We are now considering to setup StrongSwan, but wonder if this will work ...

Can't send email using email function in google cloud platform

We have G Suite account with our domain name. And our server is Google cloud platform. we are using PHP for our development, we trying different code for sending mails, but cant receive any mails ...

Samba winbind service cannot be restarted after reboot

I have a samba server installed in Google Compute Engine (running centos 7). When the server get rebooted, I found the winbind service was not restarted. The log says folder /run/samba/winbind was not ...

How to map '/' in a url-map?

In Networking -> Load Balancing -> Host and path rules, I have defined a url map to map '/', '/blog/', 'features/' and '/pricing/' to a wordpress backend/ However when I add a configuration test for ...

Openswan/IPtables: Faking a unique IP address over VPN tunnel

Context: I'm running a set of instances within the Google Compute environment. Each host has a single interface with single ip in the 10.0.0.0 private range. I have external customers who ...

“Could not complete the operation” when trying to add an authorized network to Cloud SQL instance

I'm trying to add an authorized network to our cloud sql instance, but each time I click Save I get told Could not complete the operation. That's it unfortunately, there's no explanation as to what ...

Google cloud dns default not found

When first starting, I created a network called my_network and in trying to setup the firewall I'm getting the following error: The resource 'projects/[my-project-name]/global/networks/default' was ...

Google Cloud Service Accounts with limited permissions?

I need to use a service account to have one my scripts create regular disk snapshots. It seems to be that have to give this service account the role of "EDITOR", so it has write access. What I am not ...

it is possible to turn gtid_mode off on Cloud SQL?

Is it possible to turn GTID mode off on 2nd generation Cloud SQL instances? I tried a dynamic change and got the "Super" error message: mysql> SET @@GLOBAL.GTID_MODE = OFF; ERROR 1227 (42000): ...

unable to map custom domain… example.com is already mapped to a project

I am trying to add a new custom domain to google cloud platform project I created. I went to the app engine under Custom domains tab, clicked "add a custom domain" button, selected my already verified ...

ssh keys google cloud [closed]

I'm trying to use google cloud to make my own SFTP server, the problem is I don't know how to properly use the ssh keys, everytime I try to connect with a ssh key the VM rejects it, any help? I'm ...

Problème with google load balancer, user not send to the closest instances

I created 6 instances in Google Cloud Plateform 2 in asia 2 in us 2 in europe I have 3 groups in each zone When i try to go to my app, i'm randomly send to one zone, no matter if i'm in Europe or ...

What are these 99+% peaks in Google Cloud VM CPU Usage?

So i got a Google Cloud VM which is running a woocommerce store. It works fine but now i got this problem for the second time. The VM's CPU Usage suddenly goes over 99% for a long period of time. ...

How to delete google cloud project?

I can't delete existing google cloud projects. When I click delete project in administration panel, nothing happens. No errors, no notifications.

How to discover all the errors of a newly created project in GCP?

I created a new project in GCP. It is what I see in the 'IAM & Admin' section: I haven't deploy any code or app yet. The count '21' here is in the errors column. However if I switch to the log ...

Google cloud unable to connect to the VM on port 22

I am using Google Compute engine to host couple of sites but I resize the disk and then restarted the instance and now I am unable to connect both from gcs and putty. ( Connection Refused ) Serial ...
Translating... 0%