To be able to access your internal only function, the requests need to come 
from a VPC network in the same project. App Engine Flex and Standard 
connect differently to VPC networks: 

For App Engine flex you just need to set the network settings in the 
app.yaml file.

On the other hand, standard needs to use Serverless VPC Access [1]. For 
this, you need to create a Serverless VPC Access connector and then 
configure App Engine to use it to connect to the VPC network. 

[1]: https://cloud.google.com/vpc/docs/configure-serverless-vpc-access 


On Tuesday, June 15, 2021 at 9:00:08 AM UTC+2 anat...@newventurevisions.com 
wrote:

> I would like to confirm that App Engine Java *Standard *can not connect 
> to Google Cloud Function if function is configured to accept only local 
> traffic
> --ingress-settings=internal-only
>
> Could someone confirm please or share the link on how to connect?
> Java App and Function are in the same Google Project.
>
> Java Flex can connect but Flex runtime is limited to Java 8, I need 11.
>
> What are my options if I need to connect to google cloud function from App 
> Engine Java 11?
>
> Thank you
> A
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2ac0491f-b540-4dd0-801d-b58c31ec8f03n%40googlegroups.com.
  • [google-appe... Anatoli Trifonov
    • [google... 'goya' via Google App Engine
      • [go... Anatoli Trifonov
        • ... Anatoli Trifonov
          • ... 'Jordi (Google Cloud Platform Support)' via Google App Engine

Reply via email to