google-cloud-platform,google-container-engine,google-container-registry
The container VM is only part of the full Kubernetes/Container Engine infrastructure. Container VM doesn't support the complete Kubernetes API, the kubecfg.sh example that I did in the I/O demo uses the full Kubernetes API. There's more information about using full container engine here: https://cloud.google.com/container-engine/ And a rolling update example...
python,windows,google-app-engine,google-cloud-platform,gcloud
This is currently an issue with the dev_appserver bundled in the Cloud SDK. A fix will be out soon. In the meanwhile, your options are: 1) Use gcloud preview app run to run your app when using the Cloud SDK 2) Install the standalone AppEngine SDK (which you already mentioned...
android,google-cloud-endpoints,google-cloud-platform,google-app-engine
You can if you import the SDK android on your project, but I don't recommend you to do that. If you want to manipulate image in App Engine, you can use this Image Java API: https://cloud.google.com/appengine/docs/java/images/ If you want to upload image in Servlet App Engine, here is a good...
google-cloud-platform,kubernetes
There is an example of mounting a PD in the github documentation: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/volumes.md#creating-a-pd PDs in GCE can only be attached to a single VM (in read/write mode), so if the disk is already attached to your master then it will not be possible to also attach it to the node...
google-compute-engine,google-cloud-platform
Although there is no direct "edit machine type" option on GCE, the way to achieve that is: Deleting the old instance (while making sure the disk is not deleted). Creating a new instance with the desired type and using the disk from the old instance (instead of creating a new...
ssl,google-compute-engine,google-cloud-platform
SSL for HTTPS load balancing is in Alpha. If you have a public static IP address then nothing stops you from installing a valid SSL certificate on the e.g. Apache server running on your Compute engine instance. So yes, it works as it does on any on-premise server....
google-app-engine,cpu-usage,google-cloud-platform
I replied for the above mail (added in the question) with the following Hi xxxx, Thanks for the details. All of the 5 projects that were suspended have just one single static page with Google Analytics using Google Tag Manager. And nothing else. My suspended projects are : xxx-xxxxxxx-xx, xxx-xxxxxxx-xx,...
google-api,google-oauth,task-queue,google-cloud-platform
The REST API only works for pull queues, and you need to also specify the email address of the user you are authorizing as in your queue.yaml. From the docs: queue: - name: pull-queue mode: pull acl: - user_email: [email protected] # can list, get, lease, delete, and update tasks -...
ssh,ftp,sftp,google-compute-engine,google-cloud-platform
I fixed it, you have to /etc/ssh/sshd_config And change PasswordAuthentication no to yes. Then you use sudo service ssh restart To restart the ssh daemon. Then use sudo passwd to change the root password. Now you can ssh/sftp using username root and password what you just set
hadoop,google-compute-engine,google-cloud-platform
It appears you may be running into a known issue that apparently impacts the append command most prominently, if you happen to be running a default bdutil or Click-to-Deploy created Hadoop cluster with 2 datanodes, and if dfs.replication is still at its default value of 3: HDFS-4600 HDFS file append...
google-api,google-cloud-platform,google-cloud-logging
The Cloud Logging API currently only officially supports Google resources, so the best course of action is to continue to use "compute.googleapis.com" as the service and supply the labels "compute.googleapis.com/resource_type" and "compute.googleapis.com/resource_id", which are used for indexing and visible in the UI drop-downs. We also currently permit the service name...
java,google-app-engine,google-cloud-storage,google-cloud-datastore,google-cloud-platform
You can use the addUpdate(), addUpsert(), addDelete(), addInsert(), or addInsertAutoId() methods on Mutation.Builder to add mutations. You can find some examples of how to use these methods in the Cloud Datastore documentation on working with entities. Your code is doing the right thing here. The results from the query...
github,google-cloud-storage,google-cloud-platform
There's no direct way to synchronize between a git repo and GCS. However, if you can tolerate some delay between when you update GitHub and when the changes show up in your bucket, you could create a Google Compute Engine instance and clone your git repo to the local file...
google-cloud-platform,kubernetes,google-container-engine
If you want to access the container directly using the node VM's IP address, you need to specify a host port in addition to a container port, e.g. kubectl run-container wordpress --image=tutum/wordpress --port=80 --hostport=80 Alternatively, you can access wordpress via the proxy running on the master by running kubectl proxy...
google-app-engine,gae-datastore,google-cloud-platform
No, you can't. Here is a comment from the creator on the topic....
google-cloud-platform,google-cloud-dns
It's possible to transfer ownership of a project to another Google account in three steps. Step 1: Add the other account's email address as an owner on the project. Instructions here. Step 2: Since it's not possible to transfer ownership of the billing account associated, have the new owner create...
windows-server-2012,google-cloud-platform,windows-server
I found answer for my question: you are generally not eligible to run Windows Server in a shared compute environment such as GCE or any other public cloud http://stackoverflow.com/a/30720911/1850880...
google-app-engine,google-cloud-storage,google-cloud-platform
To extend what voscause said you can do something like this. Keep in mind this will only work on the live server as the access token won't be created on the dev. If you want to test on the dev comment out the headers and make the file public. urls...
docker,google-cloud-platform,gcloud,google-container-registry
That error is talking about space on your local device. You should clear out any old images you have locally that you no longer need. You can see your list of images in the Google Developers Console: https://console.developers.google.com/ Find your project, then select "Compute > Container Engine > Container Registry"....
java,google-app-engine,file-upload,google-cloud-platform
You can use the Images service on the local devserver. For that you need a blobkey: BlobstoreService blobStore = BlobstoreServiceFactory.getBlobstoreService(); BlobKey blobKey = blobStore.createGsBlobKey("/gs/" + filename.getBucketName() + "/" + filename.getObjectName())); // blobKey can be persisted ImagesService imagesService = ImagesServiceFactory.getImagesService(); String url = imagesService.getServingUrl(ServingUrlOptions.Builder.withBlobKey(image)); Resizing also works on the local devserver...
terminal,installation,google-cloud-storage,google-cloud-platform,gcloud
So below is my previous fix for this problem, but it turns out it isn't permanent. It works but every time you restart Terminal, you'd have to do the same thing which isn't practical. So that is why I suggest you delete the current google-cloud-sdk directory, and just redo the...
android-gcm,google-cloud-messaging,google-cloud-platform
The answer is nope. With a single topic, if you want to deliver a push via notification payload on iOS, but via data payload on Android, you can't! For example, if you have a topic called "awesome_news" you should split this into two topics: "awesome_news_ios" and "awesome_news_android"...
.net,google-cloud-platform,iaas
I figured out I could do this with a ServiceAccountCredential just like storage: var service = new ComputeService(new BaseClientService.Initializer() { HttpClientInitializer = credential, ApplicationName = "cleaner" }); I'm not clear on why ComputeCredential even exists at this point to be honest....
google-bigquery,google-cloud-platform
My interpretation of the rules, I have to confirm with the team: If your rows are less than 1KB each, this would bring the price from $0.01 per 100,000 rows to $0.01 per 200,000 rows - an effective 50% reduction of previous pricing. If your rows are exactly 2KB each,...
docker,google-cloud-platform,gcloud
From the release notes 0.9.65 (2015/06/17): gcloud preview docker moved to gcloud docker. The command was moved out of preview in the latest version of gcloud. You can run it with: gcloud docker push gcr.io/<my-project-xxx>/<my-image-yyy> ...
python,google-compute-engine,google-cloud-platform
I was able to solve it in a roundabout manner. Google's VM uses docker to house a few build executors so I needed to connect to the cloud-dev-python instance and install a few packages on it with apt-get. I ssh'd to the host VM and executed the following: [email protected]$ CONTAINER_ID=$(docker...
javascript,node.js,google-app-engine,websocket,google-cloud-platform
Later a lot of hours study and tests, a friend in Google show me one solution for this problem! Thanks Thiago Avancini! Well, the solution is: The first step is using the managed-vms. (The repo use it.) But the goal is switch the managing from Google to User. When you...
ssh,putty,google-compute-engine,public-key,google-cloud-platform
Load your key to PuTTYgen; To Key comment box, enter you GCE username (this should be your Google account with all punctuation replaced by underscore) And see box Public key for pasting into OpenSSH authorized_keys file. For details, see (my) guide Connecting Securely to Google Compute Engine Server with...
command-line,google-cloud-endpoints,google-cloud-platform,command-line-tool,gsutil
So, if you have this problem, most likely you'll be able to get gsutil to work if you basically just try it a lot. Try restarting the shell (exec -l $SHELL) and quitting/reopening the command line and keep trying, it eventually worked for me. This is not a permanent fix,...
Google cloud has a session timeout across the board of 10 minutes, so you need to use a keepalive. Try adding the argument --ssh-flag="ServerAliveInterval=30" - any value less than 600 should do the trick there. There's a description of the timeout here, and full usage details for gcloud ssh here....
google-app-engine,go,google-cloud-platform
OK, I got it: I had to delete my $GOPATH/src/google.golang.org/appengine/ folder, and then re-run goapp get from my app to re-fetch the deps in the new format. This fixed the issue mentioned above.
google-app-engine,google-cloud-platform
If you are talking about this [1] built-in service, your app have access to the user's email address as well as a unique user ID only while the user is signed into your app. So there is no permanent permissions to be revoked. [1] https://cloud.google.com/appengine/docs/python/users/...
java,jsp,google-app-engine,servlets,google-cloud-platform
What you're describing is an application that services a GET by making a blocking (socket) call to a 3rd party REST endpoint, then formatting the response in some way, returning HTML. Constraints apply depending on how you're reaching the 3rd party endpoint. (See https://cloud.google.com/appengine/docs/quotas#UrlFetch if you're using UrlFetch, or https://cloud.google.com/appengine/docs/quotas#Sockets...
google-cloud-platform,google-cloud-dataflow
You can use PCollectionTuples to return multiple PCollections from a single transform. For example, TupleTag<String> mainOutput = new TupleTag<>("main"); TupleTag<String> missingData = new TupleTag<>("missing"); TupleTag<String> badValues = new TupleTag<>("bad"); Pipeline p = Pipeline.create(options); PCollectionTuple all = p .apply(TextIO.Read.named("ReadMyFile").from(options.getInput())) .apply(new SomeTransformation()); all.get(mainOutput)...
google-cloud-platform,freeswitch,telecommunication
I found answer for this myself at http://lists.freeswitch.org/mailman/listinfo/freeswitch-users So this issue is related to ipv6. Since google didn't provide ipv6, I had to disable ipv6 in freeswitch In conf/sip_profiles directory you will find files regarding ipv6, [email protected]:/usr/local/freeswitch/conf/sip_profiles$ ls external external-ipv6 external-ipv6.xml external.xml internal-ipv6.xml internal.xml In order to disable ipv6 in...
google-app-engine,namespaces,google-cloud-platform,google-cloud-datastore
Each entity in the Datastore has a key that uniquely identifies it. The key consists of the following components: The namespace of the entity, which allows for multitenancy The kind of the entity, which categorizes it for the purpose of Datastore queries An identifier for the individual entity, which...
google-cloud-platform,coreos,kubernetes
You can inject environment variables into your pod through the pod definition. Once you create your cluster, note the internal IP address of your master and set it as an environment variable in your container. Note that the variables ${KUBERNETES_SERVICE_HOST} and ${KUBERNETES_SERVICE_PORT} are defined automatically but that the former refers...
google-compute-engine,google-cloud-platform
Chances are you don't need that many IPs at all. Only in very specific scenarios you would need all your nodes to be publicly accessible. If you need that many instances, simply create them without public IPs. Then, create a NAT Gateway so your instances can use that to access...
google-cloud-storage,google-compute-engine,google-cloud-platform
You will be charge for the time that the instance will be running. If you have an static IP assigned but unused you will be charge, but not if is ephemeral or the static IP is unused. You can use the Google Cloud Platform pricing calculator to get estimate your...
android-studio,version-control,gradle,google-cloud-platform
The problem was I did not commit the gradle build files, so when I checked out the project Android studio could not recognize it as a gradle built project. I just pushed the gradle files and checked out the proejct again and everyting worked.
google-compute-engine,google-cloud-platform
Once an instance is in a 'TERMINATED' state it can no longer be booted. You will need to recreate an instance with the same configuration, IP address and boot disk as you indicate. See this FAQ for more information about the terminated state: https://cloud.google.com/compute/docs/troubleshooting#terminate To retain your existing IP address...
json,google-bigquery,google-cloud-platform
The Web UI also accepts JSON line as noted in the helper icon, so you can have a JSON array of fields defined as, and you can paste this into the web UI. [ { "type": "STRING", "name": "a", "mode": "nullable" }, { "type": "STRING", "name": "b", "mode": "nullable" },...
php,wordpress,google-compute-engine,google-cloud-platform
This is working fine now. The problem is with the Path in the Health Check. I previously installed the wordpress on DB and configured the image to LoadBalancer. So the health check path with "/" passed. But now I haven't installed the wordpress on DB so the health check has...
permissions,delete,project,google-cloud-platform
I suggest you to contact the billing team at: https://support.google.com/cloud/contact/cloud_platform_billing They will help you to solve this issue. Regards, Paolo....
I followed the tutorial and could not replicate your issue. I initially got "Permission denied" but you can circumvent this by running: $ sudo su and then $ mkdir -p /root/$USER/files Why not use /home/$USER ? not sure why you want to create the folders under /root. As for your...
google-compute-engine,google-cloud-platform,jclouds
It is not directly supported in the portable jclouds ComputeService, but from the ComputeServiceContext you can get the GoogleComputeEngineApi and the InstanceApi, and use the start/stop methods in there. FYI, there is an ongoing patch to add support for the start/stop operations in the ComputeService: https://github.com/jclouds/jclouds-labs-google/pull/141...
You can always query information to the metadata server as explained in https://cloud.google.com/compute/docs/metadata#default Additionally if the account authenticated by “gcloud auth login” has the appropriate permissions you can use directly the gcloud command to find specific data. i.e. “gcloud compute instances list” will display all your instances including the zone...
google-app-engine,ubuntu-12.04,google-cloud-platform,gcloud
This looks like a file permissions error in creating the directory /home/nikhil/.config/gcloud/logs/2015.07.04. Can you check the existence and file permissions for all of the parent directories? ls -ld /home/nikhil/ ls -ld /home/nikhil/.config ls -ld /home/nikhil/.config/gcloud ls -ld /home/nikhil/.config/gcloud/logs ls -ld /home/nikhil/.config/gcloud/logs/2015.07.04 Then upload the output to this question. My hunch...
google-cloud-platform,google-cloud-datastore
It will be in the corresponding MutationResult in the response. Here's a Python snippet that expands on the one in the docs: req = datastore.CommitRequest() req.mode = datastore.CommitRequest.NON_TRANSACTIONAL employee = req.mutation.insert_auto_id.add() # Request insertion with automatic ID allocation path_element = employee.key.path_element.add() path_element.kind = 'Employee' # ... set properties ... resp...
google-bigquery,google-cloud-platform
Service accounts gets deleted when the project that contains it is deleted, so i am not sharing it across projects. So I created separate service accounts per big-query project for my use case....
java,google-app-engine,google-cloud-storage,google-cloud-endpoints,google-cloud-platform
No workaround to access Google Cloud Storage at localhost. You have to deploy your code at appengine and only after that you can access GCS services. This is secured service from google which can not be accesss at localhost.
cloud,google-cloud-storage,google-cloud-platform
Just to make sure we're on the same page regarding terminology: ingress: traffic entering or uploaded into Google Cloud Platform egress: traffic exiting or downloaded from Google Cloud Platform As you can see from the Google Cloud Platform network pricing page, ingress traffic is free, while egress traffic is charged...
python,google-app-engine,google-cloud-platform
You can't use the matched group (\1) as a value for the upload: part of a static-handler - it needs to know precisely which files to upload to the static servers.
docker,google-cloud-platform,google-container-engine,google-container-registry
The latest container vm image doesn't support the v1beta2 kubernetes API. You will need to update your manifest to use v1beta3 or v1 (with the corresponding yaml changes). The latest version of the container vm documentation shows a yaml example using the v1 API. ...
google-compute-engine,ansible,google-cloud-platform
Currently, the gce_lb module is only for creating/destroying the LB. It does not support adding/removing instances. The GCE modules in Ansible are built on top of the python libcloud library which does have support for add/remove. I think a similar approach taken by the EC2 modules would be a good...
google-cloud-platform,google-hadoop
There isn't official support for resizing a bdutil-deployed cluster just yet, but it's certainly something we've discussed before, and it's in fact fairly doable to put together some basic support for resizing. This may take a different form once merged into the master branch, but I've pushed a first draft...
python,osx,python-2.7,google-app-engine,google-cloud-platform
I have found different locations of standard modules, for example:- >>> import platform >>> platform.__file__ => '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.pyc' >>> import os >>> os.__file__ => somewhere inside my profile /Users/xxxxx/Library/Frameworks/Python.framework/... , So, I have solved this issue by following steps:- removed /Users/xxxxx/Library/Frameworks/Python.framework/. reinstalled python through brew to keep Apple python away. then,...
google-app-engine,google-cloud-platform
From the documentation: Google Cloud SDK contains tools and libraries that enable you to easily create and manage resources on Google Cloud Platform, including App Engine, Compute Engine, Cloud Storage, BigQuery, Cloud SQL, and Cloud DNS. Google Cloud SDK contains both the preview version of a new App Engine's command-line...
java,android,google-cloud-storage,assets,google-cloud-platform
After some struggle I have got my answer, Thanks a lot for your support. Thumbs up! File can be retrieved using using AssetManager and also we can get it as a raw resource Using AssetManager AssetManager am = getAssets(); InputStream inputStream = am.open("xxxxxxxxxxKey.p12"); File file = createFileFromInputStream(inputStream); As a raw...
android,google-app-engine,google-cloud-platform,dagger-2
One option (although I'm by no means sure it's the best) is just to self-inject your Cloud Endpoints class (through static field injection). Presumably you're initialising the object graph in a ServletContextListener so you could do so there, before your endpoint methods are called. Dagger 1.x supports staticInjections on the...
google-api,google-compute-engine,google-cloud-platform
The API requests solved by redeploying the whole machine, but the CPU usage still remains around 8%
html,google-app-engine,website,google-cloud-platform
Seems like the Google App Engine is exactly what you want. Using Java servlets and Javascript, using python, using php, or using Go, this can be achieved. And the App Engine gives you a bunch of solutions for storage (cloud storage and blobstore)....
mean-stack,google-cloud-platform
A better way to do it would have been to use the command forever start
google-cloud-platform,kubernetes,google-container-engine
Running privileged containers (including the NFS server in that example) isn't currently possible in Google Container Engine. We are looking at ways to solve this (adding a flag when creating your cluster to allow privileged containers; making privileged containers part of admission control; etc). For now, if you need to...
google-compute-engine,google-cloud-platform
This is working fine now. The problem is with the Path in the Health Check. I previously installed the wordpress on DB and configured the image to LoadBalancer. So the health check path with "/" passed. But now I haven't installed the wordpress on DB so the health check has...
google-compute-engine,google-cloud-platform
Just as on any other Ubuntu instance, once you've attached an unformatted or unsuitably-formatted drive... one good set of instructions is for example at https://help.ubuntu.com/community/InstallingANewHardDrive . To do it manually, run, as root (sudo bash for example): $ apt-get install ntfsprogs $ df -k # just to check nothing is...
load-balancing,google-compute-engine,google-cloud-platform
It is possible to serve both of them from the same HTTP load balancer (LB) by creating A backend (API) for the instance serving the API. A backend (WEB) for the instance serving the Website. An entry in the LB URL map matching the API requests with the API backend....
google-compute-engine,google-cloud-platform
You can use Google Carrier Interconnect as well as Direct Peering.
google-app-engine,google-cloud-storage,google-cloud-sql,google-cloud-platform,google-cloud-datastore
Images (or other big "opaque" goobs of data such as video) on Cloud Storage, and metadata about them in a more structured store, is the classic architecture pattern for all similar use cases. If you need some features of relational databases, such as JOINs, on your metadata, then Cloud SQL...
google-app-engine,google-compute-engine,task-queue,google-cloud-platform
GCE has a new feature called autoscaler that you can use to automatically scale a group of GCE instances, the documentation is here GCE Autoscaler. It should work well for this use case. There's also a REST API for pull queues where you can pull from outside of app engine...
google-bigquery,google-cloud-platform
I actually had a similar situation, and I opened a ticket with the wrong billing ID. As long as you have a project ID and you can prove you own the project, they can find the invoice and send it back to you :).
docker,google-cloud-platform,google-container-engine
Try replacing hostDir with hostPath as mentioned in v1beta3-conversion-tips-from-v1beta12. Try replacing volumes: - name: string source: # Either emptyDir for an empty directory # emptyDir: {} # Or hostDir for a pre-existing directory on the host hostDir: path: /home with volumes: - name: string hostPath: path: /home at the bottom...
high-availability,google-cloud-platform,google-cloud-bigtable
On replication: The answer you referenced is referring to replication of data across Bigtable Clusters, which is not supported at this time. (For example, a Bigtable Cluster in the United States replicating its writes to a second Cluster in Europe) This concept is separate from replication of data within a...
filter,google-cloud-platform,gcutil
Looks like an installation issue. Did you try reinstalling Google Cloud SDK?
cassandra,firewall,server,production,google-cloud-platform
Following Carlos Rojas's directions in THIS LINK, I could open the ports to access Cassandra from outside the network computer. Also, you can open ports in your firewall using this line : gcutil addfirewall cassandra-rule --allowed="tcp:9042,tcp:9160" --network="default" --description="Allow external Cassandra Thrift/CQL connections" from THIS LINK
google-app-engine,google-cloud-platform
This is currently expected behaviour of the appspot and custom domains front-end servers. Unfortunately, IP-of-instance is what you'll need for now, although I highly recommend you to star the relevant public issue tracker feature request thread, so that it gets higher priority and accelerates the appearance of a solution from...
google-bigquery,google-compute-engine,google-cloud-platform
Apparently the bq command which is located at /usr/bin/bq has the following script: #!/bin/sh exec /usr/lib/google-cloud-sdk/bin/bq ${@} which expands the asterisk. As a current workaround I'm calling /usr/lib/google-cloud-sdk/bin/bq directly....
node.js,google-cloud-storage,google-cloud-sql,google-cloud-platform,google-container-engine
The permissions are defined by the service accounts attached to your node VMs during cluster creation (service accounts can't be changed after a VM is instantiated, so this the only time you can pick the permissions). If you use the cloud console, click the "More" link on the create cluster...
google-app-engine,google-compute-engine,google-cloud-platform
Use a cron job on AppEngine and call the Compute Engine API to start your instance.
amazon-web-services,amazon-ec2,vps,google-compute-engine,google-cloud-platform
Diagnostic protocols to evaluate this scenario may be more complex than you want to deal with. My first thought is that this shared core machine type might have some limitations in consistency. Here are a couple of strategies: 1) Try backing into the smaller instance. Since you only pay for...
akka,google-cloud-platform,akka-remote-actor
Found the solution. It's based on bind-hostname config setting available in upcoming 2.4 version: build.sbt resolvers += "Typesafe Snapshots" at "http://repo.akka.io/snapshots/" libraryDependencies ++= Seq( "com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT", "com.typesafe.akka" %% "akka-remote" % "2.4-SNAPSHOT" ) application.conf akka { actor { provider = "akka.remote.RemoteActorRefProvider" } remote { enabled-transports = ["akka.remote.netty.tcp"] netty.tcp...
google-cloud-messaging,google-cloud-platform
With a single topic, if you want to deliver a push via notification payload on iOS, but via data payload on Android, you can't! For example, if you have a topic called "awesome_news" you should split this into two topics: "awesome_news_ios" and "awesome_news_android"...
google-compute-engine,google-cloud-platform
In GCE, An instance is a single virtual machine that you can customise (CPU, network, endpoint, disk, etc) and manage by you (shutdown, run, build with new image, etc) https://cloud.google.com/compute/docs/instances/ An instance is a virtual machine hosted on Google's infrastructure. Instances can run the Linux images provided by Google, or...
google-compute-engine,ansible,ssd,google-cloud-platform
As of right now, https://github.com/ansible/ansible-modules-core/blob/devel/cloud/google/gce_pd.py has no mention of SSD at all, so it seems like it's not supported. If this is something that you really need, consider submitting a feature request.
authorization,google-cloud-storage,google-cloud-platform
It turns out I'm using the wrong OAuth flow if I want to do this. Thanks to Euca for the inspiration to figure this out. At the time I asked the question, I was assuming there were multiple projects involved in the Google Developers Console: One project for me, the...
google-app-engine,google-compute-engine,google-cloud-platform
The answer depends on what protocol your Compute Engine instance accepts : If it accepts HTTP(S) requests, then you can use the URLFetch service to perform HTTP calls as usual. But your instance must be exposed on the internet (public IP address). If it does not accept HTTP(S) calls, like...
google-compute-engine,google-cloud-platform
You can query the metadata server programmatically for a variety of information, including the project id. For the project id: $ curl "http://metadata.google.internal/computeMetadata/v1/project/project-id" -H "Metadata-Flavor: Google" This will return your project id, eg: my-gcp-project Or if you need the numeric project id: $ curl "http://metadata.google.internal/computeMetadata/v1/project/numeric-project-id" -H "Metadata-Flavor: Google" This will...
java,tomcat,architecture,cloud,google-cloud-platform
There are three Approaches to Managing Multi-Tenant Data Uses a different database for each tenant. Each tenant has its own separate set of tables in a common database. All tenants share the same set of tables, and a Tenant ID associates each tenant with the rows that it owns. This...
java,android,json,google-app-engine,google-cloud-platform
No. What that means is that this method (whatever it is) is used to retrieve data from the server in response to a request from the client. Normally, when a client is just asking for something, it should use an HTTP GET. HTTP POST requests are intended for sending data...
google-bigquery,tableau,google-cloud-platform
I acknowledge that this is a hole in functionality of DATE_ADD. It can be fixed, but it will take some time until fix is rolled into production.
google-compute-engine,google-cloud-platform,att,gcloud
I traced this back to packet filters. When I deleted this rule #5 in my AT&T Uverse modem/router (Motorola NVG589), everything works ok. This was a default setting in the modem which caused all sorts of issues. ...
load-balancing,google-cloud-platform,gcloud
Not at the load balancer as of June 2015. As an alternative, you can configure your web servers to return 301 for all HTTP requests redirecting to the HTTPS version. For Apache (from https://wiki.apache.org/httpd/RedirectSSL): NameVirtualHost *:80 <VirtualHost *:80> ServerName www.example.com Redirect permanent / https://www.example.com/ </VirtualHost> <VirtualHost _default_:443> ServerName www.example.com DocumentRoot...
hadoop,hive,google-compute-engine,chmod,google-cloud-platform
For the time being, the GCS connector for Hadoop doesn't support fine-grained HDFS permissions, and thus the reported 700 is "fake"; in fact, permissions are controlled via ACLs, and if using the service account with read/write access, any linux user in the authenticated GCE VM is in fact able to...
google-app-engine,gcloud,google-cloud-platform
UPDATE: The fix for gcloud is now available in the latest version and this issue should be resolved. Previous Post: As a temporary workaround you can run: gcloud components restore There may be a bug in the latest gcloud update. I saw the same error after updating - but is...
google-compute-engine,google-cloud-platform
Per the metadata docs: You can easily detect if your applications or scripts are running within a Compute Engine instance by using the metadata server. When you make a request to the server, any response from the metadata server will contain the Metadata-Flavor: Google header. You can look for this...
google-compute-engine,google-cloud-platform
You can add a startup script to an already created VM by creating a new custom metadata field. Follow these steps: Get to your VM's configuration page: Navigate to https://console.developers.google.com Click your project. Go to Compute -> Compute Engine -> VM Instances. Click the name of your VM. Scroll down...
google-cloud-platform,google-cloud-dataflow
According to https://code.google.com/p/google-cloud-sdk/issues/detail?id=128 it seems that you no longer need to set this variable for datastore to work. Can you please try that and tell us if it doesn't work? (meanwhile I'll update the docs)...