Newest 'google-cloud-platform' Questions

Q&A for system and network administrators

telnet to Yandex's smtp port wont work on Google Cloud Plaltform [closed]

I'm trying to send mail on my server which on located on vps in Google Cloud. I can telnet to gmail's SMTP both 587/465 but i can't connect via telnet to Yandex. It's stucking on Trying .... # ...

How can I use gcloud from within google compute instance before having an external IP address?

I am spinning up a google compute instance and have a systemd unit that invokes a script which in turn calls gcloud components update -q. I've put this gcloud call in a loop that retries until it ...

is the f1-micro instance used with gae flexible environment included in free tier?

I want to host my side project using AppEngine Flexible Environment with a f1-micro instance. Is this instance eligible for free tier? According to the latest Google Free Tier it should. However, ...

Hundreds of CLOSE_WAIT

I am getting file leaks when I run my code on Google Compute Engine to what appears to be Google servers: php 3630 www-data 873u IPv4 34632 0t0 TCP xxxx....

Google cloud autoscaling kills instances wich do job

I'm trying to setup GCP autoscaling for my application (video converting service) and I'm experiencing following problem: Let's say the autoscaler creates 3 new instances and in the each instance I ...

Kubernetes - External Connection through single IP

I need to find a way to have 1 IP that is used by all pods everytime they need to connect to the "outside world". FULL VERSION: I'm trying to integrate my application with a Payments Gateway service....

Google Stackdriver - Post based health check

I'd like to setup a health check/monitoring on a POST request, but all I'm seeing a way to set this. How would I set this up?

Google Compute Engine - SSH connection failed after resizing the instance

I'm having troubles connecting to an instance on Compute Engine via SSH. If I try via command line I get the following error: Permission denied (publickey) The same happens if I connect via browser ...

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

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

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

How to monitor logs via Google Cloud agent for occurrence of error?

Basically I'm monitoring the php-fpm error.log file with a custom config: <source> type tail format none path /var/log/php-fpm/error.log pos_file /var/lib/google-fluentd/pos/php-fpm-...

GCE Protocol Forwarding, use IP for outgoing requests

I have a GCE instance that has multiple protocol-forwarding rules to it. All the forwards work prefectly, but when the instance creates a request from itself to the internet, how do I specify which ...

GCP configure an external master issue

I'm following GCP tutorial to create a replica instance from an external master. The Cloud SQL API is enabled and I am using google shell from the console to run the commands. I have also tried from a ...

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

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

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

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

Configuring external master GCP errors

I'm following the GCP tutorial to configure an external master. The external master is a mysql 5.6 db hosted on a Google Compute Engine running ubuntu 14.04. The API is enable, the dump has been ...

Why can't Docker Swarm Mode pull a Google Container Registry image with a tag other than :latest?

Trying to do a rolling update on a Docker Swarm service from a Google Container Registry image. Image gcr.io/myproject/mynamespace/myimage has 2 tags, v75 and latest. docker service update --image ...

How do i know if i run on google cloud windows instance?

My app should identify whether it is running on Google cloud or AWS. I can find whether it is in AWS by searching EC2Config service. Is there a way to do this with Google Cloud from Windows?

Cannot set 'timeout' value on Google Container Builder service

I'm setting up some container build triggers, which, by default, have a 10 minutes timeout configuration. As sometimes my builds are just a bit longer than 10 minutes, I'm trying to change the timeout ...

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

Can I call a backend service instead of an instance in GCP?

I have a few compute engine instances in a Google Cloud Platform project. One is my API "api-inst" and is inside a backend-service: api-service One is my db 2db-inst" and is inside a backend-service: ...

Separating languages and api calls in a google load balancer

I have a angular2 website hosted on mysite.com I serve by default the english website, but users can select a different language and then the right language files will be served this way: mysite.com/...

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

Is `gcloud dns record-sets import --delete-all-existing` transactional?

When updating the contents of a zone using: gcloud dns record-sets import RECORDS_FILE --zone=ZONE --delete-all-existing --zone-file-format Is this operation atomic? i.e. if I have a record 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 ...

Unable to access organisations's IAM settings in Google Cloud

We recently gained access to the "organisation" feature in Google Cloud. By default, everyone in our organisation had the "project creator" privilege but I decided to lock this down and restrict ...

Google Compute Engine - redirecting on its own

I have a new instance on Google Compute Engine. It's a standard install using the provided Ubuntu 16.04 image. Nothing fancy, just an nginx + uwsgi install I have used elsewhere. For some reason, the ...

This is how I connect my Google instance VM to Cloud SQL/ And setup my Wordpress

I've decided to move from normal hosting companies to Google cloud and run my own server; most of my websites are WordPress. but I want to make sure that what I've done is right .. its working until ...

How do I remove internet access from a Google Instance?

One of the cloud instances I manage got hacked. It is powered down at the moment, but I want to bring it up disconnected from the internet. So I can examine and analyze it with it continuing to do it'...

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

Changed network connection for Windows server running on Google Cloud and can't connect

So I changed the IP for my windows server 2012 running on Google Cloud Platform in network sharing center and "tab" the subnet mask which was 255.0.0.0 and I got disconnected from the server and I can'...

google cloud firewall rule not working

I have a google cloud server with tomcat installation on port 8080. I can open the tomcat and deployed application in the browser from the google cloud instance but even after adding the firewall ...

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

Firewall rules in GCE not being applied (can't SSH,RDP or telnet to any ports)

I've recently been unable to log in to newly created Google Compute Engine instances in zone us-east1-d. It doesn't make a difference if they're Linux or Windows instances. I can't SSH, RDP or get a ...

Google G Suite: Root Domain Redirection With SSL

I have a .ai domain and I'm using Google Cloud DNS as the domain name servers. I'm also registered with G-Suite. My domain services work (e.g. www.mydomain.com, mail.mydomain.com), and the redirect ...

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

subdomain pointing to IP address of GCE

I have a problem that I've been unable to solve for almost 2 months. I have set up: subdomain in GoDaddy account, I created A record and point it to the IP address. Address of my GCE instance... I ...

Mismatch between request external IP and forwarding rule k8s service target

We are running two separate subdomains, each on a separate external IP address, and each matched to its own kubernetes nginx service. The configuration looks like this: #-------------------- # config ...

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

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

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

Hi! So I just deleted a node on Kubernetes. Since nodes are internally created, is there anyway to restore it?

So I just deleted a node on Kubernetes Google Cloud. Since nodes are internally created, is there anyway to restore it?

gae app displays differently depending on location?

We deployed a webapp with user-generated images which rotates like a "carousel". Now after a few updates the old carousel still rotates from my view but the new doesn't. My partner who is in India ...

Error when trying to migrate old app engine projects into a new organization on GCP

We have several older projects (2-3 years old) written with App Engine in our Google Apps domain. We now are trying to "migrate" these to be listed under our organization in the GCP console. The error ...

what does 'data processed' mean in google cloud load balancing? [closed]

If you look at the google cloud compute networking section for load balancing https://cloud.google.com/compute/pricing#network Under load balancing & protocol forwarding it says 'Data processed'...

How to connect Google VM Instance to Google SQL Instance and use it both to run Wordpress

Dears, Its been 2-3 weeks since I've started learning how to host my websites on Google VM instance, I've installed Vesta Cpanel and it will install PHP, apache, MySQL, PHPMyAdmin .. etc all the ...

Resize a Google Cloud Platform Persistent Disk in a Single-Node File Server (ZFS server)

I've set up a file server several months ago using the click-to-deploy method on Google Cloud Launcher (https://cloud.google.com/launcher/docs/single-node-fileserver). This created a ZFS server in a ...
Translating... 0%