Newest 'google-cloud-platform' Questions

Q&A for system and network administrators

Kubernetes LoadBalancer works Only for Port 80 and not Others on Google Cloud

I am having trouble exposing ports other than port 80 on my Google Cloud Kubernetes cluster. Below is the Kubernetes service yaml file, but for some reason only port 80 is exposed. I have SSHed into ...

OpenVPN on Google Compute Engine - what route am I missing?

I have installed OpenVPN on other VPS providers, and wanted to try out Google's. I like Googles price/performance, and especially because I can spin up the machines from my phone without logging in ...

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 ...

No --wait or --no-async when creating Google Cloud container node pool?

I'm using Google Cloud / Google Container Engine, and I have infrastructure scripts where I create a cluster and node pools and then perform operations on the node pools once they're setup. In my ...

Google Cloud: TCP load balancer with subnetworks

I have 2 projects on Google Cloud in the same region with the following subnetworks: ProjectA 10.10.0.0/16 ProjectA 10.20.0.0/16 I have created a VPN tunnel to allow traffic from one project into ...

kubectl: The connection to the server XXX.XXX.XXXXXX was refused

I am trying to connect to kubernetes master (cluster) in Google Cloud Engine. The error that always I get when the kubectl try to access to kubernetes master is: The connection to the server XXX....

how can I connect godaddy domain with a Wordpress site on google cloud?

I make a wordpress site on google cloud but don't know how to connect it with domain name in godaddy.com. There is option to transfer domain name to url but it gives 301 or 302 error while sitemap on ...

Google Compute Engine: Floating IP?

I've two servers with ephemeral external ips. ServerA ServerB and I've one Static external IP address (A.B.C.D), which is currently attached to ServerA. ServerA is my primary loadbalancer, and ...

What are the correct Google Compute Engine scopes for Stackdriver Trace and Cloud PubSub?

I'm trying to setup a node pool/cluster that includes the scopes for trace and pubsub, but the docs seems to leave both scopes out of the list. https://cloud.google.com/sdk/gcloud/reference/compute/...

What is the difference between zones in the same region in Google Compute Engine?

What kind of differences are there between different zones in the same region in Google Compute Engine? For example, in Eastern Asia-Pacific, you can access to a set of different zones in Taipei ...

Can I change the region of my Google Compute Engine project once it is deployed?

I host my node.js app and the MySQL database on Google Compute Engine. However, I would like to change the region of the instance and the whole project to another one, although my web app is fully ...

Resize persistent disk of Google Cloud VM: Couldn't find valid filesystem superblock

I'm trying to follow the official Google Cloud documentation on how to resize the persistent disk of a Compute Engine image. According to the instructions, after I determine the new disk size in the ...

An easy way to update Google Cloud DNS record with HTTP request

Is there a simple way to update a record of a managed zone in the Google Cloud DNS Platform, by means of something like an HTTP request. Some of the DNS providers allow for HTTP requests to be ...

How to set a DNS type A record in Google Compute Engine network [closed]

I'm using the Google Compute Engine, I need to map a hostname to several VM's IP. Thus, I need to set a DNS type A record. I know the name server is 169.254.169.254. This is managed by Google. How can ...

Unable to reach a python flask-enabled web server on gce

I am running a very simple http server on a VM in GCE. The code is very simple from flask import Flask, render_template, request, json, abort app = Flask(__name__) @app.route('/', methods=['GET']) ...

Schedule a disk snapshot on GKE

I'd like to schedule this command line to run every 12h on Google Container Engine: gcloud compute --project "qvitoo-com" disks snapshot \ "SPECIFIC_INSTANCE_ID" --zone "europe-west1-c" --snapshot-...

Google Cloud SQL with Google app engine in PHP

Having trouble connecting Laravel 5.2 on Google Cloud. I created a new MySQL 5.6 second generation instance, and added the connection parameters in conf/database with the external ip of the instance, ...

Google Cloud custome image can't connect via RDP

I created a custom image in Google Cloud and launched it. The instance is showing as up but I cannot connect via RDP either externally or from within the VPC. I can ping the machine internally and ...

Google Cloud Platform Project-ID wrong format

I`m using Google cloud platform and now I want to use the API. I used the option on their website to try API-Calls but everytime i give in my Project-ID it get this as a response { "error": { "...

Replication Controller Not Found

I'm new to Google Cloud Platform and Kubernetes. I've been following this tutorial and stuck with the following command: kubectl expose rc my-nginx --target-port=80 --type=NodePort When in try to ...

Language Translator [on hold]

I have brought a language translator but that was not working. I had already talk with customer support they told me that your Google API was incorrect. I need help from your side how will I find my ...

What advantages does it have to use Google's Cloud DNS on a domain purchased on other domain sellers?

I'm now hosting my web app over VM in Google Compute Engine, and thus I learned that GCP also provides a DNS service called Cloud DNS. However, it seems that this service lets you add a DNS record on ...

IDr payload missing error in VPN logs

textPayload: "IDr payload missing" insertId: "********" resource: {…} timestamp: "2017-02-22T08:45:21.308309618Z" severity: "DEBUG" logName: "projects/astral-chassis-xxxx/logs/cloud.googleapis....

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 ...

Cloud storage region for BigQuery

I want to set up access and usage logging for Google Cloud Storage bucket. That bucket is of Multi-Regional storage class and European Union location. For logs storage I need to create another GCS ...

How to view disk usage on Google Container Engine

I have multiple disks used with my Kubernetes setup (created with gcloud compute disks create ...), this has worked well so far, however, I am not able to view how much space is used on the disks.

How to connect networks from different projects, VPC peering analogue

Google recommend to use different projects to control access to resources - ok, it seems reasonable I plan to create one "shared" project with some infrastructure services and then several projects ...

How to recreate a google compute engine vm from one project in another project?

I have created a VM in project A in GCE. I want to create a new instance based on this VM in another project B. I reckon I can spawn a new instance based on the a disk snapshot. However I cannot ...

Unable to connect to cloud sql from a gcp vm instance

I have created a very simple cloud sql database. It is a second generation mysql. Form my other vm instance within the same project, I can ping this sql server with no issue > ping 104.154.107.11 ...

Unable to install g++ in a ubuntu 16.10 VM instance in Google Compute Engine

I have created a new VM in GCE in zone asia-northeast1-a. I need to install a g++ compiler. When I run apt-get I get the following error message: $ sudo apt-get install g++ Reading package lists......

S2S Issue Google Cloud VPN and Cisco ASA 5545

I'm using Google Cloud VPN gateway and attempting to connect to a CISCO ASA 5545 device on a 3rd party premise. It's a static route setup and the Cisco router is using IKE v1 only. I have this ...

Checking file's existence by name in a GCS bucket with Node.js

I'd like to know if Google Cloud Storage provides an efficient way of checking if a file with a given name exists in a given bucket with node.js. A method such as bucket.fileExists('someName') would ...

can i use multiple VMs with single boot disk for autoscaling in google cloud

My Average CPU loading about 40-50%, but in peak time (generally 4 hours)server response time is too late. How to overcome this issue? Is there any other way to add additional CPU power in ...

Gcloud transfer snapshots to nearline storage

I've setup my servers in google cloud to take regular snapshots. This is working fine, but I would like to move the snapshots to nearline storage because there's a big difference in pricing: For ...

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 ...

Restricting SSH access in GCE to Linux bastion host using firewall rules with source and target tags

I have several GCE instances all in the same project and same default network. I have designated one instance the "bastion" server, and want to block SSH from the internet to all instances except the ...

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 ...

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,...

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 ...

Cryptic Stackdriver HTTP Uptime check error using Google Cloud Platform

I want to use Google Cloud's StackDriver integration for health checks and uptime monitoring. I have a web server running on a google instance, available at foo.mydomain.ai. NB: Port 80 is open to ...

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 ...

Restarting Google Compute Engine instances if unhealthy

Health checks can probe my instance on specific http requests and determine if it is unhealthy. From the documentation I undertsand that autohealing only works for managed instance group, which means ...

Google App Engine Flexible Environment custom domain redirects to appspot-preview.com

I have setup a custom domain with a SSL certificate like it is indicated in this page, but when I go to "mycustomdomain".com I get redirected to *.appspot-preview.com. In that page there is a section ...

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 ...

Google Cloud Platform Network Routing

I currently have a 3rd-party vendor connecting to us over a VPN to our collocation. I am trying to move that VPN to a Google Cloud Platform VPN. I can/have created a few VPNs to a project and that ...

Anyway to restore an image (snapshot) keeping the same IP address as before?

have a CentOS 7 Compute Engine project and from the ssh terminal rebooted the server after seeing the kernel update hadn't been applied. Have done that before with no issues. However, this time ...

What kind of advantages does Google Cloud SQL have over pure MySQL installed on your VM? [on hold]

I host my node.js app on Google Compute Engine instance, where MySQL database is also installed and the node.js app accesses the database. However, Google Cloud Platform also offers a service called ...

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 ...

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 ...

Setting Google Cloud DNS Administrator Role

What I want: I have a project on the Google Cloud Platform. I have a service in that project that needs access to my DNS records. What my issue is: From the relevant Google Cloud DNS doc about ...
Translating... 0%