app-engine-flexible

What are default VPC firewall rules for App Engine Flex

[亡魂溺海] 提交于 2019-12-03 17:08:24
I have a few services deployed in one App Engine flexible environment project. The service instances are running in the same VPC network (not default) which is specified in their app.yaml files and assigned IP addresses from the same subnetwork. By default both services are accessible from outside and I want to configure firewall rules to leave only the default service allowed for incoming traffic. So as the first step I'm configuring a rule to deny all ingress for all instances in this VPC, with the idea of creating another rule with a higher priority to allow traffic to only one instance

Error deploying GAE Flex with gcloud app deploy

你说的曾经没有我的故事 提交于 2019-12-02 21:06:22
All of a sudden having issues with deploying to GCP using gcloud app deploy . Created a brand new project and tried to upload a sample hello-world app from GCP, but still get the following error: ERROR: (gcloud.app.deploy) Error Response: [3] Docker image us.gcr.io/gcp-test-8710371/appengine/default.20181106t173450:latest was either not found, or is not in Docker V2 format. Please visit https://cloud.google.com/container-registry/docs/ui app.yaml: runtime: nodejs env: flex manual_scaling: instances: 1 resources: cpu: 1 memory_gb: 0.5 disk_size_gb: 10 SDK: Google Cloud SDK 224.0.0 I've checked

Sharing code between flexible environment modules in a GAE project

拟墨画扇 提交于 2019-12-02 12:42:15
I'm structuring my GAE (flex) project as a number of services: - my-project/ - services/ - service_1/ - service_1.yaml - service_2/ - service_2.yaml I would now like to share some code between the services. Ideally, I'd like to have a my-project/lib/ and symlink this to the services: my-project/services/service_1/lib -> ../../lib my-project/services/service_2/lib -> ../../lib But gcloud app deploy (which I'm running from a service directory, where the yaml file is) ignores the symlink (I checked the tgz file before it got uploaded got GAE for deployment and lib/ isn't there). So, is there any

How to download application from Google Cloud Platform Java Flexible Environment

被刻印的时光 ゝ 提交于 2019-12-02 12:13:01
问题 I am trying to download Application from GCP using this link: Downloading Your Application. But it looks like this works only for the Standard environment cos code executes without errors but nothing is actually downloaded after. Output is: AM Host: appengine.google.com AM Fetching file list... AM Fetching files... What will be the solution to achieve the same result in Flexible environment? 回答1: When you deploy an App Engine Flexible application, the source code is uploaded to Cloud Storage

How to use GAE's dispatch.yaml with multiple development environments?

烈酒焚心 提交于 2019-12-01 09:16:31
I am trying to understand the dispatch.yaml file for Google App Engine. We have a vanilla web app with a frontend and a backend. We also have a development and a production environment. Both environments have two services on GAE - frontend and default , which is the backend. We have a vanilla web app with a frontend and a backend. We also have a development and a production environment. We have two services on GAE - frontend and default, which is the backend. We have two projects on GAE - staging , which is our dev environment, and production , which is our production environment. The staging

How to use GAE's dispatch.yaml with multiple development environments?

限于喜欢 提交于 2019-12-01 05:46:07
问题 I am trying to understand the dispatch.yaml file for Google App Engine. We have a vanilla web app with a frontend and a backend. We also have a development and a production environment. Both environments have two services on GAE - frontend and default , which is the backend. We have a vanilla web app with a frontend and a backend. We also have a development and a production environment. We have two services on GAE - frontend and default, which is the backend. We have two projects on GAE -

Google App Engine Firewall: Restrict access to all services but the default one

馋奶兔 提交于 2019-11-30 18:38:57
I have a GAE project (flexible) consisting of 1 default and 2 subservices: foo.appspot.com service1.foo.appspot.com service2.foo.appspot.com Now I want to use foo.appspot.com as API proxy & auth gateway to the internal services service1 and service2 . The proxy itself I wrote and it is working fine. I am struggling with adjusting the GAE Firewall to forbid incoming world traffic to service1 and service2 because I would like force an API user to send requests to foo.appspot.com . Traffic to the default service foo should be allowed. It seems I can just enter IPs in the Firewall settings but not

Google App Engine Flexible - environment variables

坚强是说给别人听的谎言 提交于 2019-11-30 18:30:53
问题 if I have my circle-ci deplying to google with e.g. 'gcloud app deploy app.yaml' is there a simple way I can pass a dev / prod variable and have it replaced in my app.yml file below ? Sure, I could have multiple app.dev.yml, app.dev.yml files etc but theres a lot of duplication involved unless I can just override some by using some sort of base app.yml runtime: nodejs env: flex service: email env_variables: PUBSUB_TOPIC: dev-email-integration-email PUBSUB_VERIFICATION_TOKEN: <your

Google App Engine Standard or Flexible environment?

≯℡__Kan透↙ 提交于 2019-11-30 15:04:44
问题 I am stuck in deciding between choosing Google App Engine Standard Vs. Flexible environment for a real world production. I want to use Java definitely. Need to use Firebase(latest version) for Authentication and Push notification; I'm not sure whether new Firebase is compatible with standard or flexible. per the caution note in the following link, my impression is that recent Firebase is compatible is with Flexible Environment only. https://cloud.google.com/solutions/mobile/firebase-app

Google App Engine Standard or Flexible environment?

故事扮演 提交于 2019-11-30 12:53:49
I am stuck in deciding between choosing Google App Engine Standard Vs. Flexible environment for a real world production. I want to use Java definitely. Need to use Firebase(latest version) for Authentication and Push notification; I'm not sure whether new Firebase is compatible with standard or flexible. per the caution note in the following link, my impression is that recent Firebase is compatible is with Flexible Environment only. https://cloud.google.com/solutions/mobile/firebase-app-engine-android-studio All things being equal any standard environment app can also run in a flexible