Where are the Proto services defined for gRPC Alexa? - alexa

The proto files in the Alexa Proto repository contain only messages and no service definitions.
Where are the Proto services defined?

Related

How to configure app engine static outbound IP

I have a server hosted on app engine. I need to call an API from it with a static outbound IP. I followed step-by-step the following guide https://cloud.google.com/appengine/docs/standard/python3/outbound-ip-addresses#static-ip
Now, I do not quite get how to configure the cloud NAT in order to call the external API through my static outbound IP (external IP address). I guess, I should call a local VPC address from my server and configure somewhere the API IP it should redirect to.
Any help appreciated.
Thanks a lot,
Paul
If you configured everything per the doc you linked in your question, then you don't need to do anything special from within your AppEngine application. Setting the Serverless VPC Access egress_setting to all-traffic means that anytime your AppEngine app tries to call an external address, it will be routed this way and will use the static IP configured as part of the setup.

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

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 service names. The docs says that it should work but does not show how.
Thanks for the help!
App engine Flex environment is built on the Google Compute Engine and consequently, it supports the Virtual Private Cloud networking system.
With the VPC networks, you can configure firewall rules that would use Instance Tags to determine the target or source component in a firewall rule. Hence, you simply have to configure the app.yaml files of the target service/version to use the appropriate instance tags.

Name of the Google compute engine

I am new to Google Cloud Platform and trying to understand it. I have launched a compute engine and have installed a web application. I can access that application using External IP address of the engine or with private IP address from within the VPC.
How can I refer to them with any kind of name?
Just like AWS has this concept of having a name for each instance as ec2-54-54-54-54.eu-west-1.compute.amazonaws.com. So, I can use this name in my browser and with some DNS, this name will be resolved to actual IP address.
Possible duplicate of Where can i find the name servers of Google Compute Engine.
But the answer is that Google Cloud Platform does not provide default public DNS for external IP addresses.
You will need to use Cloud DNS or another service or leverage an external service like xip-io which will map any IP to a DNS name.

Forwarding HTTP traffic to a VM instance

So I've deployed a web server as a VM instance on a google app engine. It's running and I can get to it through the ephemeral ip address. Now I want to point a domain name I have to that VM instance and I am hitting the wall here.
I added a custom domain, but the DNS entry it's injecting is with externally visible IP, which is different from the ephemeral IP of the VM.
My question is, how can I forward all the requests to my web-server running in a VM instance?
In order to send all requests to your custom domain to your web server running in any Google Compute Engine VM instance (including Managed VMs), you need to add some records to the name servers (NS, or DNS) where your domain is being served out of.
You require a DNS A-record, which has two parts: a prefix (sub-domain), and an IP address.
In case you wish to forward your whole domain (including all sub domains, i.e. *.bar.com) to your VM, you need to specify the domain itself (depending on your DNS provider, usually referred to as #, or blank field) as the prefix / sub-domain, followed by your VM's external IP address (ephemeral or static).
In case you wish to only direct a sub-domain of yours (i.e. foo.bar.com) to the web-hosting instance, the prefix / sub-domain part of the A record has to contain said sub-domain.

Change Network Settings in C

How change I change the network settings (IP address, DNS Server, Gateway, DHCP server) from C not C++, also preferably with windows api calls and not WMI.
Thanks!
Check out the IP Helper API.
The Internet Protocol Helper (IP
Helper) API enables the retrieval and
modification of network configuration
settings for the local computer.

Resources