google-compute-engine

Communication with Datastore and cloud Storage from google Compute engine in Java

十年热恋 提交于 2019-12-31 02:14:05
问题 I've GAE application which creates some data in the Google Cloud Datastore and stores some binary files into the Google Cloud Storage - let's call the application WebApp . Now I have a different application running on the Google Cloud Storage Google compute engine. Let's call the application ComputeApp . Now, the ComputeApp should connect to the Datastore, query for entities created by the WebApp and read related binary file from the Google Cloud Storage. Then the CoumputeApp does some

How do you set up neo4j to work with Google Compute Engine?

旧时模样 提交于 2019-12-30 03:41:09
问题 I'm wondering how one would get neo4j to work with Google Compute Engine. Has anybody done this? What problems did you encounter? 回答1: Here you go, Basic Setup Install and setup gcloud Install py2neo Create your GCE Instance (https://console.developers.google.com/project/PROJECT_APPID/compute/instancesAdd) using image (debian-7-wheezy-v20141021, Debian GNU/Linux 7.7 (wheezy) amd64 built on 2014-10-21 or ANY) SSH your instance gcloud compute ssh INSTANCE_NAME --zone AVAILABLE_ZONES -->

Google Compute Engine : Use snapshot from another project?

一曲冷凌霜 提交于 2019-12-29 18:37:28
问题 I have two projects in my developer console. I have taken a "Snapshot" of one of the VMs in project-1. I want to create a new VM in project-2 using the snapshot created in project-1. Right now snapshot is not showing in the option. How can I import snapshot from one project to another? 回答1: You can create an image from the snap in Project 1, then create an instance from that image using Project 2. I'm assuming you have edit rights in both projects. Your question says you have a snapshot and

How to assign multiple outgoing IPs addresses to a single instance on GCE?

安稳与你 提交于 2019-12-29 09:13:36
问题 How does one assign multiple ephemeral external IP addresses to the same machine on Google Compute Engine? The web interface only discusses the primary IP addresses, but I see no mention of adding more addresses. I found a related question over at https://stackoverflow.com/a/39963576/14731 but it focuses on routing multiple incoming IPs to the same instance. My application is a web client that needs to make multiple outgoing connections from multiple source IPs. 回答1: Yes it's possible , with

How to request GPU quota increase in Google Cloud

久未见 提交于 2019-12-28 14:04:09
问题 I've been trying to request an increase in my GPU quota for Compute Engine since Google Cloud says I have 0 when I try to launch an instance. I upgraded my account, but I can't seem to figure out what I need to do to increase my quota. I've looked at many tutorials, but the cloud platform has changed ever since those tutorials were released. Does anyone have an idea how to do this? Thanks! 回答1: Go to quotas page. In Metrics column, deselect all and select the one with GPU Select the region

Use existent VM Instace (bitnami) for Autoscale Group of Instances [closed]

不想你离开。 提交于 2019-12-28 12:44:55
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago . I am using a Bitnami Wordpress for Google Cloud. Now, I need to setup a Instance Template -> Group of instances -> Load balancer and with this, my system will be autoscaling :) But, I have the VM instance created using an boot image by Bitnami, and I need to put in a group of instance. Can you help

How to automatically exit/stop the running instance

时光总嘲笑我的痴心妄想 提交于 2019-12-28 12:42:47
问题 I have managed to create an instance and ssh into it. However, I have couple of questions regarding the Google Compute Engine. I understand that I will be charged for the time my instance is running. That is till I exit out of the instance. Is my understanding correct? I wish to run some batch job (java program) on my instance. How do I make my instance stop automatically after the job is complete (so that I don't get charged for the additional time it may run) If I start the job and

Google Cloud Compute “gcutil” deprecated

白昼怎懂夜的黑 提交于 2019-12-25 18:17:54
问题 I'm new to Google Cloud Compute and I'm no developer or coder. But I've been following the information step by step guide. http://www.filiwiese.com/running-screaming-frog-on-google-cloud/ Unfortunately as of today "gcutil" has deprecated and I'm at a loss how to follow the instructions. I tried understanding Googles info but no joy. I'm hoping that someone can explain to me how to proceed. Thanks 回答1: The gcutil tool has been deprecated in favor of gcloud , part of Google Cloud SDK. There's a

Long running script in Google Cloud

与世无争的帅哥 提交于 2019-12-25 09:40:15
问题 I have a piece of code, based on NodeJs, that does not serve any HTTP request, but monitors some online systems and sends report emails. This code is run by a shell script and keeps running 24x7. Which Google Cloud offering is best suited to host this? I tried with App Engine, but after one hour of console inactivity, the console exists and the script stops running. I am not sure if Compute Engine would be best for this. I can host this in AWS EC2, it would work there... but wondering about

Long running script in Google Cloud

浪尽此生 提交于 2019-12-25 09:40:11
问题 I have a piece of code, based on NodeJs, that does not serve any HTTP request, but monitors some online systems and sends report emails. This code is run by a shell script and keeps running 24x7. Which Google Cloud offering is best suited to host this? I tried with App Engine, but after one hour of console inactivity, the console exists and the script stops running. I am not sure if Compute Engine would be best for this. I can host this in AWS EC2, it would work there... but wondering about