google-compute-engine

How to ssh a gce VM from another gce VM

限于喜欢 提交于 2020-01-16 15:21:32
问题 I've created two GCE VMs. storm1:10.128.0.4 storm2:10.128.0.5 Now I want to ssh storm1 on storm2 . When ssh 10.128.0.5 on storm1 , I got info Permission denied (publickey,gssapi-keyex,gssapi-with-mic) . What're the steps to achieve this? or some tutorials? Previously, I've known how to ssh a linux VM from my local computer. 回答1: Step1: Apply a OpenSSH public key to your GCP Console project or instance (Refer to: Adding or removing project-wide public SSH keys) For example, using Putty Key

How to ssh a gce VM from another gce VM

心不动则不痛 提交于 2020-01-16 15:19:23
问题 I've created two GCE VMs. storm1:10.128.0.4 storm2:10.128.0.5 Now I want to ssh storm1 on storm2 . When ssh 10.128.0.5 on storm1 , I got info Permission denied (publickey,gssapi-keyex,gssapi-with-mic) . What're the steps to achieve this? or some tutorials? Previously, I've known how to ssh a linux VM from my local computer. 回答1: Step1: Apply a OpenSSH public key to your GCP Console project or instance (Refer to: Adding or removing project-wide public SSH keys) For example, using Putty Key

Can a host be redirected to a service path in Kubernetes?

别等时光非礼了梦想. 提交于 2020-01-16 11:11:23
问题 I'm trying to try to match a host address to a service path, as an example, let's think i have an nginx pod servying to sites: site1 and site2. Let's think about a service called my-nginx-service which services my two sites as paths: - my-nginx-service (178.123.55.37:80) - /site1 - /site2 There exists a way to map it to something like: - host: site-one.mydomain.com http: paths: - backend: serviceName: nginx-service servicePort: 80 servicePath: /site2 - host: site-two.mydomain.com http: paths:

Google App Engine fails to connect Aerospike installed on Google Compute Engine

醉酒当歌 提交于 2020-01-16 01:53:07
问题 I'm trying to connect my GAE Application to Aerospike installed on Google Compute Engine. Code snippet below is ok if i use main function. public static void main(String[] args) { AerospikeClient client = new AerospikeClient("xxx.xxx.xx.xx", 3000); boolean isConnect = client.isConnected(); Key key = new Key("test", "demo", "putgetkey"); Bin bin1 = new Bin("bin1", "value1"); Bin bin2 = new Bin("bin2", "value2"); client.put(null, key, bin1, bin2); Record record = client.get(null, key); client

Hadoop 2.4.1 and Google Cloud Storage connector for Hadoop

陌路散爱 提交于 2020-01-15 06:51:07
问题 I am trying to run Oryx on top of Hadoop using Google's Cloud Storage Connector for Hadoop: https://cloud.google.com/hadoop/google-cloud-storage-connector I prefer to use Hadoop 2.4.1 with Oryx, so I use the hadoop2_env.sh set-up for the hadoop cluster I create on google compute engine, e.g.: .bdutil -b <BUCKET_NAME> -n 2 --env_var_files hadoop2_env.sh \ --default_fs gs --prefix <PREFIX_NAME> deploy I face two main problems when I try to run oryx using hadoop. 1) Despite confirming that my

Google Compute Engine - europe-west1-a has been offline for maintenance since Jan 18, 2014 9:00:00 PM [closed]

荒凉一梦 提交于 2020-01-14 10:27:08
问题 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 . we don't recognized that our Servers will go down and stay down for the hole time. because the instances were configured to migrate, if a maintenance will start, but this haven't be done. Which options we have, to get the data or the instances back running, without waiting for the end of the maintenance on the

how can I increase cpu quota on google compute engine

孤者浪人 提交于 2020-01-14 08:53:05
问题 I am trying to start 8 virtual machines with 4 cpu each and getting error "ERROR: QUOTA_EXCEEDED: Quota 'CPUS' exceeded. Limit: 24.0" Documentation https://developers.google.com/appengine/docs/quotas says: "Billable resource quotas are set by the application administrator in the Billing Settings tab of the Administration Console" However, I can't find any such control in "Billings". Any ideas how can I change this CPU limit? 回答1: The docs you found are referring to the App Engine usage quotas

gcloud compute addresses list returns 0 results although I have external ephemeral addresses

末鹿安然 提交于 2020-01-14 04:19:44
问题 I have one google compute instance in my project with an external IP. A describe command on the instance shows me: networkInterfaces: - accessConfigs: - kind: compute#accessConfig name: External NAT natIP: xx.yyy.nnn.mmm networkTier: PREMIUM type: ONE_TO_ONE_NAT fingerprint: hjhjhjhjh= kind: compute#networkInterface name: nic0 network: https://www.googleapis.com/compute/v1/projects/foo-201800/global/networks/default However, when I run on the cloudshell. $ gcloud config get-value project Your

Linking Google Compute Engine and Google Cloud SQL

ⅰ亾dé卋堺 提交于 2020-01-13 07:17:20
问题 **Frustrated by the lack of clear documentation for Google cloud compute engine (GCE) and integration with Google cloud SQL and especially linking the two. No live support, and current documentation lacks clarity by continuing to refer to Google App Engine. The documentation on Google App Engine references linking but no clear process for creating a link between VM Instance (in Compute Engine - GCE) and Google SQL on the same project in the Google Cloud (again both on Google Cloud). I have

Google cloud Create image from instance

半城伤御伤魂 提交于 2020-01-12 18:54:18
问题 I have a VM which is up and running and I have few applications in the VM. So I want to have an image of this VM so that I can create new instances with all the installed packages. I have option called clone, but instead cloning a VM I wanted to have it as an Image and create VM whenever I want. 回答1: It's described here: https://cloud.google.com/compute/docs/creating-custom-image Basically what it boils down to: Set the auto-delete state of the root persistent disk to false so that it is not