google-compute-engine

GCE LetsEncrypt Error - Cannot locate wrapped file

喜夏-厌秋 提交于 2019-12-13 02:23:29
问题 I am running into an issue with executing 'letsencrypt-auto' on the GCE Bitnami Ghost image. The issue can be reproduced using the base installer below: https://cloud.google.com/launcher/solution/bitnami-launchpad/ghost Here is the command I use, and it's output: sudo wget https://github.com/letsencrypt/letsencrypt/archive/master.zip sudo unzip master.zip cd letsencrypt sudo /opt/bitnami/ctlscript.sh stop sudo ./letsencrypt-auto --debug ..install dependencies... **Reading package lists...

gcloud managed vm starts too many instances

寵の児 提交于 2019-12-13 02:22:59
问题 Worked through the quickstart for Node.js, then deployed the app to production: gcloud preview app deploy app.yaml --set-default After deploying, there are ~12 instances in my dashboard. The exact number seems to vary for each deploy attempt. I killed all of these, deleted them, and deployed again. ~12 more are created. I tried both manual_scaling and automatic_scaling with no improvement. My app.yaml: # [START runtime] runtime: nodejs vm: true api_version: 1 # [END runtime] # [START

Full API Access does not work for Taskqueue

别说谁变了你拦得住时间么 提交于 2019-12-13 02:07:51
问题 I have a new Debian GCE VM which has full access to Google Cloud services. I'm able to access most of the services from this instance. However I'm unable to access task queues. host:~/home$ curl "https://www.googleapis.com/taskqueue/v1beta2/projects/project/taskqueues/ my-queue/tasks" -H "Authorization":"Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxx" { "error": { "errors": [ { "domain": "global", "reason": "insufficientPermissions", "message": "Insufficient Permission" } ], "code": 403, "message":

Choose a cloud-computing service for a web application that uses Selenium web-driver [closed]

房东的猫 提交于 2019-12-13 01:55:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I have an application that uses Selenium web-driver. I would like to make it a web application, and considering the following cloud-computing services: Google App Engine (GAE) Google Compute Engine (GCE) Amazon Elastic Computing (EC2) Option 1: GAE would be my first choice, because it's free to begin with.

Google Compute Engine safe_format_mount issue - specify the filesystem type error

a 夏天 提交于 2019-12-13 00:49:35
问题 I have been following the tutorial about using MongoDB with GCE from http://docs.mongodb.org/ecosystem/platforms/google-compute-engine/ I created a separate SSD disk for MongoDB storage and attached it to instance but when I tried to safe mount sudo /usr/share/google/safe_format_and_mount \ -m "mkfs.ext4 -F -o defaults,auto,noatime,noexec" /dev/sdb /data I get this error: safe_format_and_mount: Running: fsck.ext4 -a /dev/sdb safe_format_and_mount: fsck.ext4: Bad magic number in super-block

Move data from Google Cloud-SQL to Cloud Datastore

走远了吗. 提交于 2019-12-12 23:20:10
问题 I am trying to move my data from Cloud SQL to Cloud Datastore. There are a bit under 5 million entries in the SQL database. It seems like I can only move over 100,000 entities per day before I get a quota error. I can't figure out which exact quota I'm exceeding, however I have exponential backoff to make sure I'm not sending it too fast. Eventually it hits 5 minutes and the connection to the SQL server dies, but I don't think the writes per second quota is the problem. And I don't see any

How can I prevent GCE from copying ssh keys to all new instances?

心不动则不痛 提交于 2019-12-12 21:01:31
问题 When I create a new VM instance via Cloud Console, homedirs are automatically created for users that I have created manually on previous instances, and ssh-keys are copied to ~/.ssh/authorized_keys in respective homedirs. I don't want that! This is IMHO a serious security flaw. I don't want any users automatically created, I don't want any ssh keys automatically copied. How can I achieve that? 回答1: You can specify the specific users & SSH keys to use for an instance by setting the instance

Autoscaling based on GPU utilization?

给你一囗甜甜゛ 提交于 2019-12-12 20:18:03
问题 Autoscaling automatically adds/removes instances to my instance group based on CPU utilization. Is the same possible with GPU utilization instead? 回答1: You forgot to mention if it is for the Cluster Autoscaler or the Horizontal Pod Autoscaler . You also forgot to mention if it's in GKE or GCE. 1 - In GKE, there are two types of Autoscalers: a - The Cluster Autoscaler which adds nodes when new nodes are required: The Cluster Autoscaler scales the node-pool in the Cluster. In this situation,

PHP - Retrieve Facebook image in Google Compute Engine

左心房为你撑大大i 提交于 2019-12-12 18:18:14
问题 I've tried to retrieve the image data of my Facebook profile picture, using both file_get_contents and curl. The problem occurs on my Google compute engine instance, while on any other server (localhost - mamp, AWS) the script works fine. An example for one of the scripts I was using <?php var_dump( json_decode( file_get_contents("https://graph.facebook.com/_FACEBOOK_ID_/picture?width=720&height=720") ) ); Please keep in mind that I've tried using the parameter redirect=false , and accessing

Cannot access Google Cloud SQL database from my App Engine

纵然是瞬间 提交于 2019-12-12 17:21:22
问题 Last week I tried to setup Google Cloud for a NodeJS API and Cloud SQL database. Overall it works fine, but I can't access my Cloud SQL database. The authorization of the SQL database shows that all apps within the current project are granted to access the database. Unfortunality, this is not true. I need to granted the IP addresses of the instances from the App Engine. The IP adressess of the instances constantly changes after I deploy a newer version of the the API. Does anybody have a