google-compute-engine

Memory Usage Monitoring in GCP Compute Engine with or without Stack Driver

五迷三道 提交于 2019-12-23 04:54:38
问题 Cloud Platform - GCP Compute Engine OS - Ubuntu, 16.04 LTS I want to see memory utilization graph just like CPU utilization (compute.googleapis.com/instance/cpu/utilization). I could not find any way to monitor my Compute Engine memory utilization even if Stack-driver is enabled. I checked https://cloud.google.com/monitoring/api/metrics_gcp#gcp-compute and there is no endpoint for memory utilization monitoring. I tried stackdriver agent monitoring endpoints also but it is not working ( agent

How to select monitored instances on stackdriver

房东的猫 提交于 2019-12-23 04:33:27
问题 You have 45 days left in your Stackdriver Premium If we go premium, how do we choose which instances are to be monitored. Is that even possible? I don't want to pay 8$ per month for the instances that don't require monitoring. All I have found is this article: To have the Stackdriver service ignore a specific instance, add a tag named "stackdriver_monitor" with a value of "false". but this is for EC2 instances. I'm using GCE platform. 回答1: currently for GCE you'd have to use a different

Why is “Create” disabled in Google Compute Engine VM instances?

只愿长相守 提交于 2019-12-23 04:33:15
问题 Using the Google Developer Console "Compute Engine" I am trying to create a VM instance. It seems I have filled out all the required fields. I have referenced multiple tutorials and posts, and gone through every step. I cannot, however, select "Create"! The button is disabled. In case it matters, I signed up for a free trial and associated that billing account with the project. Previously, another project owner had done the same, but we never used any of his credits within the 60 day limit.

Is it possible to upload a windows image to Google compute engine?

隐身守侯 提交于 2019-12-23 03:11:18
问题 I'm wondering if there's a way to upload windows image to Google compute cloud? I've seen Google's tutorials for Linux based OS but I couldn't find any reference to Windows except the fact the it is possible to install windows software, and that it's possible to create instances using their own images: https://cloud.google.com/compute/docs/instances/windows and https://cloud.google.com/compute/docs/instances/ms-licensing In case that it's possible, I'd like to know what's the process of doing

What is the difference between HTTPS Load-Balancer w/ non-TLS backend and HTTPS Load-Balancer w/ TLS backend

北战南征 提交于 2019-12-23 02:54:15
问题 I'm trying to configure load balancer to serve in HTTPS with certificates provide by Lets Encrypt, even though I couldn't do it yet, reading this article gives steps how to configure Self-signed certs Network Load-Balancer w/ TLS backend HTTPS Load-Balancer w/ non-TLS backend HTTPS Load-Balancer w/ TLS backend As I'm intersting only in HTTPS, I wonder what is the difference between this two: HTTPS Load-Balancer w/ non-TLS backend HTTPS Load-Balancer w/ TLS backend But I meant not the obvious

DC/OS on GCE Ubuntu

让人想犯罪 __ 提交于 2019-12-23 01:33:10
问题 Is there any link/documentation available around installing DC/OS on Google Compute Engine where instances are ubuntu 16.04 instances including the bootstrap node instead of CentOS 7? Currently , the documents I find use Ansible and CentOS 7 on GCE as below. https://dcos.io/docs/1.7/administration/installing/cloud/gce/ 回答1: Short answer : Debian based distributions are currently (at least up to DC/OS 1.10) not supported. Long answer : It's possible, but requires some extra steps. DC/OS doesn

Google Load-balancer randomly failing requests to backend

我是研究僧i 提交于 2019-12-23 01:01:23
问题 I had done simple setup: Backend(website): 1 machine having tomcat installed and serving on 8080. webapps folder of tomcat has two folder 1 withGoogleRule1 |--test.html 2 withoutGoogleRule1 |--test.html Now i have a google-load-balancer setup with below settings Now Backend machine direct ip is http://104.197.37.171:8080/withoutGoogleRule1/test.html Load Balancer url is http://107.178.240.39:8080/withoutGoogleRule1/test.html PROBLEM: No matter how many time we refresh url for direct machine,

Google Compute Engine - troubleshooting SSH “Connection refused”

半世苍凉 提交于 2019-12-22 18:01:16
问题 I am using the following command to access my instance on Google Compute Engine: gcutil ssh my-instance-name but it gives me this error: ssh: connect to host ip-address port 22: Connection refused I checked and deactivated the firewall, but I am still getting this error. Can someone please tell me how to solve this? 回答1: The Compute Engine firewall blocks all traffic unless there is a rule to allow it. The most common issue is missing the default firewall rule which allows SSH. To add it back

run openai gym with google compute engine

送分小仙女□ 提交于 2019-12-22 13:59:43
问题 I was trying to run the CartPole-v0 example on a Google Compute Engine VM. https://gym.openai.com/docs import gym env = gym.make('CartPole-v0') env.reset() for _ in range(1000): env.render() env.step(env.action_space.sample()) # take a random action I have XQuartz installed, and ssh with -X. First, I was getting pyglet.canvas.xlib.NoSuchDisplayException: Cannot connect to "None" Then according to http://www.gitterforum.com/discussion/openai-gym?page=28, I use "xvfb-run -s "-screen 0

run openai gym with google compute engine

守給你的承諾、 提交于 2019-12-22 13:58:15
问题 I was trying to run the CartPole-v0 example on a Google Compute Engine VM. https://gym.openai.com/docs import gym env = gym.make('CartPole-v0') env.reset() for _ in range(1000): env.render() env.step(env.action_space.sample()) # take a random action I have XQuartz installed, and ssh with -X. First, I was getting pyglet.canvas.xlib.NoSuchDisplayException: Cannot connect to "None" Then according to http://www.gitterforum.com/discussion/openai-gym?page=28, I use "xvfb-run -s "-screen 0