google-compute-engine

Can't get the boot disk to 200GB [closed]

廉价感情. 提交于 2019-12-14 03:26:54
问题 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 tried creating the disk first via gcutil adddisk and then assigning it to the VM when running gcutil addinstance with the --disk flag. However, this method still results in a 10GB partition even though I set it to 200GB on adddisk . Here is the disk itself: INFO: Zone for db2-usc1a detected as us-central1-a. +

Google compute engine console return 399 error code

江枫思渺然 提交于 2019-12-13 21:49:40
问题 When I try to reach (after login) https://cloud.google.com/console I get a 399 error code: Remote Address:212.179.154.246:443 Request URL:https://cloud.google.com/console Request Method:GET And the response headers are: HTTP/1.1 399 Internal Server Error status: 399 Internal Server Error version: HTTP/1.1 cache-control: no-cache, no-store, max-age=0, must-revalidate content-encoding: gzip content-length: 141 content-type: text/html; charset=utf-8 date: Tue, 13 May 2014 12:01:20 GMT expires:

Redirect http to https google cloud load balance

☆樱花仙子☆ 提交于 2019-12-13 20:50:19
问题 I have created https load balance and added ssl certificate. site working with https:// but its not working http:// and getting 404 error Added Headername as X-Forwarded-Proto and avlue as https in load balace header request Added in .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> is there any to redirect http to https to avoid 404 error? 回答1: At this time,

How to use sendmail with SendGrid from Google Compute Engine?

谁说我不能喝 提交于 2019-12-13 18:23:27
问题 I have a simple website which runs with Joomla!, and it has a contact form from where the visitor can send a message to me. This message is sent by e-mail using the sendmail service. The website machine is running inside Google Compute Engine, and by default I can't send e-mails from it (that's a restriction imposed by Google). To achieve the goal of sending e-mails, a 3rd-party service is needed, such as SendGrid. I created a free account on SendGrid using the Google Cloud partner program,

`gsutil cp` from Storage to compute instance running container doesn't copy files

纵然是瞬间 提交于 2019-12-13 16:21:23
问题 I am running a Google compute instance with a coreos container (image name: coreos-stable-1688-4-0-v20180327 ). Copying files from Storage to the local filesystem with gsutil seems to work fine -- except that none of the supposedly copied files actually appears on the filesystem. Running the same copy command on a compute instance without using a container does work, so I imagine the issue is with the container. However, I'm not sure what about the container is causing the copy to fail. The

Google Cloud Composer and Google Cloud SQL Proxy

江枫思渺然 提交于 2019-12-13 09:49:53
问题 I have a project with Cloud Composer and Cloud SQL. I am able to connect to Cloud SQL because i edited the yaml of airflow-sqlproxy-service and added my Cloud SQL instance on cloud proxy used for the airflow-db, mapping to port 3307. The workers can connect to airflow-sqlproxy-service on port 3307 but i think the webserver can't connect to this. Do i need to add some firewall rule to map the 3307 port so the webserver or the UI can connect to airflow-sqlproxy-service? https://i.stack.imgur

Google Cloud Engine - failed to curl a website locate in Iran from my VM instance

老子叫甜甜 提交于 2019-12-13 08:30:06
问题 actually i can't curl / wget an iranian website french.irib.ir I use Google Cloud Compute engine with a Debian Server The firewall is open... Others URLs work french.irib.ir Can someone have a look from his instance? from my personnal computer i can wget a default page and curl the RSS feed of this iranian site, why not from google VM? 回答1: Due to export restrictions Google restricts access to and from some countries, including Iran. 来源: https://stackoverflow.com/questions/26259799/google

my google compute engine commiting DOS attack

≡放荡痞女 提交于 2019-12-13 08:23:20
问题 I got the following from google: This project appears to be committing denial of service attacks. The VM is running Ubuntu 16.04 with latest updates, Apache, PHP 7.0, MySQL 5.7 and Docker. I would like to know what to look out for to mitigate this please. 回答1: I'm leaving here some interesting resources you can check to secure your Google Compute Engine instance: Ubuntu SSH Guard manpage ArchLinux SSH guard guide (guides you through installation and setup) Apache hardening guide from

global deployment of nodejs with app engine as described in the docs

穿精又带淫゛_ 提交于 2019-12-13 06:39:47
问题 In this article, Google describes a global deployment of a nodejs app in app engine flex. This image is from the article. The problem is on my understanding is this not possible from two reasons. It is not possible to access cross project resources in GCLB to create a bakend service. It is not possible to see the instance groups form GAE Flex to create a bakend service. My first idea was to proxy all requests over nginx running on compute engine instances in each region on separate project.

Google Compute Engine adding disk and SSL support

孤街浪徒 提交于 2019-12-13 06:26:09
问题 I am new to GCE. I was able to create new instance using gcutil tool and GCE console. There are few questions unclear to me and need help: 1) Does GCE provides persistent disk when a new instance is created? I think its 10GB by default, not sure though. What is the right way to stop the instance without loosing data saved on it and what will be the charge (US zone) if say I need 20GB of disk space for that? 2) If I need SSL to enable HTTPS, is there any extra step I should do? I think I will