Questions tagged [google-compute-engine]
Google Compute Engine offers scalable and flexible virtual machine computing capabilities in the cloud.
1,462
questions
-1
votes
2
answers
2k
views
Google Compute Engine VM instance start up failed [closed]
After upgrading from free trial, I am trying to start up my VM instance. I got this error:
Starting VM instance "server3" failed. Error: The default network interface [nic0] is frozen.
How can I ...
2
votes
1
answer
4k
views
Grant users ssh access to instance in google compute project using IAM
We have a number of linux VMs (google compute engines) in our projects on google cloud. I want to allow the users (developers) access to the google compute engines using SSH only. No ability to change ...
1
vote
1
answer
361
views
Connect MySQL with Cloud Storage in GCP
I am designing a network infrastructure, I am really new to this, I already have the initial part of the infrastructure defined, but now I find a detail, I need to design a scheme for data storage, ...
0
votes
1
answer
677
views
Is HTTP basic auth enabled on Google Compute Engine instances?
I would like to use .htaccess files to password protect certain directories of my website, which is running on a Google Compute Engine Debian instance with LAMP installed.
However, GCE appears to ...
1
vote
1
answer
990
views
Can't start Compute engine after upgrading from Free Trial
I used GCP on a Free Trial for a couple of month and set up and a Compute engine VM, when a Trial budget ended the VM went down and I can't restart it even after upgrading to monthly payments.
Every ...
0
votes
1
answer
953
views
Using docker-compose on Google Compute Engine
I have set up an instance with Ubuntu 16.04, and followed the instructions to install Docker CE.
dockerd is running, as is docker-containe
When I try to run:
$ docker-compose up
ERROR: Couldn't ...
2
votes
1
answer
17k
views
Download public & private keys from Google Cloud Instance
New to the cloud so pardon this question as I'm certain it's relatively simple!
I've setup my Google Cloud Instance and I'm now trying to connect to it using FileZilla. I have a good understanding of ...
1
vote
2
answers
3k
views
What is the Google HTTP Load Balancer URL length limit?
What is the length limit for URLs on the Google HTTP/HTTPS Cloud Load Balancer aka HTTP/HTTPS Forwarding Rule? I have had reports of HTTP/1.1 413 Request Entity Too Large error responses from the load ...
0
votes
0
answers
177
views
Cannot connect to any Compute Engine linux instance
I tried to connect Cloud SQL proxy using the following command on Ubuntu 16.04 LTS.
./cloud_sql_proxy -instances=***.**.**.***=tcp:3306 -credential_file=/var/www/auth-keys/kinre-cloudsql.json
using ...
0
votes
2
answers
1k
views
Google Cloud Deployment Manager and resources changes
I would like to deploy an application in Google Cloud. It would require the following Google Cloud components:
Google Container Engine (so I can run an application inside Kubernetes cluster)
Google ...
2
votes
2
answers
2k
views
Can I configure non-Google Cloud resources as origin for Google Cloud CDN?
As soon as I proceed to add a new origin for Google CDN distribution, it asks me to choose from load balancers (I would prefer not to create load balancer).
Ignoring the fact that I don't want to ...
1
vote
1
answer
262
views
How to disable Google compute engine from resetting SFTP folder permissions when using SSH-Key
Currently running a Google compute engine instance and using SFTP on the server.
Followed details to lock a user to the SFTP path using steps listed here: https://bensmann.no/restrict-sftp-users-to-...
0
votes
2
answers
1k
views
cannot ssh to Google compute engine after fstab change
I wanted to auto mount a disk to my VM so added the following line to /etc/fstab:
UUID="0e9b2dc6-4eb9-47b2-9125-571a1e2aed59" /media/anExistedfolder defaults 0 0
However after resetting ...
0
votes
1
answer
166
views
Windows port will not open in google compute engine
I've added a firewall rule in GCE udp:5585;tcp:5585 in my networking config.
I've also added an inbound rule in Windows to accept both udp and tcp connections on port 5585. I'm trying to set this up ...
1
vote
1
answer
2k
views
How to setup port forwarding on Google Cloud
I am trying to forward port 443 (SSL) on an external IP address on a Google Cloud VM, to port 6984 internally (using CouchDB) I am trying to do this so that I may use LetsEncrypt, which requires ...
0
votes
1
answer
606
views
How to increase log size in Google Container Engine?
We would like to increase the size of the logs that kubectl log retrieves.
As of Container-Optimized OS (COS) VERSION_ID=56 BUILD_ID=9000.84.2 (according to /etc/os-release), the following logrotate ...
0
votes
1
answer
61
views
Which IP-addresses are used by the gcloud-tool?
I have an Google Compute Engine in a project where security policy states that outgoing network traffic is denied by default, required services are allowed by specific firewall rules.
I need to use ...
0
votes
1
answer
36
views
Taking ages to create MSSQL DB on GCE
I am setting up infrastructure on GCE and we use MSSQL for DB.
Since now, we used AWS EC2 and it took about 15 seconds to create fresh new SQL database with initial size 50GB on gp2 storage.
If I ...
2
votes
3
answers
3k
views
Filezilla FTP with Google Cloud compute engine Windows virtual instance not listing directory
I have a Windows 2016 VM instance in Google cloud. I have added an inbound Windows firewall rule to allow port 21. I have configured Google cloud with both inbound firewall rules for port 21 as well ...
3
votes
2
answers
11k
views
Can't connect to Google Cloud server via HTTP or HTTPS
This must be a very simple beginner's question. I created an instance on the Google Cloud Platform, with a Windows 2012 Server on it. I can RDP into it, but I can't connect to it via HTTP or HTTPS (by ...
1
vote
1
answer
2k
views
Windows Server 2012 VM created from Snapshot fails to Boot on GCE
I am not a Windows expert and stuck while recovering Windows Server 2012 from Snapshot. I am trying to create a new VM instance on Google Compute Engine - GCE from a Snapshot which I created from ...
0
votes
1
answer
165
views
Proper Google DNS Config for GMail
I'm having an issue configuring the MX records for my domain registered with Google Domains. Using this tool but honestly I have no idea what I'm doing w wrong. Was hoping one of you pros could help ...
2
votes
1
answer
193
views
No network connectivity until one minute after boot
It seems that there is a significant (one minute) delay after boot until the networking actually reaches anything except the metadata server (169.254.169.254). I've tested using the default debian ...
1
vote
2
answers
3k
views
Configure nginx to serve static files
I'm trying to serve static files(HTMLs, JS and CSS) from a Google compute engine instance running Debian 8.
I used git to clone the web app to the folder /var/www/prod/app with command
sudo git ...
5
votes
1
answer
5k
views
How do I avoid an overbooked GCE zone?
Apparently if too many people use a zone, you won't be able to start instances back up.
Starting VM instance Error: The zone does not have enough resources
available to fulfill the request
As I'...
0
votes
0
answers
83
views
Cant boot instance from snapshot created from boot disk of another VM
I am unable to boot a new instance from snapshot created from boot disk of another VM. In the serial port, I can see the following message.
/dev/sda1 contains a file system with errors, check forced
...
0
votes
0
answers
1k
views
using google fluentd to log from compute engine instance in google cloud
I got a problem with the logging agent from Google Cloud.
What i wanted was to use the google-fluentd (based on fluentd) on a webserver to collect the logs and sent it to Stackdriver Logging Api.
...
1
vote
1
answer
42
views
Provision new GCE from existing compute engine using gcloud
I have a situation here, I want to auto provision 2 GCE vms ( say A and B) from an exiting GCE (say C) and A, B and C machines should communicate to each other without asking any password (enable ...
1
vote
4
answers
6k
views
Ubuntu quota format not supported in kernel
I was trying implement disk user and group quotas at Google Compute Engine with Ubuntu 16.04 LTS, but till now i'm unsuccessful.
Quota allows you to specify limits on two aspects of disk storage:
the ...
3
votes
1
answer
950
views
Installing StackDriver Logging agent on cos image
I'm trying to setup the logging agent for StackDriver on a cos image but its reporting its an unsupported system. My thought is to create a "sidecar" container similar to how an AppEngine Flexible VM ...
1
vote
0
answers
998
views
Health check to detect redis master from google tcp load balancer
I am trying to setup a google TCP internal Load Balancer. Instance group behind this lb consists of redis-server processes listening on port 6379. Out of these redis instances, only one of them is ...
1
vote
1
answer
619
views
google compute engine - change external ip after resize
Today change the size of my VM, memory and processor. When doing this I did not mark the previous external IP as static. So the IP change and I want to go back to the previous one.
I have tried from ...
0
votes
2
answers
277
views
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 ...
3
votes
2
answers
1k
views
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 ...
-2
votes
1
answer
382
views
Apache default site returning virtual host directory
I am new to the world of server administration and am trying to learn from the ground up. I am running an Apache2 server on Google Compute Engine and am configuring my domain with Google Domains.
...
0
votes
1
answer
122
views
gCloud with internal load balancing and Windows
I am trying to setup internal load balancing on Google Cloud for windows backend servers but, when I add internal LB to instance group, all windows servers in that instance group get one additional IP ...
1
vote
1
answer
557
views
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-...
0
votes
1
answer
712
views
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 ...
0
votes
0
answers
911
views
Google Cloud Engine - LoadBalancer ICMP host unreachable - admin prohibited filter
We are hosting an project on Google Cloud Engine. With an TCP-LoadBalancer before the cluster and the Nodes. Since an week we got the problem that customers are reporting the Error: "Connection Lost ...
0
votes
1
answer
109
views
Firebird Backups on Google Compute Engine
We are considering moving our systems to GCE and trying to figure the best approach to backup our many firebird databases.
Firebird is not VSS aware so we can't use shadow copying. On our current ...
4
votes
1
answer
18k
views
Mongodb doesn't start using systemctl
When I try to start the mongo service(systemctl start mongodb) I get this error in journalctl:
Mar 21 15:36:18 redhat7 systemd[1]: Started High-performance, schema-free document-oriented database.
...
0
votes
2
answers
262
views
"Easy" FTP acces for Google Compute Engine?
I'm setting up hosting on the Google Compute Engine with a LEMP stack, and from time to time the need arises to allow a third-party developer access to the server.
To have to explain to every ...
1
vote
1
answer
234
views
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 ...
-2
votes
1
answer
97
views
Google Compute Engine: how to notify / email from unattended-upgrades?
I use the unattended-upgrades package on my Debian Google Compute Engine instance to do security updates. It has the option of sending an email to notify me when a security upgrade was done. Do I ...
-1
votes
1
answer
371
views
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....
1
vote
1
answer
288
views
Google Cloud VPN Confusion
I have a scenario where I need to connect 1 client company with my GCE via Google VPN.
My GCE IP address is 10.240.0.3/16 and public IP (lets assume) x.x.x.x
now the client requirement is they need ...
1
vote
1
answer
3k
views
Can not ssh to google computer engine
I have create vm on gce, but I can not ssh:
My server:
ssh from brower gcloud command:
ssh: connect to host 104.199.125.15 port 22: Connection timed out
ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] ...
1
vote
3
answers
3k
views
Has anyone managed to get Site-to-site VPN tunnel from Google Cloud VPN working with SonicWall?
Has anyone managed to get Site-to-site VPN tunnel from Google Cloud VPN working with SonicWall?
If so, can you provide the working configurations used on both sides?
We have tried to use IKEv2 and ...
0
votes
1
answer
160
views
Running container VM on google cloud compute
If I pass a startup script to google compute engine with a container vm, will it run it inside or outside the container?
I need to install some drivers, and the best way to do it seems to be with a ...
0
votes
0
answers
225
views
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 ...