google-compute-engine

google-cloud-sdk - Fatal errors on both update and attempted reinstall Mac OSX 10.7.5

让人想犯罪 __ 提交于 2019-12-13 06:25:25
问题 Install worked fine prior to 01-15-14 update. Update fails due to fatal python errors. Manual download and install produces same errors. Running install as sudo produces same errors. What steps will reproduce the problem? curl https://dl.google.com/dl/cloudsdk/release/install_google_cloud_sdk.bash | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3707 100 3707 0 0 5777 0 --:--:-- --:--:-- --:--:-- 17162 curl -f https://dl.google.com

Why are instances permanently created and deleted in my project(s)?

白昼怎懂夜的黑 提交于 2019-12-13 06:18:37
问题 For some reason I see under "Operations" in my "Compute Engine" the following: I would like to know/understand why this is happening. What is this gae-default-* VM (assuming these are actually VMs)? What are they doing actually? If you know a lot of stuff about GAE and the Compute Engine please consider taking a look at this question "Deploying a GWT application to Google Compute Engine - What is happening here?" as well. The CPU is getting utilized as well even though there can't be anything

Is it possible to perform real-time communication with a Google Compute Engine instance?

半世苍凉 提交于 2019-12-13 05:34:59
问题 I would like to run a program on my laptop (Gazebo simulator) and send a stream of image data to a GCE instance, where it will be run through an object-detection network and sent back to my laptop in near real-time. Is such a set-up possible? My best idea right now is, for each image: Save the image as a JPEG on my personal machine Stream the JPEG to a Cloud Storage bucket Access the storage bucket from my GCE instance and transfer the file to the instance In my python script, convert the

Snapshot failed, now hanging on delete

[亡魂溺海] 提交于 2019-12-13 05:04:30
问题 Tried to run a snapshot from the developer console and it failed. Then tried to delete the snapshot and it's just hanging. Stopped and started the instance didn't change things, snapshot delete still hanging. How can I clear this problem? I haven't run a snapshot for 6 months and there are 2 earlier snapshots of the disk, I was expecting to perform a simple incremental snapshot. 回答1: It might be related to a known issue and we are working on the fix. I'll update this answer once the fix goes

no acceptable C compiler found in $PATH on google compute engine

拥有回忆 提交于 2019-12-13 04:34:54
问题 When I try to install pycrypto on a GCE i get the error "no acceptable C compiler found in $PATH". I use pip like this pip install pycrypto The GCE is a backports-debian-7-wheezy-v20131127 image. I assumed the debian image would have gcc installed, but typing 'gcc' gives 'command not found'. Is there a way to install pycrypto without having to use gcc? Has anyone managed to install pycrypto on GCE yet? 回答1: Try: sudo apt-get install python-crypto I'm glad it worked out 回答2: The default cloud

This site can’t be reached WordPress Google Cloud Platform

≯℡__Kan透↙ 提交于 2019-12-13 04:23:17
问题 I am using Google Cloud Platform. I successfully setup a GCE Google Click to Deploy WordPress, pointed the A Record of our domain to the IP Address: 35.233.209.192 and then the domain, connectech.us, and it worked fine. I am able to login to the Admin Dashboard. I tried to install a LetsEncrypt SSL certificate and now I get an error: 'This site can't be reached' I can't access my MySQL database, nor the website nor the WordPress admin dashboard. I have added the IP address 35.233.209.192

Whitelist/Filter incoming ips for https load balancer

浪尽此生 提交于 2019-12-13 03:41:02
问题 I use Google Container Engine with Kubernetes. I have created an https load balancer which terminates ssl and forwards traffic to k8s cluster nodes. The problem is I see no option to whitelist/filter incoming ip addresses. Is there any? 回答1: If you're using gce controller is not yet possible[1], just nginx controller[2] accept whitelist ip. [1] https://github.com/kubernetes/ingress/issues/566 [2] https://github.com/kubernetes/ingress/blob/188c64aaac17ef29400e0f143b9aed7770e32fee/controllers

Compute Engine option is disabled in VS 2017

℡╲_俬逩灬. 提交于 2019-12-13 03:29:32
问题 I was trying to create a simple .NET Core 2 Web API using "ASP.NET on Google Cloud Platform" template in Visual Studio 2017 on Windows 7 x64. I am following this Quickstart guide - https://cloud.google.com/tools/visual-studio/docs/quickstart On step 12 when I was trying to Publish using "Publish to Google Cloud..." the option "Compute Engine" was disabled. I can see the VM listed in "Google Cloud Explorer" window under "Google Compute Engine". Also in appsettings.json I can see the Google

Working with securityPolicies in the Compute Engine API in Python

[亡魂溺海] 提交于 2019-12-13 03:01:33
问题 I want to use the securityPolicies API for the Google Cloud Platform in Linux in a script written in Python. To do this: I installed google-api-python-client: pip install google-api-python-client I generated and downloaded from GCP this credential information (private key) in JSON format and exported the path to this file under the environmental variable: export GOOGLE_APPLICATION_CREDENTIALS='[PATH]' Now I have a doubt about how to properly use the google-api-python-client library to achieve

SQL remote connection not working on google compute engine

ぃ、小莉子 提交于 2019-12-13 02:33:13
问题 I have a google compute engine with a static IP address running widows server 2012 with SQL server 2012 express. I have enabled SQL remote connections by following the instructions here and have setup windows firewall and google firewall to allow connections on port 1433. I also verified that SQL engine is running. I have tested the port connection with telnet and it's allowing the connection. The problem is that i still am not able to connect to the server. error: a network related or