Inputs
For example, we have a few services.
- Account service
- Product service
- Payment service
Each service is a separate Google Cloud Function.
Each service has its own HTTP API. For example, the account service has:
- https://REGION-FUNCTIONS_PROJECT_ID.cloudfunctions.net/account/sign-up
- https://REGION-FUNCTIONS_PROJECT_ID.cloudfunctions.net/account/sign-in
- https://REGION-FUNCTIONS_PROJECT_ID.cloudfunctions.net/account/reset-password
- etc
Each service has its own swagger documentation endpoint /docs.
Question
How can I make my Cloud Functions private (without public access) and place them behind some API Gateway? I need to have ability to proxy my cloud functions (like reverse proxy).