FAQ Database Discussion Community

Using gcloud on Travis CI

I have gcloud installed and working and a service account gets also activated. I run the following and get a success(?): $ gcloud auth activate-service-account "${GAE_CLIENT_ACCOUNT}" --key-file "${GAE_CLIENT_KEY_JSON_FILE}" Activated service account credentials for: [[email protected]] Then I run this: $ gcloud preview app deploy app.yaml --project "${GAE_PROJECT_ID}" --quiet --version "${GAE_PROJECT_VERSION}" You...

gcloud preview app run “bad port Access Denied” error on Windows

I'm trying to setup a multi-module Appengine app with one module as managed VM. But for starters, I'm checking if I can run gcloud preview app run on the AppEngine Java multi-modules sample from here: https://github.com/GoogleCloudPlatform/appengine-modules-sample-java When I import it in Android Studio, and run the appengineRun build rule, it...

Google cloud tutorial for wordpress

I just signed up for google cloud. I have installed ubuntu server with PHP, MySql and with Google Cloud SQL status set to on. Any Idea how I might get about install wordpress? p.s I have looked up series of tutorials but some of them appear to have broken links...

ERROR: (gcloud.preview) Invalid choice: 'docker'. Did you mean 'dm-v2'?

Somehow I was able to push my docker image to Google Container Registry with command: $ gcloud preview docker push gcr.io/<my-project-xxx>/<my-image-yyy> I ran the commands yesterday and copied them to my notes, but today pasting them to terminal in the same order I get the error: ERROR: (gcloud.preview) Invalid choice:...

Container Engine: AttributeError: 'module' object has no attribute 'Credentials'

I'm following the "hello wordpress" example: https://cloud.google.com/container-engine/docs/tutorials/hello-wordpress, but it stops with: [email protected]:~$ gcloud alpha container kubectl create -f wordpress.json Traceback (most recent call last): File "/usr/local/bin/../share/google/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 209, in <module> main() File "/usr/local/bin/../share/google/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 205, in main _cli.Execute() File...

How to run/deploy Google AppEngine Managed vms using Gradle

I've pushed, run and tested a managed VM with custom runtime as an AppEngine application. Now I want to make it multi-module, with the default module being a Google Cloud Endpoint configured to work with Android. Hence, I'm using Gradle as my build system. Now, I noticed that Google has...

Go Appengine Managed VM issue: unknown flag -trimpath

I am attempting to get a go app up on appengine using managed vms. As far as I can tell I have docker running locally fine and all the dependencies fulfilled but when I try and serve it locally I run into the following error: INFO 2015-03-05 22:21:14,917 containers.py:280] /goroot/pkg/tool/linux_amd64/6g:...

Google HTTP load balancing enforce HTTPS

I have a HTTP and HTTPS load balancer on Goole Cloud. Is it possible to set it up to enforce (redirect) all connections to HTTPS?

gcloud preview app run: “OSError: [Errno 2] No such file or directory”

When running gcloud preview app run from Google Compute Engine, running Ubuntu Trust 14.04 image, I get the following error: (Note: I fetched the complete gcloud SDK from https://cloud.google.com/sdk/) $ gcloud preview app run appengine-modules-guestbook/src/main/webapp Java module found in [/home/yaraju_gmail_com/appengine-modules-sample-java/appengine-modules-guestbook/src/main/webapp] INFO: Skipping SDK update check. INFO: Starting API server at:...

Where is data stored when installed while logged on to a Google Cloud Compute instance?

I'm following this tutorial to get started with the Google Cloud Datastore: https://cloud.google.com/datastore/docs/getstarted/start_java/. At this point I have my Cloud account all set up with the APIs needed to use Datastore and Endpoints for a project I am working on. I was following the setup instructions and so far I...

google compute engine tool gcloud is exceptionally slow

I tried downloading and using the gcloud bash tool to manage my accounts, however everything I do with the tool is exceptionally slow. It will take MINUTES to reply to a command that is typed. Is there perhaps a firewall I need to open up on my router or something...

setting acl using gsutil on google cdn bucket via domain

On documentation https://cloud.google.com/storage/docs/gsutil/commands/acl#ch it says that this command gsutil acl ch -g my-domain.org:R gs://gcs.my-domain.org should grant access to users from domain my-domain.org but I am not sure if this means the referrer of the request to the bucket should have my-domain.org. Can you explain? And if not then is there...

Unable to start appengine application after updating it via Google Cloud SDK

Recently I have updated google appengine from 1.9.17 to 1.9.18 via Google Cloud SDK by using command gcloud components update in Windows 7 64 bit. After that I couldn't able to start any of the project in appengine launcher. Getting this error: Traceback (most recent call last): File "C:\Program Files\Google\Cloud...